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

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

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: [Xen-devel] Re: F16, yum install xen, run grub2 or grubby as needed?
From: M A Young <m.a.young@xxxxxxxxxxxx>
Date: Thu, 15 Sep 2011 22:29:50 +0100 (BST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Sep 2011 14:30:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110915154621.GA21580@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.02 (LFD 1266 2009-07-14)
On Thu, 15 Sep 2011, Konrad Rzeszutek Wilk wrote:

Hey Michael,

I was playing today with 
https://admin.fedoraproject.org/updates/grubby-8.2-1.fc16?_csrf_token=014c2b18c3b6e843699e9ef1e56cf9726c5c4fc2
and https://admin.fedoraproject.org/updates/grub2-1.99-6.fc16 which make the 
grub.cfg have the
correct entries of Xen and Linux.

And realized that I had to manually do:

grub2-mkconfig > /boot/grub2/grub.cfg

which ends up doing the new stanza.. but in some sense I think
it makes senee for the Xen script to actually call this.

Thoughts?

It probably makes sense to have a post-install/post-uninstall script in the xen-hypervisor RPM to run this. The updated grub2 creates a set of entries for each of xen-4.1.1.gz and its two symbolic links xen-4.1.gz and xen.gz which is a bit untidy, so perhaps it makes sense to remove the symbolic links.

        Michael Young

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