mas...@mail.com wrote:
> Hi i got this error when i tried to boot in to my LFS system.
> could it be that my fstab is screwed up, or is it something i forgot to 
> do with the kernel?
> I'm using the LFS 6.6 book, and i am doing this in vmware.

*snip*

> I installed the kernel and took every driver for SATA and SCSI just to
> be sure that wont be an issue.

*snip*

> Kernel panic - not syncing: VFS; Unable to mount root fs on
> unknown-block(2.0)
> VFS: Cannot open root device "sda2" or unknown-block(2.0)

*snip*

>         linux   /vmlinux-2.6.32.8-lfs-6.6 root=/dev/sda2 ro

*snip*

My first thought is that you didn't compile in PATA support.

The hardware in the host, except for the CPU, isn't seen by a guest
machine.  IIRC, all versions of VMWare, when using an 'IDE drive', look
like an old PIIX4 chipset.  From one of my guests using an 'IDE drive':

$dmesg  | grep IDE

[    2.232615] Uniform Multi-Platform E-IDE driver
[    2.234257] PIIX4: IDE controller (0x8086:0x7111 rev 0x01) at  PCI
slot 0000:00:07.1
[    2.234668] PIIX4: IDE port disabled
[    2.235049] Probing IDE interface ide0...
[    2.524088] hda: VMware Virtual IDE Hard Drive, ATA DISK drive
[    3.308056] hdb: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive

Look in dmesg and see if it even recognizes the drives.
-- 
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