Chinaunix

标题: redhat5.4 32位xen启动报错 [打印本页]

作者: wake2000x    时间: 2012-12-19 13:42
标题: redhat5.4 32位xen启动报错
本帖最后由 wake2000x 于 2012-12-19 13:44 编辑

xm create -c redhat5 报错
报错的内容:
Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Creating root device.
mkrootdev: expected fs options
Mounting root filesystem.
mount: missing mount point
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
版本:redhat5.4 kernel : 2.6.18-164.el5xen    Xen version 3.1.2-164.el5
cpu : 支持半虚拟化:pae
cat /proc/cpuinfo |grep pae
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx lm constant_tsc up nonstop_tsc pni cx16 popcnt lahf_lm [8]

生成的img命令:可以正常生成
mkinitrd  -v -f --fstab /mnt/xen/etc/fstab --with xenblk --with xennet --preload xenblk --preload xennet initrd-2.6.18-164.el5xen.vbird.img `uname -r`

虚拟资料配置
[root@bogon ~]# cat /etc/xen/redhat5
name = "redhat5"
kernel = "/boot/vmlinuz-2.6.18-164.el5xen"
ramdisk = "/boot/initrd-2.6.18-164.el5xen.vbird.img"
memory = "128"
vcpus = 1
vif = [ '' ]
disk = [ 'phy:/dev/sdb7,sda1,w' ]
root = "/dev/sda1 ro"

参考鸟哥的文章:http://linux.vbird.org/linux_enterprise/xen.php  
高手帮忙解决下谢谢了
作者: cnvbird    时间: 2012-12-19 15:47
继续看鸟哥啊,好好看啊,问题就解决了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2