Hi.
LFS Version : 10 SysVInit
Hard disk : Samsung Portable SSD T5
I try to boot on my LFS since 2 days, but I got a problem with the root filesystem mount
When I boot, It was stopping, saying the disk supposed to contain the root filesystem does not exist. I had to do a Ctrl-C to get a prompt. So I made another compilation of the kernel, putting
Code:
Device Drivers
[*] USB Support
____<*> xHCI*HCD (USB 3.0) support
____<*> USB Mass Storage support
____<*> USB Type-C Support
NVME Support
____<*> NVM Express block device
____[*] NVMe multipath support
that were before compiled as module
I precise that I tried With USB Type C and USB 2.0 on the mainboard, the result is the same
By doing this the boot doesn't stopped, I got a prompt, but It seem the error message appears quickly, but I am not sure. But when I do
Code:
sh5.0# mount
none / roofs
* For /proc, /sysfs /dev they are mounted
* /usr/bin is a link to /bin
* no /var
Here is my /boot/grub/grub.cfg
Code:
set default=0
set timeout=5
insmod ext2
set root=(hd0,2)
menuentry 'GNU/Linux Gwen Erminig', Linux 5.8.3-gwen-erminig-9 {
echo 'Chargement : Linux 5.8.3-gwen-erminig-9 ...'
linux /vmlinuz-5.8.3-gwen-erminig-9 root=UUID=09005fe5-0f72-4967-8bf9-ec5e13d6ef83 ro
echo 'Chargement : initial ramdisk ...'
initrd /initrd.img-5.8.3-gwen-erminig-9
}
and my /etc/fstab
Code:
/dev/sda4 / ext4 defaults 1 1
/dev/sda2 /boot ext2 defaults 1 1
proc /proc proc nosuid,noexec,nodev 0 0
sysfs /sys sysfs nosuid,noexec,nodev 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
I didn't put UUID in fstab, but when I try a mount /dev/sda4 in a test folder, there is no problems.
Hope you can help me.
Thanks