Rosario Turco wrote:
>  created a virtual machine with Fedora 14 guest host a filesystem with no 
> errors
> everything is set up in LFS 6.7 Chapter 9. Kernel is ok.
> 
> When I mount the new virtual machine obtained LFS, I get errors because I did
> not understand how to configure fstab and grub.cfg
> 
> For LFS I have created these partitions on virtual machine:
> /boot  /dev/sdb1
> /home  /dev/sdb2
> /swap  /dev/sdb3
> /LFS   /dev/sdb4

> My /dev is:
> 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
> 
> The error is:
> VFS: cannot open root device "sdb4" or unknown block (2,0)
> Please append a correct "root=" boot options; here are the available partions:
> 
> 0800 sda
> 0801 sda1
> 0802 sda2
> 0803 sda3
> 0804 sda4
> 0b00 sr0 driver
> Kernel panic: not syncing: VFS: Unable to mpunt root fs on unknown block(2,0)

It would appear that your kernel is loading, but not picking up both 
drives.  It looks like it is only picking up the LFS drive as sda.  You 
might try changing your fstab to sda and the boot line to root=/dev/sda4.

Note that for LFS the grub search command is meaningless.

   -- Bruce

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