I was trying to set some mount for SFTP, in the process.

I think I messed up the fstab accidentally.

Now on reboot, it boots into recovery, and using

mount -o remount,rw /

can let me boot into the desktop.

I undo the edits for my mounts but unfortunately, I don't have backup of fstab tried different fstab

e.g.: change to UUID, different directories etc., still no clue

What could be the problem? pls help...

My fstab:

LABEL=system-boot /boot vfat defaults 0 1
LABEL=ssd /media/ubuntu/ssd auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

Screenshot running fsck on reboot:

enter image description here


/dev/mmcblk0p2 / ext4 defaults,noatime 0 1

adding something like this solved the issue

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.