Ralph Porter wrote:
> Hello folks.
> 
> I'm working lfs book 6.4 (have already done 6.3) and am tying first time boot.
> 
> error:
> VFS: cannont open root device hda3 or unknow block (2,0)
> 
> please append a correct "root" boot option: here are the available partions
> 
> kernel panic - not syncing: VFS unable to mount root fs on unkonw block (2,0)
> 
> OK
> 
>                        Size: 120034123776 bytes, 120.0 GB
>              Heads: 255   Sectors per Track: 63   Cylinders: 14593
> 
>     Name        Flags      Part Type  FS Type          [Label]        Size 
> (MB)
>  
> ------------------------------------------------------------------------------
>     hda1        Boot        Primary   Linux ext3       [/boot1]          
> 197.41
>     hda2                    Primary   Linux                             
> 1283.15
>     hda3                    Primary   Linux ext2                       
> 10997.20
> 
> 
> # Begin /etc/fstab
> 
> # file system  mount-point  type   options         dump  fsck
> #                                                        order
> 
> /dev/hda3      /            ext2   defaults        1     1
> /dev/hda2      swap         swap   pri=1           0     0
> proc           /proc        proc   defaults        0     0
> sysfs          /sys         sysfs  defaults        0     0
> devpts         /dev/pts     devpts gid=4,mode=620  0     0
> tmpfs          /dev/shm     tmpfs  defaults        0     0
> # End /etc/fstab
> 
> BOOTED LIVECD and mounted hda3:
> root [ /mnt/lfs/boot ]# ls
> config-2.6.27.4  grub  lfskernel-2.6.27.4  System.map-2.6.27.4
> 
> menu.lst
> # Begin /boot/grub/menu.lst
> # By default boot the first menu entry.
> default 0
> # Allow 30 seconds before booting the default.
> timeout 30
> # Use prettier colors.
> color green/black light-green/black
> 
> # The first entry is for LFS.
> title LFS 6.4
> root (hd0,2)
> kernel /boot/lfskernel-2.6.27.4 root=/dev/hda3
> 
> Any ideas?
> 
> Thanks in advance
> 
> rp

Hi Ralph,


I have the following ideas:

1.) I have seen that since kernel version 2.6.27.x or 2.6.28.x hda has 
been changed to sda

2.) I would write into

a) /boot/grub/menu.lst

...
title LFS 6.4
root (hd0,0)
kernel lfskernel-2.6.27.4 root=/dev/sda3

b) /etc/fstab


/dev/sda3      /            ext2   defaults        1     1
/dev/sda2      swap         swap   pri=1           0     0
proc           /proc        proc   defaults        0     0
sysfs          /sys         sysfs  defaults        0     0
devpts         /dev/pts     devpts gid=4,mode=620  0     0
tmpfs          /dev/shm     tmpfs  defaults        0     0


Good luck
Wolfgang
-- 
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