The eternal fight between admins and computers


Gentoo under VMware does not boot

Posted in Gentoo, Linux, Tips by rga on November 16, 2007

Hello,

If you are tryin’g to install Gentoo using a VMware and you get a error like this:


!! Block device /dev/sdaX is not a valid root device…
!! The root block device is unspecified or not detected.
Please specify a device to boot, or “shell” for a shell…
boot() ::

Solution is to pass option “doscsi” to kernel at boot, since doscsi loads all necessary scsi modules.

We use genkernel and our grub.conf looks like this:

title=Gentoo Linux 2.6.22-r9
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.22-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev doscsi
initrd /boot/initramfs-genkernel-x86-2.6.22-gentoo-r9

See you!

Leave a Reply