On Fri, Oct 31, 2008 at 10:39 AM, Wolfgang Messingschlager
<[EMAIL PROTECTED]> wrote:
>
> meanwhile I did
>
> - make mrproper
> - make menuconfig    (CONFIG_EXT3_FS=y)
> - make
> - make modules_install
> - cp -v arch/i386/boot/bzImage /boot/vmlinuz-2.6.26.1
> - cp -v .config /boot/config-2.6.26.1
> - cp -v System.map /boot/System.map-2.6.26.1
>
>
> I added the lines
>
> title           LFS kernel 2.6.26.1
> root            (hd0,22)
> kernel          /vmlinuz-2.6.26.1 root=/dev/hdb20 ro
> savedefault
>
> to /boot/grub/menu.lst
>
> This caused the following errors during boot
>
> VFS: cannot open root device "hdb20" or unknown block (0,0)
> Please append a correct "root=" boot option; here are the available
> partitions:
> Kernal panic - not syncing: VFS: Unable to mount rootfs on unknown -
> block (0,0)

The problem is that you need the block devices and controller built in
as well as the file system. So, SCSI + libata (to use /dev/sd* nodes)
or IDE (to use /dev/hd* nodes).

For SCSI + libata:
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SG=y
CONFIG_ATA=y
CONFIG_[SP]ATA_$controller=y

For IDE:
CONFIG_IDE=y
CONFIG_IDE_$controller=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to