用xen-create-image创建映像和cfg文件后,用xm create -c vm.cfg启动虚拟机实例,过程中找不到root fs,报错如下:Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/xvda2 does not exist. Dropping to a shell!BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter "help" for a list of built-in commands.
/bin/sh: can"t access tty; job control turned off
(initramfs) 主要原因在于所使用的内核缺block device driver,所以要安装带有block device driver的内核,解决方法如下: 1.# apt-get install -y linux-image-3.0.0-12-virtual 2.# vi /etc/xen/vm.cfg =======================vm.cfg======================== [...] kernel = "/boot/vmlinuz-3.0.0-13-virtual"
ramdisk = "/boot/initrd.img-3.0.0-13-virtual"
[...] 3.问题解决Ubuntu 11.10中用xen-tools安装虚拟机(Ubuntu&CentOS)GT240下简单安装Ubuntu 10.10及更高版本Ubuntu的方法相关资讯 Xen
- Xen安全架构sHype/ACM策略配置图文 (04月05日)
- Xen 4.6 发布下载,增强安全性和 (10/14/2015 09:01:11)
- Xen信息泄露漏洞(CVE-2015-2044) (03/10/2015 07:52:01)
| - Xen arch/x86/mm.c mod_l2_entry权 (11/09/2015 11:39:48)
- Fedora 20源码安装Xen4.3.0 (04/22/2015 06:20:50)
- Linux入门学习教程:虚拟机体验之 (03/08/2015 19:15:41)
|
本文评论 查看全部评论 (0)