Welcome 微信登录

首页 / 操作系统 / Linux / VMWare安装Gentoo错误“cannot open root device sda3...”

本文仅仅记录解决问题的过程...供大家参考,问题的原因是由于缺少SCSI驱动引起的.解决方法如下:
Step 1: 修改SCSI驱动类型VM->Edit Settings->SCSI controller 0->change type,设为BusLogic此项设置据说是因为2.6+的内核不再支持LSI LogicStep 2: 用LiveCD启动,并进入编译环境参考http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
  1. livecd / # mount /dev/sda3 /mnt/gentoo  
  2. livecd / # mount /dev/sda1 /mnt/gentoo/boot  
  3. livecd / # mount -t proc proc /mnt/gentoo/proc  
  4. livecd / # mount --rbind /dev /mnt/gentoo/dev  
  5. livecd / # chroot /mnt/gentoo /bin/bash  
  6. livecd / # env-update && source /etc/profile  
Step 3:设置内核参数参考:http://www.gentoo-wiki.info/HOWTO_Install_Gentoo_on_VMware_ESX_serverLinux Kernel Configuration: VMware SCSI adapterDevice Drivers ---> SCSI device support ---> ** Turn off EVERYTHING under here besides what is shown below ** <*> SCSI disk support SCSI low-level drivers ---> <*> BusLogic SCSI support 
  1. livecd linux # make menuconfig  
  2. livecd linux # time make -j2  
  3. livecd linux # make modules_install  
  4. livecd linux # cp arch/i386/boot/bzImage /boot/kernel  
Step 4: 重启确认问题解决Gentoo安装运行后 /boot文件夹为什么是空的?Linux下运用MMAP在进程间通信相关资讯      Gentoo 
  • Gentoo LiveDVD “Choice Edition  (06月01日)
  • Gentoo:startx出现Failed to load   (12/23/2014 09:08:55)
  • Gentoo:startx出现Failed to load   (10/25/2014 12:10:49)
  • Gentoo: !!! existing preserved   (12/23/2014 09:10:23)
  • Gentoo: !!! existing preserved   (10/25/2014 12:14:27)
  • Gentoo桌面系统的安装  (02/26/2014 09:08:52)
本文评论 查看全部评论 (0)
表情: 姓名: 字数