LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   My LFS does not boot (https://www.linuxquestions.org/questions/linux-from-scratch-13/my-lfs-does-not-boot-878722/)

HybridFR 05-07-2011 01:10 PM

Hi,

Yes, this options are set to yes:

Quote:

Device Drivers -> SCSI device support -> SCSI disk support + SCSI generic support + SCSI low-level drivers
and
Device Drivers -> SCSI device support -> SCSI low-level drivers -> BusLogic SCSI support
Otherwise, to configure my kernel, I used the .config oh my host to have an base then, I selected the options for the SCSI and Serial ATA.

Thank your help.

druuna 05-08-2011 09:01 AM

Hi,

You just now mention (post #16) that you used the debian kernel .config file to create a LFS kernel. That might be the problem; Debian uses initrd, LFS does not. Building certain kernel options as a module instead of static needs an initrd to work properly.

I can only advise you to not use the debian kernel as base and set the options you need (and make them static (*) and not modular (M)) yourself.

If you do want to use the debian .config file as base (which I do not recommend): Make sure you use the make oldconfig command before you use the make menuconfig command. I'm not entirely sure which options you need to change from modular to static, but start with these:
- All file system related entries,
- Serial and Parallel ATA entries,
- SCSI entries.
Also: Disable all entries that you know you don't need/have (remember: the debian kernel is very generic).

Hope this helps.

HybridFR 05-16-2011 03:16 AM

Hi,

My problem was the kernel configuration, it lacked a certain number of modules that should be compiled in static.

I did not install grub, I modified the grub from my host to keep the start of my Debian.

My problem now is the netnork, indeed, I haven't network on my LFS even if my eth0 interface is recognized. I see the problem, I am on vmware virtual machine, I must install the vmware tools but it's another problem.

Thank you very much for your advices Druuna.

druuna 05-16-2011 03:21 AM

You're welcome :)


All times are GMT -5. The time now is 06:23 AM.