GPT Partitioning
These instructions are for BIOS systems only, setting up with UEFI no special steps are needed.
Requirements
- Create a completely new partition table. This will remove all existing data, so back-up any needed data before starting.
- 8 MB partition of unformatted space, has to be the very first partition on the HDD.
- No seperate /boot partition.
Steps
It is best to prepare your HDD before starting the installer at this stage.
From a command prompt
First check if gptfdisk is installed:
If not available:
To setup the GPT partition table, in this example an 8Gb USB-stick on /dev/sde is used (notice, need to be root):
If no GPT partition table available yet, cgdisk will create one, so hit enter on the warning messages.
Next view:
Select “delete”, if any similar partition shows. Once your disk shows as “free-space”, create the first partition as unallocated space, 8Mb minimum:
Enter new partition name, or to use the current name:
This example created an 8Mb efi boot partition Next select remaining free space, and that will become a 7.4Gb root partition, for a ext4 filesystem:
Enter new partition name, or to use the current name:
The partitions are setup at this point, so next select “write”, and type “yes” to make the changes permanent. Then select “quit” to leave cgdisk. This only setup partition, no file systems created yet, so back in the normal console, create an ext4 filesystem for the root partition (sde2 in this example):
Make sure that the first partition is completely empty:
And last, the 8Mb unallocated space on sde1, needs the bios_grub boot flags set:
Now you are set to start the installer, and of course you can change any disk setup to your liking, just make sure to have a minimum of about 5Gb available for root, with a DVD ISO install.
Extra instructions for dual booting with a MacOS
Remove the Fat partition at the beginning (labelled EFI). - IF for some reasons you can not resize it.
Create a 32mb partition as the first one, unformatted and with the bios_grub flag.
Recreate the fat32 partition in the remaining space, labelled EFI as before.
Leave the HFS partitions untouched and partition the rest of the disk to your liking.
Run gpt-sync
.
Install with the installer normally.
Reboot, then in refit chose the Partitioning Tool and confirmed (y
) for the syncing.