WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: F16, yum install xen, run grub2 or grubby as needed?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: F16, yum install xen, run grub2 or grubby as needed?
From: Andy Burns <xen.lists@xxxxxxxxxxx>
Date: Thu, 22 Sep 2011 02:28:20 +0100
Delivery-date: Wed, 21 Sep 2011 18:36:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Xpd3vYU4cg+PvZG3imvneKsYgj+6xfO+PP8bes59sNg=; b=hUja5NvR2VIDXrkH9lo5f7gczk2nElKZy35vsqqSNoM/9rMSLnFpQ41ZyuIKZ2Gy9l 5HfNY3DQ8cH19hNQD5Li6iB2vxjcAjME0sYAsnw3ZdPSw3h/rnwzGgCMiZqWb0M+B3Bo tCoi7IebKqJ4yxo/a/wTCUFMkp4Olbcp2U7PQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110921180819.GE17357@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110915154621.GA21580@xxxxxxxxxxxxxxxxx> <alpine.LFD.2.02.1109152224170.2506@xxxxxxxxxxxxxxx> <20110916083533.GC884@xxxxxxxxxxxxxxxxx> <CAE1-PRcO=7dBYxwJCq0L0Q6qcT=Nbnf4d2Sg3f=780MRxpKOaw@xxxxxxxxxxxxxx> <20110921180819.GE17357@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 21 September 2011 19:08, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:

> Oh, well, that is kind of convient. So you install new kernel and viola the 
> new kernel boots in the hypervisor kernel?

The way I achieved that, is to edit /etc/default/grub to include
GRUB_DEFAULT="Xen"

which matches the submenu created by /etc/grub.d/20_linux_xen

so the submenu is the default chosen, and the newest kernel is
automatically chosen from the top item of the submenu.

I suspect there are still flies in the ointment with that, which was
when I started to notice that installing a kernel had messed with the
/boot/grub2/grub.cfg file

If my server was in the remote data centre rather than the next room,
I wouldn't be confident about rebooting it and expecting it to run the
right combination of xen+kernel.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel