From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Re: F16, yum install xen, run grub2 or grubby as needed? Date: Wed, 21 Sep 2011 14:08:19 -0400 Message-ID: <20110921180819.GE17357@phenom.oracle.com> References: <20110915154621.GA21580@phenom.oracle.com> <20110916083533.GC884@phenom.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andy Burns Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sun, Sep 18, 2011 at 08:53:29PM +0100, Andy Burns wrote: > On 16 September 2011 09:35, Konrad Rzeszutek Wilk > wrote: > > > On Thu, Sep 15, 2011 at 10:29:50PM +0100, M A Young wrote: > >> On Thu, 15 Sep 2011, Konrad Rzeszutek Wilk wrote: > >> > >>> realized that I had to manually do: > >>> grub2-mkconfig > /boot/grub2/grub.cfg > > Yes, I've been manually running that too, but the resuling grub.cfg > file from when I manually regenerate it is subtly different from the > grub.cfg generated after automatically installing a new kernel ... > > The one generated by manually running grub2-mkconfig creates a Xen > submenu with all the various kernels under it, whereas after > installing a new kernel, the one generated has all the xen + kernels > in the top level menu. Oh, well, that is kind of convient. So you install new kernel and viola the new kernel boots in the hypervisor kernel? > > >> 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. > > I've submitted a bug with a patch to make the /etc/20_linux_xen helper > script ignore the symbol files and symbolic links, if there's no need > for the symbolic links the patch could be even simpler. Could you also send the patch to upstream grub2? So that other distros can benefit as well? > > https://bugzilla.redhat.com/show_bug.cgi?id=738085 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel