Introduction
Looking for my disk image sizing standard (revision 1), which used to be here?
This page lists the partitioning schemes that belong to revision 1 of my partitioning standard.
Partitioning scheme “legacy”
- Create a primary partition of size ‘1073741824B’ (i.e. 1024MiB) at the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
- Create LV root on vg0 of size ‘26843545600B’ (i.e. 25GiB).
- Select ‘Finish’ to return to the Manual partitioner.
- Use LV root for ext4 filesystem mounted on /.
- Save the changes and when warned about the absence of a swap partition continue anyway.
Partitioning scheme “virtualisation-raid0-lvm”
- Create a primary partition of size ‘576716800B’ (i.e. 550MiB;) at the beginning of the first disk to be used for EFI System Partition.
- Create a primary partition of the same size at the beginning of the second disk not to be used.
- Create a primary partition of size ‘1073741824B’ (i.e. 1024MiB) at the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
- Create a primary partition of the same size at the beginning of the second disk not to be used.
- Create a primary partition using all remaining space on the first disk to be used for physical volume for RAID.
- Create a primary partition using all remaining space on the second disk to be used for physical volume for RAID.
- Select ‘Configure software RAID’, allow the partition manager to write the just-defined partitions to disk.
- When prompted ‘Software RAID configuration actions’, select ‘Create MD device’.
- When prompted ‘Software RAID device type:’, select ‘RAID0’.
- When prompted ‘Activate devices for the RAID0 array:’, select disks /dev/*da3 and /dev/*db3 and select ‘Continue’.
- When prompted ‘Write the changes to the storage devices and configure RAID?’, select ‘Yes’.
- When prompted ‘Software RAID configuration actions’, select ‘Finish’.
- Select the RAID0 device and use it for physical volume for LVM
- Select ‘Configure the Logical Volume Manager’, allow the partition manager to write the just-defined partitions to disk.
- Create VG vg0 on md0.
- Create LV root on vg0 of size ‘16106127360B” (i.e. 15GiB).
- Select ‘Finish’ to return to the Manual partitioner.
- Use LV root for ext4 filesystem mounted on /.
- Save the changes and when warned about the absence of a swap partition continue anyway.
Partitioning scheme “virtualisation-raid0-zfs”
- Create a primary partition of size ‘576716800B’ (i.e. 550MiB;) at the beginning of the first disk to be used for EFI System Partition.
- Create a primary partition of the same size at the beginning of the second disk not to be used.
- Create a primary partition of size ‘1073741824B’ (i.e. 1024MiB) at the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
- Create a primary partition of the same size at the beginning of the second disk not to be used.
- Determine which is the larger: desired swap space or 4GB.
- Create a primary partition of size <desired-swap-in-bytes-or-4294967296>B at the beginning of the first disk to be used for ext4 filesystem mounted on / (this will be repurposed as swap later).
- Create a primary partition of the same size at the beginning of the second disk not to be used.
- Create a primary partition using all remaining space on the first disk not to be used (it will be repurposed for ZFS later but this can’t be specified at this point).
- Create a primary partition using all remaining space on the second disk not to be used (it will be repurposed for ZFS later but this can’t be specified at this point).
- Save the changes and when warned about the absence of a swap partition continue anyway.
Partitioning scheme “standard”
- Move to the large ‘FREE SPACE’ row, create a primary partition of size ‘576716800B’ (i.e. 550MiB;) at the beginning of the first disk to be used for EFI System Partition.
- Move to the large ‘FREE SPACE’ row, create a primary partition of size ‘1073741824B’ (i.e. 1024MiB) at the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
- Move to the large ‘FREE SPACE’ row, create a primary partition using all remaining space on the first disk to be use for physical volume for LVM.
- Select ‘Configure the Logical Volume Manager’, allow the partition manager to write the just-defined partitions to disk.
- Create a volume group with name ‘vg0 on the third partition.
- On a server: create LV ‘root’ on vg0 of size ‘16106127360B’ (i.e. 15GiB).
- On a deskop or laptop: create LV ‘root’ on vg0 of size ‘26843545600B’ (i.e. 25GiB).
- Select ‘Finish’ to return to the Manual partitioner.
- Use LV root for ext4 filesystem mounted on /.
- Save the changes and when warned about the absence of a swap partition continue anyway.