From mboxrd@z Thu Jan 1 00:00:00 1970 From: M A Young Subject: Re: F16, yum install xen, run grub2 or grubby as needed? Date: Thu, 15 Sep 2011 22:29:50 +0100 (BST) Message-ID: References: <20110915154621.GA21580@phenom.oracle.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: In-Reply-To: <20110915154621.GA21580@phenom.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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