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

 

 

 

[SOLVED] edited mount options, can no longer log in

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
johnbr8
Posts: 17
Joined: 2018-10-07 06:04

[SOLVED] edited mount options, can no longer log in

#1 Post by johnbr8 »

I created a spare partition for a backup and then used the Gnome Disks tool to edit the mount options since I didn't want this partition to auto mount. Unfortunately I must have done something wrong because when I boot up I get to the login screen and no further. Is this recoverable? (Debian Stretch).Thanks.
Last edited by johnbr8 on 2019-03-23 06:11, edited 1 time in total.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: edited mount options, can no longer log in

#2 Post by dilberts_left_nut »

Yes.
AdrianTM wrote:There's no hacker in my grandma...

johnbr8
Posts: 17
Joined: 2018-10-07 06:04

Re: edited mount options, can no longer log in

#3 Post by johnbr8 »

Great. I was hoping for some hints too!

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: edited mount options, can no longer log in

#4 Post by dilberts_left_nut »

Oh, sorry - since you didn't post any details, I assumed you didn't want any in return, so just answered your question.

What does "and no further" mean?
AdrianTM wrote:There's no hacker in my grandma...

johnbr8
Posts: 17
Joined: 2018-10-07 06:04

Re: edited mount options, can no longer log in

#5 Post by johnbr8 »

I have used systemrescuedc to check /etc/fstab. It is blank.

johnbr8
Posts: 17
Joined: 2018-10-07 06:04

Re: edited mount options, can no longer log in

#6 Post by johnbr8 »

OK, I think the quickest option is a reinstall. Thanks anyway for your help.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [SOLVED] edited mount options, can no longer log in

#7 Post by Head_on_a_Stick »

johnbr8 wrote:used the Gnome Disks tool to edit the mount options
^ Don't do this.

If you had edited /etc/fstab directly then at least you would have known how to revert the changes and fix your system without needing a working graphical desktop.
deadbang

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED] edited mount options, can no longer log in

#8 Post by GarryRicketson »

Also, the way I interpret this:
Post by johnbr8 » 2019-03-22 20:13
I created a spare partition for a backup and then used the Gnome Disks tool to edit the mount options since I didn't want this partition to auto mount.
If the "spare partition " is on the same drive, it is self defeating, the drive could fail, and then no backup is available, a back up should be on a completly separate device/drive, not just a extra partition on the same drive. On a separate device, there is no worry about "auto mount " or no, it does not mount as long as the storage device is not attached, but when you do need the backup, it is available, all you need to do is connect the device, once you get the drive working again, and then restore with the backup.
used the Gnome Disks tool to edit the mount options since I didn't want this partition to auto mount.
You should have made a copy of the original mount options, and stored then on a separate device, Then you could have used that to restore the original options.
by johnbr8 » 2019-03-22 23:58
I have used systemrescuedc to check /etc/fstab. It is blank.
Just think, if you had just copied the /etc/fstab to a usb device, before you modified it, you would have had the default file, and could have copied it back, that is what backups are all about.

johnbr8
Posts: 17
Joined: 2018-10-07 06:04

Re: [SOLVED] edited mount options, can no longer log in

#9 Post by johnbr8 »

HeadonaStick and Garry,

Points taken, lesson learnt. Gary the backup on the same drive was more of a convenience exercise so that if I need to reinstall Linux I could easily copy over all my music files etc. I completely agree that a backup to a separate device is the way to go. I guess the temptation of a easy simple looking tool got the better of me. Cheers.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [SOLVED] edited mount options, can no longer log in

#10 Post by Head_on_a_Stick »

The gold standard is the 3-2-1 backup:
  • Three copies of the data.
  • Two local copies on two different media.
  • One off-site backup.
deadbang

Post Reply