From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest Date: Wed, 19 Oct 2011 21:44:14 -0400 Message-ID: <20111020014414.GB6680@phenom.dumpdata.com> References: 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: M A Young Cc: xen-devel@lists.xensource.com, Ian Campbell List-Id: xen-devel@lists.xenproject.org On Thu, Oct 20, 2011 at 12:02:21AM +0100, M A Young wrote: > 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. You can add Reviewed-by: Konrad Rzeszutek Wilk to them too. Thanks for making the changes.