[blfs-support] GUID Partition Tables (GPT)

Bruce Dubbs bruce.dubbs at gmail.com
Thu Mar 21 08:48:22 PDT 2013


xinglp wrote:
> 2013/3/21 Bruce Dubbs <bruce.dubbs at gmail.com>:
>> Baho Utot wrote:
>>
>>> I have done some (not much) research and it looks like linux only
>>> supports booting to gtp partitions only if using 64 bit os.  This is
>>> from the Fedora site.  I am going to Arch linux site to see if they say
>>> the same.
>>
>> What I read was that Windows doesn't support gpt on a 32-bit system.
>>
>> Here is a link I found:  http://www.funtoo.org/wiki/GUID_Booting_Guide
>>
>> The example table is outdated.  We really don't want the first partition
>> to start at sector 34.  gpt does the right thing by default and aligns
>> everything at 1 MiB boundaries.
>>
>> See also https://wiki.archlinux.org/index.php/GUID_Partition_Table
>>
>> Note there is says:
>>
>> GRUB(2) requires a 1007 KiB BIOS Boot Partition (EF02 type code in gdisk
>> and bios_grub flag in GNU Parted) in BIOS systems to embed its core.img
>> file due to lack of post-MBR embed gap in GPT disks. Runtime GPT support
>> in GRUB(2) is provided by the part_gpt module.
>>
>> The grub partition is raw (unformatted).  I think I posted this before.
>>
>> Number  Start (sector)    End (sector)  Size       Code  Name
>>      1            2082            4129   1024.0 KiB  EF02  BIOS boot part
>>      2            4130          208929   100.0 MiB   8300  Linux fs
>>      3          208930         8392737   3.9 GiB     8300  Linux fs
>>      4         8392738        11968424   1.7 GiB     8200  Linux swap
>>      5        11968425        20971486   4.3 GiB     8300  Linux fs
>
> if the "BIOS boot part" at 34 - 2047 sector, and then it is just 1007.0 KiB.
> Number  Start (sector)    End (sector)  Size       Code  Name
>     1              34            2047   1007.0 KiB  EF02
>     2            2048         1361886   664.0 MiB   8300  vm1_part1
> Althrough the first partion is not aligned, but it is just 1007.0 KiB.

That's a good point.  I hadn't thought about that, but I think you're right.

   -- Bruce




More information about the blfs-support mailing list