[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH 1 of 6] pygrub should check all GPT partitions



On Thu, 20 Oct 2011, Ian Campbell wrote:

On Thu, 2011-10-20 at 00:03 +0100, M A Young wrote:
On Fedora 16 the first GPT partition is a boot partition for grub2
with
the grub2 configuration in the second partition.
Check all GPT partitions for grub configuration, not just the first.
Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx>

--- a/tools/pygrub/src/pygrub   2011-10-16 20:58:02.000000000 +0100
+++ b/tools/pygrub/src/pygrub   2011-10-16 20:59:52.000000000 +0100
@@ -78,9 +78,17 @@
 def get_fs_offset_gpt(file):
     fd = os.open(file, os.O_RDONLY)
     # assume the first partition is an EFI system partition.

Is this comment now inaccurate?

Yes. I haven't tested the case where the first partition is an EFI system partition though I think my changes would be harmless.

        Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.