0

edit : Sorry if I wasn't clear, I will try my best to be understable

I'm STUCK in emergency mod and I did something stupid to solve my issue I edit the wrong UUID via

edit/etc/fstab

: I erased the 1st UUID ( 76aa9012-308b-44af-aebe-df5483c08634)

by the one from the swap file (283A159A3A15665A)

I did that because I saw an other post and I misunderstood the solution.

more details here

Then I did as you guys told me in the comments, I went to recovery mod, I have enabled the " write" option ( see here -> https://imgur.com/PEePgKj) Then I went to boot, I wrote

nano /etc/fstab 

and then this screen appeared ( -> see here https://imgur.com/YFciJUJ )

so naturally I tried to erase my previous mistake by changing the UUID that I previously changed by the former one ( -> see here https://imgur.com/VXxMJAS) I also tried to add a

#

before the swap UUID as I saw on an other post that it could solve my issue.

However, despite the fact that I enabled the write option, I can't save any changes ( -> see here https://imgur.com/Kizhu0G)

Moreover I have to write very quicly on this screen because if I take too much time, all of my changes are erased anyway and I go back to the recovery main page without doing anything.

My questions are : How can I save my changes and is it the best way to finnaly boot Ubuntu ?

1 Answers1

1

Julien, thanks for making the question a bit clearer. So I understand you removed the UUID of your root partition in /etc/fstab and are having trouble adding it back in revcovery mode.

There seems to be a problem with your recovery mode as you don't seem to have write acces and for some reason are being kicked out after a while - both of these things shouldn't happen.

Therefore I'd advise you to boot off a Ubuntu USB drive. Mount the root partition of your install using Gnome Disks. (Super and typing disks should pull up the right app.) In Gnome Disks you can also find out the UUID of the partition. Then edit fstab accordingly.

Note that the fstab file you need to edit won't be at /etc/fstab in the live Ubuntu session. Instead you'll find it on the partion you installed Ubuntu to, so somewhere at /media/ubuntu/<UUID of your partition>/etc/fstab.

Good luck!

Béné
  • 1,026