8.4. Making the LFS System Bootable

Ken Moffat ken at linuxfromscratch.org
Tue Oct 28 15:01:27 PDT 2008


On Tue, Oct 28, 2008 at 10:53:12PM +0100, Wolfgang Messingschlager wrote:
> Wolfgang Messingschlager wrote:
> 
> Hi all,
> 
> 
> I have meanwhile tried to build a kernel with EXT2 and EXT3 within the 
> kernel.
> 
> # egrep '(EXT2|EXT3)' .config
> CONFIG_EXT2_FS=y
> CONFIG_EXT2_FS_XATTR=y
> CONFIG_EXT2_FS_POSIX_ACL=y
> CONFIG_EXT2_FS_SECURITY=y
> # CONFIG_EXT2_FS_XIP is not set
> CONFIG_EXT3_FS=m
              ^^^^^^
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> CONFIG_EXT3_FS_SECURITY=y
> 
> but without an initrd line in /boot/grub/menu.lst I get the well-known 
> kernel panic. What is important during kernel configuration, so that no 
> initrd file is needed?
> 
 Sorry for not replying earlier, I got confused by your partition
numbers (I had thought they could not exceed 15 - my thought was
wrong), and missed your reference to modules.

 As you say, for everyone not using an initrd, the filesystem for
'/' has to be compiled in.  You have now compiled in ext2, but a
recent distro will usually use ext3.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list