Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
i borked fstab, changed a label, now wont boot
i borked fstab, changed a label, now wont boot
using debian 9.3, unfortunately, I was screwing around usb drives on kde partitioner. When I rebooted I am stuck in a login prompt.
Unfortunately I had a very nice nextcloud setup….
and I think that it, albeit beyond my technical understanding, is just probably a few commands to undo my bad….
note generally i set it and forget it.... with the occasional hardware of this type of problem;
My first thought was that I borked /etc/fstab.
When I go to nano etc/fstab it is empty and says that it is read only:
I have 3 drives;
an ssd driva sda
a 3TB drive for swap and other os items (sdb) I let it autoconfigure what was suggested on initial installation of debian.
and a 3TB drive for backups (sdc)
so as root if I do sudo mount -o remount, rw /dev/sda1
then I go back and recheck fstab I see an error “ [Error reading lock file ./.fstab.swp: not enough data read]
image is posted here of the drives:
lsblk -i http://postimg.org/image/60desuf4b/3f644ee0/
any suggestions would be VERY greatly appreciated.
Thanks for your time
Unfortunately I had a very nice nextcloud setup….
and I think that it, albeit beyond my technical understanding, is just probably a few commands to undo my bad….
note generally i set it and forget it.... with the occasional hardware of this type of problem;
My first thought was that I borked /etc/fstab.
When I go to nano etc/fstab it is empty and says that it is read only:
I have 3 drives;
an ssd driva sda
a 3TB drive for swap and other os items (sdb) I let it autoconfigure what was suggested on initial installation of debian.
and a 3TB drive for backups (sdc)
so as root if I do sudo mount -o remount, rw /dev/sda1
then I go back and recheck fstab I see an error “ [Error reading lock file ./.fstab.swp: not enough data read]
image is posted here of the drives:
lsblk -i http://postimg.org/image/60desuf4b/3f644ee0/
any suggestions would be VERY greatly appreciated.
Thanks for your time
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: i borked fstab, changed a label, now wont boot
I don't know what this means, please explain further and include as much detail as you can.qu1nn wrote:I had a very nice nextcloud setup….
From your screenshot, it looks as if your system has booted just fine, what exactly were you expecting to happen?
Given that your are booted and logged in, an fstab problem seems unlikely, no?
Clearly I am missing something so please provide more information about exactly what has gone wrong.
deadbang
Re: i borked fstab, changed a label, now wont boot
the system used to automagically go into debian KDE.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: i borked fstab, changed a label, now wont boot
Please post the output of
Does this bring up your desktop
If not, does this do the trick:
Post any error messages in full, thanks!
Code: Select all
systemctl get-default
Code: Select all
# systemctl isolate graphical.target
Code: Select all
startx
deadbang
Re: i borked fstab, changed a label, now wont boot
thanks for responding.
all three commands you suggested are posted here:
see https://postimg.org/image/sjzb23izf/7c6cf282/
all three commands you suggested are posted here:
see https://postimg.org/image/sjzb23izf/7c6cf282/
Re: i borked fstab, changed a label, now wont boot
something else is funky as well;
if I want to take a look at the backup /etc/fstab.bak I get the following:
"-bash: fork: Cannot allocate memory"
if I want to take a look at the backup /etc/fstab.bak I get the following:
"-bash: fork: Cannot allocate memory"
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: i borked fstab, changed a label, now wont boot
I did not tell you to run `startx` as root, please don't do that.
Log out then log back in again as your normal user and run the `startx` command again but without root privileges.
Please also post the contents of /var/log/Xorg.0.log after the inevitable failure.
I'm not going to click on any more picture links so you might want to install https://packages.debian.org/stretch/pastebinit so we can continue in a more civilised manner.
Log out then log back in again as your normal user and run the `startx` command again but without root privileges.
Please also post the contents of /var/log/Xorg.0.log after the inevitable failure.
I'm not going to click on any more picture links so you might want to install https://packages.debian.org/stretch/pastebinit so we can continue in a more civilised manner.
deadbang
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: i borked fstab, changed a label, now wont boot
More detail on this would prove helpful.qu1nn wrote:I was screwing around usb drives on kde partitioner.
AdrianTM wrote:There's no hacker in my grandma...
Re: i borked fstab, changed a label, now wont boot
I changes a usb drive mount point from empty to something else; sorry that was several days ago and am not 100% sure but it changed to /home/jason/mcfiles ??? rebooted and then login prompt.
hey head on a stick, I appreciate your assistance in helping me fix my screw up
but using another computer so I cannot install that proprietary app you pointed out, nor will I be spending all day typing it out for you.
so much for civilized.
hey head on a stick, I appreciate your assistance in helping me fix my screw up
but using another computer so I cannot install that proprietary app you pointed out, nor will I be spending all day typing it out for you.
so much for civilized.
Re: i borked fstab, changed a label, now wont boot
as a user startx scrolls by a bunch of stuff, looks like commands: similar to what I posted in last picture image.
when I try to go /var/log it says : no such file or directory.... latery systemd-journal[301] failed to create new runtime journal: no space left on device.. ...
keeps repeating
when I try to go /var/log it says : no such file or directory.... latery systemd-journal[301] failed to create new runtime journal: no space left on device.. ...
keeps repeating
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: i borked fstab, changed a label, now wont boot
That might be a clue, no?
Check output of 'df -h'.
Also 'mount'.
Check output of 'df -h'.
Also 'mount'.
AdrianTM wrote:There's no hacker in my grandma...
Re: i borked fstab, changed a label, now wont boot
somethings funky with sda. shows 100% use, I swear I wasnt close to being 'full' (like 75GB free only a couple of days ago - I usually monitor with a desktop widget.
how do I delete temp files from sda1 from command line?
also see
https://postimg.org/image/jvgr8682j/82af75cc/
how do I delete temp files from sda1 from command line?
also see
https://postimg.org/image/jvgr8682j/82af75cc/
Re: i borked fstab, changed a label, now wont boot
somehow something that I did in kde partition editor caused my primary drive sda to fill up with data from one of my backup drives
Steps I used to fix:
1) had to log in as root and do sudo mount -o remount, rw /dev/sda1 (as drive was read only for some reason)
2) ensured that the backup drive was unmounted sudo umount /dev/sdc
3) deleted files from SDA rm -r NAME_MAPPED_DRIVE (the mistake that sucked disk space)
4) as root: cp fstab.bak fstab (overwrote fstab with backup)
5)edited out mistake line in fstab
6) rebooted
Thanks to those willing to help
qu1nn
Steps I used to fix:
1) had to log in as root and do sudo mount -o remount, rw /dev/sda1 (as drive was read only for some reason)
2) ensured that the backup drive was unmounted sudo umount /dev/sdc
3) deleted files from SDA rm -r NAME_MAPPED_DRIVE (the mistake that sucked disk space)
4) as root: cp fstab.bak fstab (overwrote fstab with backup)
5)edited out mistake line in fstab
6) rebooted
Thanks to those willing to help
qu1nn
Re: i borked fstab, changed a label, now wont boot
H_o_a_S is one of our most knowledgable and prolific posters, has helped lots and lots of people here.qu1nn wrote:hey head on a stick, I appreciate your assistance in helping me fix my screw up
but using another computer so I cannot install that proprietary app you pointed out, nor will I be spending all day typing it out for you.
Wasn't asking you to type it out for him, was asking you to post for *you* so you could get the best help with your issue.
I going to write this, realising that you probably won't like it, please don't react, just consider it. It might help you in your future posts.
Your "attitude" is likely to make people not want to help you. And you will want as many as possible to be willing to help you, we have expectations for information when it is asked for.
I for one, don't like to be asked to click on pictures, I have a low bandwidth cap on my Internet connection and images are usually large files. In addition there can be security issues with images.
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: i borked fstab, changed a label, now wont boot
With out the details and info, we can't help. Nor will I spend all day trying get the info , or do searches for you. It is your problem, if you can not at least take the time to type out all the details, nobody can help you.by qu1nn » nor will I be spending all day typing it out for you.
On Debian how do I delete temp files from sda1 from command line?
Hint: the 'rm' command can be used to delete files.
I am using a text browser, so can not see the images.
dilberts_left_nut wrote:More detail on this would prove helpful.qu1nn wrote:I was screwing around usb drives on kde partitioner.
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?