r/linuxfromscratch • u/Super-Newspaper4236 • Oct 09 '25
Kernel panic while installing LFS on usb stick
Partitions:
/boot/efi -> sda1 /boot -> sda2 / -> sda3
I have mentioned set root=sda2 and /linuz ...
4
Upvotes
4
u/Dou2bleDragon Nov 03 '25
Maybe a bit of a late reply but i managed to fix this issue by adding rootwait to my kernel args in the grub.cfg
1
u/Patient_Big_9024 Oct 09 '25
/etc/fstab?
1
u/Patient_Big_9024 Oct 09 '25
You are using the paths for your uuids
1
u/zanyfker Oct 10 '25
its unable to find the root. maybe edit your grub. use uuid for root. instead of names like sda,. you can see the uuid of your device using 'lsblk -o uuid,name' command
1
u/Nyquiilla Oct 10 '25
Normally it will list the partitions it can see if it’s unable to find the one it’s been directed to, but it’s seems that it can’t see any of them.
If editing grub doesn’t work, it’s possible you’re missing a storage driver that needs to be enabled in the kernel config.
On the host machine run ‘lspci -k’ and ensure that the drivers mentioned are enabled for the LFS system.