现在grub里的启动项格式如下:
title Ubuntu 8.10, kernel 2.6.27-11-generic
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=D84880244880040A loop=/ubuntu/disks/root.disk ro ROOTFLAGS=syncio quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
我在网上找到的资料说是xen的启动项按照以下方式就可以了,(这是直接硬盘安装ubuntu,而非Wubi方式安装的)
title Xen(2.6.18-xen-3.1.0)
root (hd0,2)
kernel /boot/xen-3.1.0.gz console=vga
module /boot/vmlinuz-2.6.18-xen root=/dev/sda3 ro console=tty0
module /boot/initrd.img-2.6.18-xen
Savedefault
我编译安装的xen后,想根据以上的两个提示,照葫芦画瓢,就设置如下:
title Xen-3.3.1 with kernel-2.6.18-8
root ()/ubuntu/disks
kernel /boot/xen-3.3.1.gz
module /boot/vmlinuz-2.6.18.8-xen root=UUID=D84880244880040A loop=/ubuntu/disks/root.disk ro ROOTFLAGS=syncio quiet splash
module /boot/initrd.img-2.6.18.8-xen
savedefault
但是启动后说root不存在,进不了系统。。。。哪位仁兄帮帮忙,看看这应该如何设置xen的启动项吧,非常感谢
