有人有关于如何使用 Xen 在 CentOS 5 上安装 Ubutnu 10.04(半虚拟化)的说明吗?
我能够使用网络启动进行安装:http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/
安装完成但无法启动,有人可以帮忙吗?
细节:
1. Create a new disk with LVM
2. Downlaod vmlinuz & initrd.gz from
http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/
3. /usr/sbin/xm create -c /etc/xen/ubuntu.cfg install=true
4. Format the whole disk as EXT3, mount as /
5. The installer show some warnings (randomly, since they are not repeatable)
Deboostrap warning
Warnings: Couldn't download package libnewt0.52
6. The clicked continue, and retry to install the base system again
7. When prompted to choose the kernel, I cannot find xen related, so I
choose linux-generic
8. Everything alright, the installer quit and system halt.
9. I launch the VM using /usr/sbin/xm create -c /etc/xen/ubuntu.cfg, it show
Error: Bootloader isn't executable
p.s. ubuntu.cfg
==============
name = "Ubuntu"
kernel = "/root/ubuntu/vmlinuz"
ramdisk = "/root/ubuntu/initrd.gz"
vif = [ "mac=00:13:1e:6e:23:e2,bridge=xenbr0" ]
disk = [ "phy:/dev/vg0/ubuntu,xvda,w" ]
==============
答案1
我找到了一些指南,试着看看,也许会对你有帮助http://drup.org/how-install-ubuntu-vm-under-centosred-hat-xen第二个http://dev.osso.nl/herman/blog/2006/12/24/ubuntu-bootmenu-too-shiny-for-xen-with-hvm/(它有点旧,但可能会告诉你更多)。
执行此命令
ls -l /usr/lib/xen-tool
应该会为您提供所有可以安装的发行版的列表。我希望这些信息能帮助您解决问题。我总是只安装 debian 作为客户机,所以从来没有遇到过这些问题。