Encountered a problem and dropping me to a shell when boot LFS 7.7
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Encountered a problem and dropping me to a shell when boot LFS 7.7
Hello everybody! After a couple of weeks of work I finally managed to (almost) boot my Linux from scratch distribution!
I built it on a USB drive. But when it's booting it arrives at:
Code:
The device /dev/sdb1, which is supposed to contain the root file system, does not exist.
Please fix this problem and exit this shell.
Encountered a problem!
Dropping you to a shell.
And then, after few lines it gives me the shell
Code:
sh-4.3#
in grub2 my config is:
Code:
set root=(hd1,1)
linux /boot/vmlinuz-3.19-lfs-7.7 root=/dev/sdb1 ro
initrd /boot/initrd.img-3.19.0
Now I'll manage to do the udev rule.
The fact also is, that I didn't configurate grub on the usb partition, I'm using grub installed on the hard disk, so the usb is naturally (hd1,1). The problem is that I don't know from where should I take info about USB, from host system or from chrooted LFS environment?
For booting a system on a USB drive, try the rootdelay kernel parameter to allow for the slower response time of the drive. Typically, people say rootdelay=10. I usually get by with rootdelay=5. Another thing to try is to build into the kernel the USB storage stuff such as Host-side USB, USB Mass Storage, EHCI HCD, possibly OHCI HCD or UHCI HCD.
For booting a system on a USB drive, try the rootdelay kernel parameter to allow for the slower response time of the drive. Typically, people say rootdelay=10. I usually get by with rootdelay=5. Another thing to try is to build into the kernel the USB storage stuff such as Host-side USB, USB Mass Storage, EHCI HCD, possibly OHCI HCD or UHCI HCD.
Thank you so much, I'm trying to recompile the kernel now with the right USB stuff you said, EHCI and OHCI were set to module..
just rootdelay=10 didn't work, I'll let you know as soon as kernel will compile
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.