Skip to content

Instantly share code, notes, and snippets.

@walidvb
Created May 8, 2012 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walidvb/2a479347b9d383b00c60 to your computer and use it in GitHub Desktop.
Save walidvb/2a479347b9d383b00c60 to your computer and use it in GitHub Desktop.
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI system partition
2 409640 1421154879 677.5 GiB AF00 Customer
3 1421154880 1422424415 619.9 MiB AB00 Recovery HD
4 1422426112 1465147391 20.4 GiB 0700 UBUNTU
Recovery/transformation command (? for help): h
WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.
Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 24
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
GPT partition #24 does not exist; skipping.
Unused partition space(s) found. Use one to protect more partitions? (Y/N): n
Recovery/transformation command (? for help): h
WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.
Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 2 4
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): AF
Set the bootable flag? (Y/N): n
Creating entry for GPT partition #4 (MBR partition #3)
Enter an MBR hex code (default 07): 83
Set the bootable flag? (Y/N): n
Unused partition space(s) found. Use one to protect more partitions? (Y/N): y
Note: Default is 0xEE, but this may confuse Mac OS X.
Enter an MBR hex code (default EE): AF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment