xen server安装gentoo2008后启动报错

Standard

xen server安装gentoo2008启动报错
报错提示:
Unable to mount root fs via NF,trying floppy.
Cannot open root device “hda3” or unknow-block(2,0)

报错截图:

解决方式:
经查发现原因是在光盘引导安装阶段,gentoo将xen的虚拟盘认做IDE设备.而我直接以IDE的hda开头进行相应配置,最终硬盘引导导动时内核以SATA方式将硬盘驱动起来,结果就造成找不到sda的报错.
也就是说,虽然你在cfdisk时看到的明明是写hda,但你在配grub及fstab时还是要写sda.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.