[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] GRUB2 configuration for Xen 4 on Ubuntu Linux 10.04

On Sun, Oct 9, 2011 at 9:11 AM, Chui-Hui Chiu <cchiu1@xxxxxxxxxxxxxx> wrote:
> Hello,
> I have installed the Xen 4.1.1 and a working kernel which supports
> Xen on a Ubuntu Linux 10.04 LTS.  However, I have never successfully booted
> the Hypervisor and Dom0.  The screen is always black after some kernel
> messages rapidly go by.  I think that I may pass the wrong parameters to the
> kernel or Hypervisor with GRUB2.
> Can any one share his/her working grub.cfg for GRUB2 with me?

This is the one I am using for Debian. Notice the rootdelay=15, which
helps with my LVM root LV.

### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'Debian GNU/Linux, with Linux 3.0.0-1-686-pae and XEN
4.1-amd64' --class debian --class gnu-linux --class gnu --class os
--class xen {
        insmod part_msdos
        insmod ext2
        set root='(hd1,msdos1)'
        search --no-floppy --fs-uuid --set 4a996a2b-8e3c-45ef-9f0f-894dd2df519b
        echo    'Loading Linux 3.0.0-1-686-pae ...'
        multiboot       /xen-4.1-amd64.gz placeholder
        module  /vmlinuz-3.0.0-1-686-pae placeholder
root=/dev/mapper/kronos-root ro  quiet rootdelay=15
        echo    'Loading initial ramdisk ...'
        module  /initrd.img-3.0.0-1-686-pae

By the way, Ubuntu 11.10 server has out of the box support. You just
need to grab the linux-image-server

Hope that helps.


Todd Deshane

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.