[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
Fei Liu wrote: Here is the complete grub.conf file: more /boot/grub/grub.conf default 0 timeout 8 gfxmenu (hd0,0)/boot/message title 2.6.24.4-default root (hd0,0) kernel /boot/kernel root=/dev/sda1 splash=silent showopts /etc/fstab: #/dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/sda1 / ext3 noatime 0 1 /dev/sda2 noneswap sw 0 0 #/dev/cdrom /mnt/cdrom audo noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I am looking into the SCSI file system issue. Fei Error messages: ... md: ... autorun DONE VFS: Cannot open root device sda1 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) There is one more thing, this is a vmware machine so the harddrive is a scsi harddrive. Fei I finally found this page and got this stuff to work, the catch is 'vmware' specific feature. http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Options -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
Fei Liu wrote: Hello Group, I spend a whole day trying to get this to work. Here is my setup /dev/sda1 / ext3 noatime 0 1 /dev/sda2 swap grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem. emerge kernel-sources worked fine. However everytime the system boots, it reports the VFS panic (no root system found problem). The kernel has built in ext2 and ext3 support. The error hint is to supply root option during boot, but my boot command is this kernel /boot/kernel root=/dev/sda1 Is there something missing that I didn't think of that's causing the failures? I followed the steps outlined here: http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml except I am using a 2 partition setup. Fei Here is the complete grub.conf file: more /boot/grub/grub.conf default 0 timeout 8 gfxmenu (hd0,0)/boot/message title 2.6.24.4-default root (hd0,0) kernel /boot/kernel root=/dev/sda1 splash=silent showopts /etc/fstab: #/dev/BOOT /boot ext2noauto,noatime 1 2 /dev/sda1 / ext3noatime 0 1 /dev/sda2 noneswapsw 0 0 #/dev/cdrom /mnt/cdrom audonoauto,ro 0 0 #/dev/fd0 /mnt/floppy autonoauto 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I am looking into the SCSI file system issue. Fei -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
Here is the complete grub.conf file: more /boot/grub/grub.conf default 0 timeout 8 gfxmenu (hd0,0)/boot/message title 2.6.24.4-default root (hd0,0) kernel /boot/kernel root=/dev/sda1 splash=silent showopts /etc/fstab: #/dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/sda1 / ext3 noatime 0 1 /dev/sda2 noneswap sw 0 0 #/dev/cdrom /mnt/cdrom audo noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I am looking into the SCSI file system issue. Fei Error messages: ... md: ... autorun DONE VFS: Cannot open root device sda1 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) There is one more thing, this is a vmware machine so the harddrive is a scsi harddrive. Fei -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
snip VFS: Cannot open root device sda1 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) /snip (hey, I remembered not to top post for once!) Not that this hasn't been said, but this is almost definitely a device driver issue. In my experience (and I've had this and similar errors on many systems), when it's a file system problem (i.e. having the correct FS driver compiled in), you get unknown-block(x,y) where x,y are both nonzero. That said, something definitely needs to be changed with your kernel config. I run several vmware servers (the free server), and have gentoo VMs on those. If you'd like, I can post my .config for you to compare. Or I could just look through the scsi options I have configured. When I configured my VMs, I remember reading the following article: (along with some trial and error, of course.) http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Configuration -- Greg Postscript: As this is an error mouting your root file system, the fstab, which is stored on the root file sysem, doesn't matter at this point in the boot process.