LFS appears to not boot
5 Attachment(s)
Hi everyone,
I just finished the latest stable LFS book and my LFS doesn't seem to be booting. I say "seem" because the keyboard appears to be responding (at least the caps lock light turns on or off when I press it) and my boot and dmesg logs seem to say that it's booting (unless I'm wrong about that). After the grub menu, it would say Code:
Loading Linux 5.19.1 ... Here are the packages that are installed Code:
acl 2.3.1-1 Let me know if there is anything that I can add or clarify. |
Try booting to a Live CD/USB of something and taking a look at the log files, particularly /var/log/boot.log. That may give you some hint as to what is going wrong.
|
@frankbell, the boot.log from the previous post is the /var/log/boot.log, sorry if I didn't make that clear. Or do you mean the boot.log from the distro on the Live CD/USB?
My boot.log it is always ending with Code:
Starting kernel log daemon... OK Code:
Inspecting /boot/System.map-5.19.1 Could there be something wrong with my System.map file? |
I found that someone else had System.map problem years ago:
https://unix.stackexchange.com/quest...-find-map-file But they still had kernel boot problems. |
Kernel now boots!!!!
2 Attachment(s)
Finally got it to boot and now I'm at the login prompt!
I'm not exactly sure what steps actually solved it but I spent an hour or so going through the lsmod and lspci from my host system, looking for what modules were loaded. So I configured my kernel with those modules, rebuilt the kernel and reinstalled the modules. Then I installed some Linux firmware (like what Arch Linux does) and created an initramfs using a script like from the BLFS book for loading the modules at boot as well as early loading of the microcode. I wish I knew exactly what solved it but hey, it works now! |
Congratulations! Very neat work.
|
All times are GMT -5. The time now is 04:31 PM. |