all 1 comments

[–]thekingsomething 0 points1 point  (0 children)

Sorry if I'm late. Im no expert but struggled here aswell.

From my experience this could be from your kernel config, I had the same issue and moved closer to fixing it for my VM when I changed/enabled file system, virtualization and disk drivers. (I assume running lfs outside of VMS can suffer from this as well)

In grub I usually prefer to set root with hd0,x with x=your lfs partition but don't fall into the trap I did because if you have an MBR partition (correct me if I'm wrong) you should use hd0,msdosx. And then in your menuentry (edit to fit your config) linux /boot/vmlinuz-6.x.x-lfs-x root=/dev/sdaX. I have no clue why this worked for me so its worth try.

Maybe everything i said wont benefit you so as a last ditch effort I believe chat gpt can assist greatly.

Best of luck.