Vince Greg wrote:
Hello, I want to know how built the kernel in order to recognize the hardware on boot. My aim it's to create a lfs live_cd or live_usb and it must run on different computers with differents hardware.
You don't have to do anything special. Just compile the drivers supporting all possible hardware into the kernel or as modules. Udev will load modules as required by the hardware. There are two caveats though.
1) The kernel should contain enough drivers as non-modules to detect and mount the CD. This means all IDE and non-buggy SCSI drivers, or, as an alternative, udev in initramfs (not implemented in LFS yet).
2) Some very old SCSI drivers are buggy and will hang your computer if the kernel is booted without the corresponding hardware. Simply don't build them if the kernel hangs on boot.
-- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
