On Thu, 6 Jan 2011 10:56:23 +0000 (UTC)
Rosario Turco <rosario_tu...@virgilio.it> wrote:

> Bruce Dubbs <bruce.dubbs <at> gmail.com> writes:
> 
> 
> >    -- Bruce
> 
> I haven't got /dev/sda4, my /dev/sda has got only two (sda1 e sda2)
> brw-rw---- 1 root daemon 8, 0 Jan  2 18:31 /dev/sda
> brw-rw---- 1 root daemon 8, 1 Jan  2 18:31 /dev/sda1
> brw-rw---- 1 root daemon 8, 2 Jan  2 18:31 /dev/sda2
> brw-rw---- 1 root daemon 8, 16 Jan  2 18:31 /dev/sdb
> brw-rw---- 1 root daemon 8, 17 Jan  2 18:31 /dev/sdb1
> brw-rw---- 1 root daemon 8, 18 Jan  2 18:31 /dev/sdb2
> brw-rw---- 1 root daemon 8, 19 Jan  2 18:31 /dev/sdb3
> brw-rw---- 1 root daemon 8, 20 Jan  2 18:31 /dev/sdb4
> 
> So i have modified grub.cfg with
> set root=(hd0,1)
> and
> root=/dev/sda2
> 
> with boot on /dev/sda1
> 
> In fstab i have done the same   
> /dev/sda1 /boot ext3 ...
> /dev/sda2 /   ext3 ....
> 
> Now i obtain this error:
> ...... (i cannot read all because is very speed ... How can read all? 
> Is there alog?)
> 
> list of all partions:
> 0800 sda
> 0801 sda1
> 0802 sda2
> 0803 sda3
> 0804 sda4

The kernel sees 4 partitions on /dev/sda. 

> 0b00 sr0 driver
> No filesystem could mount root, tried: ext3 vfat msdos iso9660
> Kernel panic: not syncing: VFS: Unable to mount root fs on unknown block(8,2)

Clearly, what your host Fedora system sees as /dev/sdb your LFS kernel
sees as /dev/sda. Try altering your grub.cfg to pass your LFS kernel
the option root=/dev/sdb2

linux /boot/vmlinux-lfs root=/dev/sdb2

Andy
-- 
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