免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1568 | 回复: 1
打印 上一主题 下一主题

[Xen] redhat5.4 32位xen启动报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-19 13:42 |只看该作者 |倒序浏览
本帖最后由 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  
高手帮忙解决下谢谢了

论坛徽章:
2
狮子座
日期:2014-01-17 09:09:212015年迎新春徽章
日期:2015-03-04 09:58:11
2 [报告]
发表于 2012-12-19 15:47 |只看该作者
继续看鸟哥啊,好好看啊,问题就解决了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP