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 --- 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. - os.lseek(fd, SECTOR_SIZE * 2, 0) + os.lseek(fd, SECTOR_SIZE, 0) buf = os.read(fd, 512) - return struct.unpack("0: + buf = os.read(fd, partsize) + offsets.append(struct.unpack("