[syslinux] Using syslinux on the PMBR of a GPT partition table
H. Peter Anvin
hpa at zytor.com
Sun Jan 25 18:09:22 PST 2009
Stewart Adam wrote:
> On 11/6/08 5:22 PM, H. Peter Anvin wrote:
>> If you have a small image you can send me that would be really useful.
>>
>> -hpa
> The Fedora livecd script wouldn't work with some very small images, so I
> have small-ish (75MB) image here:
> http://downloads.diffingo.com/gpttest-noliveos.img
>
> If you use losetup alone on the image and then boot qemu with /dev/loopx,
> you should get "Boot partition not found". If I remember correctly, the
> magic offset number to for the first partition is 17408, so passing -o 17408
> to losetup and then using qemu should make syslinux load fine.
>
> (btw, I used --skipcopy when creating that image so although syslinux comes
> up for /dev/sdb1, the LiveOS folder isn't present so no kernels will
> actually boot...)
>
I just checked this image out. The problem is that it has the partition
*TYPE* UUID in the active slot, not the partition *unique* UUID. If I
put the partition unique UUID into the active slot, it boots as expected.
It does, of course, beg the question if the partition type UUID should
be accepted as a sort of wildcard. It might not be too hard to
implement, however, that will be a post-3.73 feature.
-hpa
More information about the Syslinux
mailing list