LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 05-07-2011, 02:10 PM   #16
HybridFR
Registered User
 
Registered: May 2011
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 1

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.
 
1 members found this post helpful.
Old 05-08-2011, 10:01 AM   #17
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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.
 
Old 05-16-2011, 04:16 AM   #18
HybridFR
Registered User
 
Registered: May 2011
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 1
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.
 
Old 05-16-2011, 04:21 AM   #19
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
You're welcome
 
  


Reply

Tags
boot, grub, lfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 03:26 PM
Horrible ordeal trying to boot LFS. Tried older version - won't boot either Lyle Linux From Scratch 9 05-20-2010 09:56 PM
Can't boot LFS ( kernel panic - not syncing ) LFS 6.6 Lyle Linux From Scratch 14 05-15-2010 04:22 AM
LFS can not boot slim.chen Linux From Scratch 1 07-24-2009 07:42 AM
lfs first boot slack-penguin Linux From Scratch 7 06-15-2002 08:22 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration