Disk partitioning miscellanea
Jump to navigation
Jump to search
GPT is cool
For grub
to boot a non-EFI machine from an GPT-partitioned disk, leave a gap between sector 0 and the first partition. Starting the first partition at sector 2048 accomplishes this nicely.
EFI machines will of course need an EFI boot partition, too. A bit annoying.
MD software RAID offsets
12kibytes are used by the MD metadata. If you want a RAID-1 MD device with a capacity of 1Gibyte, create the partitions with 2097176 sectors.