本文仅仅记录解决问题的过程…供大家参考,问题的原因是由于缺少SCSI驱动引起的.
解决方法如下:
Step 1: 修改SCSI驱动类型
VM->Edit Settings->SCSI controller 0->change type,设为BusLogic
此项设置据说是因为2.6+的内核不再支持LSI Logic
Step 2: 用LiveCD启动,并进入编译环境
参考http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
- livecd / # mount /dev/sda3 /mnt/gentoo
- livecd / # mount /dev/sda1 /mnt/gentoo/boot
- livecd / # mount -t proc proc /mnt/gentoo/proc
- livecd / # mount –rbind /dev /mnt/gentoo/dev
- livecd / # chroot /mnt/gentoo /bin/bash
- livecd / # env-update && source /etc/profile
Step 3:设置内核参数
参考:http://www.gentoo-wiki.info/HOWTO_Install_Gentoo_on_VMware_ESX_server
Linux Kernel Configuration: VMware SCSI adapter
Device Drivers —> SCSI device support —> ** Turn off EVERYTHING under here besides what is shown below ** <*> SCSI disk support SCSI low-level drivers —> <*> BusLogic SCSI support
- livecd linux # make menuconfig
- livecd linux # time make -j2
- livecd linux # make modules_install
- livecd linux # cp arch/i386/boot/bzImage /boot/kernel
Step 4: 重启确认问题解决