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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest
From: M A Young <m.a.young@xxxxxxxxxxxx>
Date: Thu, 20 Oct 2011 00:02:21 +0100 (BST)
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Wed, 19 Oct 2011 16:06:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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

<Prev in Thread] Current Thread [Next in Thread>