Hi i tried installing a huge bunch of unnecessary drivers and stuff into the kernel to see if it would get me through the problem. Now i get VFS: Cannot open device "<NULL>" or unknown-block(8.2) Please append a correct "root=" boot option; here are the available partitions: 1600 4194302 hdc driver: ide-cdrom 0800 8192 sda driver: sd is this a step in the right or in the wrong direction? i haven't changed my config files since last time.
>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 LFS system dmesg | grep IDE: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 PIIX4: IDE controller at PCI slot 0000:00:07.1 Probing IDE interface ide0... Probing IDE interface ide1... hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive target0:0:0: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127) LFS live cd Host dmesg | grep IDE: *nothing* ubuntu computer dmesg | grep IDE: [ 37.446302] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 [ 38.177250] SB600_PATA: IDE controller (0x1002:0x438c rev 0x00) at PCI slot 0000:00:14.1 [ 38.177292] Probing IDE interface ide0... [ 49.495753] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/LNXVIDEO:00/input/inp ut6 Thanks // Mastah -----Original Message----- From: Justin The Cynical <cyni...@penguinness.org> To: LFS Support List <lfs-support@linuxfromscratch.org> Sent: Tue, Apr 13, 2010 10:39 am Subject: Re: Kernel panic - not syncing: VFS; Unable to mount root fs on unknown-block(2.0) 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page