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: Igor Serebryany <igor47@xxxxxxxxxxx>
Date: Thu, 30 Sep 2010 18:04:40 -0500
Delivery-date: Thu, 30 Sep 2010 16:06:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CA50A4D.6040008@xxxxxxxxxxxxx>
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> <4CA50A4D.6040008@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Sep 30, 2010 at 05:08:13PM -0500, Andy Howell wrote:
> On 09/30/2010 04:03 PM, Igor Serebryany wrote:
> >     Is there a config file I'm overlooking?

I guess the config I was overlooking is /etc/default/grub -- settings
set in there get imported into the scripts that generate the grub.cfg
entries. Parsing the code, it looks like the 20_linux_xen script uses
the following arguments:

for the hypervisor options, use GRUB_CMDLINE_XEN and


the dom0 kernel options come from the usual GRUB_CMDLINE_LINUX and
LINUX_DEFAULT options. in both cases, the non-DEFAULT options come
first, and the DEFAULT options are omitted in the rescue entries.

I wish there was a way to pass arguments only to kernels being started
as part of Dom0. I should submit this as an easy patch to debian...

I also wasn't sure what the conventional way to make Xen be the first
thing that boots is, so I just changed the order in which the entries
are generated:

testbox1:/etc/grub.d# mv 20_linux_xen 09_linux_xen


Attachment: signature.asc
Description: Digital signature

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>