Hello,
Using your host's kernel config file is usually a bad idea. Most
distro
kernels are set to compile almost everything as a module, so as to be
able to cope with anything an unknown system can throw at them while
still keeping the loaded kernel small. An initrd (a kind of ramdisk)
is
used initially so that appropriate filesystem driver modules can be
loaded at boot.
LFS doesn't use initrds, so when you build your kernel, you must build
the root filesystem driver (in this case ext4) right into the core of
the
kernel. Did you do that?
Yes, I am fairly sure I built ext4 into the system. In menuconfig,
before I made, there was a <*> next to the ext4 option. From what I
gathered, that means it should be built in (there would be a <m> if it
were a module).
Just for checking, try using this kernel:
http://anduin.linuxfromscratch.org/~bdubbs/files/vmlinuz-4.11.0-lfs-20170507-nvidia
You will not have the /lib/modules support and it assumes a nvidia
video
card, but it should still get you to a login prompt. If that works
we can
go from there.
I just copied this file into my boot directory, and change my grub.cfg
file so that it referred to it instead of the 4.9 kernel. The grub menu
came up, and then the boot process froze with "Booting GNU/Linux, Linux
4.11..." on the screen.
Any ideas where to go from here? As of now are we still sure it is a
problem with the kernel and not grub in some way?
Cheers,
John D. Hefele
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style