I was trying to resolve a "slow boot" issue on my ubuntu-Windows-dual boot machine.
Slow boot - "a start job is running for dev-disk-by..."
I have edited the fstab
file but accidentally commented out the efi-partition-uuid in it as well.
Now I want to edit the file from a live-version, but even as Root I don't get access to the file. I made a backup of the file which I just need to replace but how do I get access to /etc/ on this install drive?
sudo mount
thensudo cp -pv
etc from live.. but did you get errors for yourmount
? – guiverc Oct 06 '19 at 06:57open terminal here
and typed the following:su -
sudo -H gedit /etc/fstab
. All I get is an error. So in my particular case I'd have to dosudo mount /dev/nvme0n1p7
? – Phil Oct 06 '19 at 07:00etc/fstab
not/etc/fstab
(which will always refer to the fstab file of the running system) – steeldriver Oct 06 '19 at 12:00