LFS Version 6.2 - 8.4. Making the LFS System Bootable

Wang, Baojun wangbj at lzu.edu.cn
Tue Aug 22 07:21:00 PDT 2006


    Does LFS 6.2 require kernel 2.6.16? if not, you can copy a config file(usally /boot/config-2.6.x-xxx) to override the .config file under linux source tree then rebuild the kernel.

    here is the .config file for linux 2.6.15 modify very small from ubuntu 6.06 LTS: 

http://dslab.lzu.edu.cn/docs/2006summerschool/team1/teama/Documentation/wangbaojun/config-2.6.15


----- Original Message ----- 
From: "Brandon Peirce" <brandon_peirce at hotmail.com>
To: <lfs-support at linuxfromscratch.org>
Sent: Sunday, August 20, 2006 6:51 PM
Subject: RE: LFS Version 6.2 - 8.4. Making the LFS System Bootable


> Mag. Leonhard Landrock wrote:
> 
>>When trying to boot my LFS kernel, it starts and finally gets stuck with 
>>the
>>following error:
>>
>>VFS: Cannot open root device "sdb3" or unknown-block (0,0)
>>Please append a correct "root" boot option
>>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
>>(0,0)
> 
> 
>>My LFS system:
>>==========
>>
>>(part of) linux kernel configuration:
>>------------------------------------------------------
>>
>>Device Drivers ---> USB support --->
>>[*] USB Mass Storage support
>>[*] USB Mass Storage verbose debug
> 
> I'm not sure the relevance of USB without knowing your hardware in detail.
> However, if your boot device is on /dev/sdb you definitely need to make
> sure that you have the relevant SCSI support compiled into the kernel
> (not a module).
> 
> If it's a SATA disk, you will find the SATA drivers under SCSI low level
> drivers in the kernel config. If you're not sure which SATA driver to use,
> `lsmod |grep sata_' on your host box should be helpful.
> 
> 
>>partitions:
>>---------------
>>
>>/dev/sdb3       /               ext3    defaults        1       1
> 
> You also need ext3 filesystem support compiled in to the kernel
> (not as a module).
> 
> 
> Hope that helps,
> Brandon.
> 
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page


More information about the lfs-support mailing list