This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] xen 4 and grub2 on debian squeeze

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen 4 and grub2 on debian squeeze
From: Andy Howell <AndyHowell@xxxxxxxxxxxxx>
Date: Thu, 30 Sep 2010 17:08:13 -0500
Delivery-date: Thu, 30 Sep 2010 15:09:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100930210311.GR25521@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20100930210311.GR25521@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8
On 09/30/2010 04:03 PM, Igor Serebryany wrote:
> Hi!
>       I'm experimenting with Xen 4 on Squeeze. Squeeze uses grub2 by
>       default, and the config format has changed. I can't for the life of
>       me figure out where to set options for the hypervisor and the Dom0
>       kernel on bootup. 
>       It seems the grub2 stanza for xen is being generated by
>       /etc/grub.d/20_linux_xen and that seems to have some provisions for
>       receiving arguments, but I have no idea how to make update-grub pass
>       those arguments.
>       Is there a config file I'm overlooking?


        I'm in the experimenting stage as well. Under Ubuntu 10.4 with grub2, I 
have the
following in /etc/grub.d/40_custom :

exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Xen 4.0.1 / Ubuntu 10.4 kernel pvops" {
  insmod ext2
  set root=(hd0,5)
  search --no-floppy --fs-uuid --set 52710c96-cc2d-473e-81e2-29be34d60339
  multiboot /xen-4.0.1.gz
  module /vmlinuz- root=/dev/mapper/dokodemo-root ro
  module /initrd.img-


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>