Disk partitioning miscellanea

From FnordWiki
Revision as of 21:16, 12 July 2012 by Adj (talk | contribs) (Created page with "== GPT is cool == For '''<code>grub</code>''' to boot a non-EFI machine from an GPT-partitioned disk, leave a gap between sector 0 and the first partition. Starting the first pa…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.