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] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest

To: xen-devel@xxxxxxxxxxxxxxxxxxx, M A Young <m.a.young@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sat, 22 Oct 2011 07:22:46 -0700 (PDT)
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Sat, 22 Oct 2011 07:23:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1319293366; bh=eyuwaXIXPRkUtXyZ7pWy3FcTn0ITCxsBcD1WIqb35DU=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=MZ7zV4zaOu8+EvQmSmwWAeduP/yPR4cZSE7UQIxsXiX9jwKP07IdtoTAHfu4S+Mdl6ExmqFFYRexRfZTm6viXSgYwKrJ3Q85D8fFmrI39Cfo62G+C/mT+N87gJJDCnRbKsmjL4yuC8kwoBcwBMaEXqo94YprrXzSZwE0E7+IIa4=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=gwOgl2SRqtUJX8AGD6z3ZCIHnskXinJ1UZ20seQ5LaFjDEacdYET/YcHGD94CqUhiLjerGgvuB6n3/y0tznoBuMBgM8NVezqV0goFwJNxGHsvxk4H2Ifzpdc1lO5+RJD1zwZeBZSoTBPwFdYTtUnnWk2PUqQ+5cK6JOvzMpxmGA=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1110192358140.15667@xxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Please, back port  to xen-4.1-testing.hg.

Boris

--- On Wed, 10/19/11, M A Young <m.a.young@xxxxxxxxxxxx> wrote:

From: M A Young <m.a.young@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: "Ian Campbell" <Ian.Campbell@xxxxxxxxxx>
Date: Wednesday, October 19, 2011, 7:02 PM

This series contains patches that may be needed to allow pygrub to boot a Fedora 16 guest.

By default, Fedora 16 has GPT partitions and uses grub2. The first GPT partition is a grub2 boot partition to store the grub2 code. The second GPT partition contains the /boot filesystem with the kernel and initramfs files and grub2 configuration files. The remaining space is an LVM partition containing the remaining file systems.

The first patch allows pygrub to check all the GPT partitions, rather than just the first. This is a repost of the patch I submitted a few days ago with a slightly edited introductory text.

The second patch allows pygrub to find the grub2 configuration file which are in the /boot/grub2 directory on Fedora 16.

The third patch allows pygrub to handle partition references such as (hd0,gpt2) which occur in the Fedora 16 grub2 configuration file.

The fourth patch allows pygrub to parse grub2 configuration files with sub menus by ignoring the submenu line and the corresponding } line. A default Fedora 16 grub2 configuration file doesn't have sub menus but they do occur if the xen hypervisor is installed on the guest.

The fifth patch allows pygrub to parse grub2 configurations with the line
set default="${saved_entry}"
which can occur in the Fedora 16 grub2 configuration file.

The final patch adds a sample Fedora 16 grub2 configuration file
containing the problems fixed by patches 3,4 and 5.

    Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>