• We did not send an email asking for donations - please read this post.

LSF - Kernel boot hangs

Electric_Pulse

New Member
Joined
Aug 22, 2021
Messages
4
Reaction score
0
Credits
43
I am trying to boot into my LFS system - grub works, the kernel loads but neither fstab (I purposefully deleted it - no effect) nor Sysvinit seem to get loaded (no log of the launching of services). The kernel hangs on "Skipping autodetecting of RAID arrays ..." - the raid=autodetect/noautodetect flag also has no effect.

No tty's get spawned and no syslogs are created so I am kind of confused on how a person is supposed to debug this, do you have any advice?

Details:
- LFS 11.2
- UEFI
- architecture: x86_64
 


osprey

Active Member
Joined
Apr 15, 2022
Messages
245
Reaction score
144
Credits
2,242
Electric_Pulse wrote:
fstab (I purposefully deleted it
Unless I'm not understanding something, please forgive my ignorance, but I wonder how a system can run when it is not informed by fstab as to what to mount, and hence make those mounted filesystems become available to the user?
 
OP
E

Electric_Pulse

New Member
Joined
Aug 22, 2021
Messages
4
Reaction score
0
Credits
43
Electric_Pulse wrote:

Unless I'm not understanding something, please forgive my ignorance, but I wonder how a system can run when it is not informed by fstab as to what to mount, and hence make those mounted filesystems become available to the user?
I wanted to test if the system will react to no fstab being present (kernel panic) - it didn't so I deduced it got caught up in one of the earlier steps before even launching inittab.

Solution: Since I am compiling lfs on a M.2 nvme I had to enable nvme support for my kernel
 

osprey

Active Member
Joined
Apr 15, 2022
Messages
245
Reaction score
144
Credits
2,242
LFS is undoubtedly a major learning experience. Kudos for taking that route.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top