Hello. Recently I’m following the Linux From Scratch book to learn something. I followed its suggestion to modify /etc/fstab
to automatically mount my newly created partition on my usb device every time. My modification in /etc/fstab
is as follows:
# SET UP LFS MOUNT POINT
/dev/sdc1 /mnt/distro defaults 1 1
/dev/sdc3 /mnt/distro/boot defaults 1 1
/dev/sdc4 /mnt/distro/fat defaults 1 1
But after rebooting, my Fedora just won’t boot and enters Emergency Mode while it can’t since I haven’t set up a root password. Therefore I followed the Fedora docs (How to Reset the root Password :: Fedora Docs , which saying I need to create a root password manually since it’s not set on Fedora 28 or newer), chrooted under a Ubuntu LiveCD, set up a password for root using passwd root
and commented /etc/fstab to disable my modifications:
# SET UP LFS MOUNT POINT
# /dev/sdc1 /mnt/distro defaults 1 1
# /dev/sdc3 /mnt/distro/boot defaults 1 1
# /dev/sdc4 /mnt/distro/fat defaults 1 1
But after all this, my Fedora freezes after displaying the boot logo every time when I try to boot.
I don’t know why since everything leaves “unchanged” except for the root password. Is there anyway to fix this? Thanks in advance.