1. Cleanup
-
Partitioning method: Manual
-
Partition, free space or device: Configure the Logical Volume Manager
-
Write the changes to disks and configure LVM? Yes
-
Optional: Encryption configuration actions: Delete logical volume
-
Optional: Encryption configuration actions: Delete volume group
-
Encryption configuration actions: Finish
-
Partition, free space or device: Configure software RAID
-
Write the changes to the storage devices and configure RAID? Yes
-
Optional: Software RAID configuration actions: Delete MD device
-
Optional: Software RAID device to be deleted? md0_raid1
-
Optional: Really delete this software RAID device? Yes
-
Optional: Software RAID configuration actions: Delete MD device
-
Optional: Software RAID device to be deleted? md1_raid1
-
Optional: Really delete this software RAID device? Yes
-
Software RAID configuration actions: Finish
-
Optional: Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► #1
-
Optional: Partition settings: Delete the partition
-
Optional: Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► #5
-
Optional: Partition settings: Delete the partition
-
Optional: Partition, free space or device: SCSI# (0,0,0) (sdb) - <disksize> ► #1
-
Optional: Partition settings: Delete the partition
-
Optional: Partition, free space or device: SCSI# (0,0,0) (sdb) - <disksize> ► #5
-
Optional: Partition settings: Delete the partition
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sdb) - <disksize>
-
Create new empty partition table on this device? Yes
2. Partitions
2.1. BIOS
-
Partition layout.
Partition 1: /dev/sda1 Root partition: <disksize> - <swapsize> MiB Partition 2: /dev/sda2 Extd partition: <swapsize> MiB Partition 5: /dev/sda5 Swap partition: <swapsize> MiB
-
Partitioning method: Guided - use entire disk
-
Select disk to partition: SCSI# (0,0,0) (sda)
-
Partitioning scheme: All files in one partition (recommended for new users)
-
Final partition layout.
SCSI# (0,0,0) (sda) - ###.# GB ATA #1 primary 1.0 GB B f ext4 /boot #5 logical ###.# GB K crypto (sda5_crypt) -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.2. BIOS + LUKS
-
Partition layout.
Partition 1: /dev/sda1 Boot partition: 1024 MiB Partition 2: /dev/sda2 Extd partition: <disksize> - <bootsize> MiB Partition 5: /dev/sda5 LUKS partition: <disksize> - <bootsize> MiB Physical Vol: /dev/mapper/sda5_crypt LUKS volume: <disksize> - <bootsize> MiB Logical Vol 1: /dev/<volgrp>/root Root volume: <disksize> - <bootsize> - <ramsize> - 100 MiB Logical Vol 2: /dev/<volgrp>/swap Swap volume: <ramsize> + 100 MiB
2.2.1. Guided
-
Partitioning method: Guided - use entire disk and set up encrypted LVM
-
Select disk to partition: SCSI# (0,0,0) (sda) - <disksize>
-
Partitioning scheme: All files in one partition (recommended for new users)
-
Write the changes to disks and configure LVM? Yes
-
Wait for disk erase to finish.
-
Encryption passphrase: level 1 passphrase
-
Re-enter passphrase to verify: level 1 passphrase
-
Optional: Use weak passphrase? Yes
-
Amount of volume group to use for guided partitioning: <max size>
-
Final partition layout.
Encrypted volume (sda5_crypt) - ###.# GB Linux device-mapper (crypt) #1 ###.# GB K lvm LVM VG <volgrp>, LV root - ###.# GB Linux device-mapper (linear) #1 ###.# GB f ext4 / LVM VG <volgrp>, LV swap - #.# GB Linux device-mapper (linear) #1 #.# GB f swap swap SCSI# (0,0,0) (sda) - ###.# GB ATA #1 primary 254.8 MB F ext2 /boot #5 logical ###.# GB K crypto (sda5_crypt) -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.2.2. Manual
-
Partitioning method: Manual
Boot partition:
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► pri/log <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: 1.024 GB
-
Type for the new partition: Primary
-
Location for the new partition: Beginning
-
Partition settings: Mount point: /
-
Mount point for this partition: /boot - static files of the boot loader
-
Partition settings: Label: none
-
Label for the file system in this partition: BOOT
-
Partition settings: Bootable flag: off
Partition settings: Use as: Ext4 journaling file system Mount point: /boot Mount options: defaults Label: BOOT Reserved blocks: 5% Typical usage: standard Bootable flag: on -
Partition settings: Done setting up the partition
-
Setup LUKS.
-
Final partition layout.
Encrypted volume (sda5_crypt) - ###.# GB Linux device-mapper (crypt) #1 ###.# GB K lvm LVM VG <volgrp>, LV root - ###.# GB Linux device-mapper (linear) #1 ###.# GB f ext4 / LVM VG <volgrp>, LV swap - #.# GB Linux device-mapper (linear) #1 #.# GB f swap swap SCSI# (0,0,0) (sda) - ###.# GB ATA #1 primary 1.0 GB B f ext4 /boot #5 logical ###.# GB K crypto (sda5_crypt) -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.3. BIOS + RAID
-
Partition layout.
Partition 1: /dev/sda1 + /dev/sdb1 RAID + Root partition: <disksize> - <swapsize> MiB Partition 2: /dev/sda2 + /dev/sdb2 Extd partition: <swapsize> MiB Partition 5: /dev/sda5 + /dev/sdb5 RAID + Swap partition: <swapsize> MiB RAID Device 0: /dev/md0 Root partition: <disksize> - <swapsize> MiB RAID Device 1: /dev/md1 Swap partition: <swapsize> MiB
-
Partitioning method: Manual
RAID partitions:
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► pri/log <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: <disksize> - <ramsize> - 0.1 GB
-
Type for the new partition: Primary
-
Location for the new partition: Beginning
-
Partition settings: Use as: Ext4 journaling file system
-
How to use this partition: physical volume for RAID
-
Partition settings: Bootable flag: off
Partition settings: Use as: physical volume for RAID Bootable flag: on -
Partition settings: Done setting up the partition
-
Note: Repeat the above steps for sdb.
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► pri/log <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: <max size>
-
Type for the new partition: Logical
-
Partition settings: Use as: Ext4 journaling file system
-
How to use this partition: physical volume for RAID
Partition settings: Use as: physical volume for RAID Bootable flag: off -
Partition settings: Done setting up the partition
-
Note: Repeat the above steps for sdb.
MD devices:
-
Partition, free space or device: Configure software RAID
-
Write the changes to the storage devices and configure RAID? Yes
-
Software RAID configuration actions: Create MD device
-
Software RAID device type: RAID1
-
Number of active devices for the RAID1 array: 2
-
Number of spare devices for the RAID1 array: 0
-
Active devices for the RAID1 array: /dev/sda1 and /dev/sdb1
-
Active devices for the RAID1 array: Continue
-
Software RAID configuration actions: Create MD device
-
Software RAID device type: RAID1
-
Number of active devices for the RAID1 array: 2
-
Number of spare devices for the RAID1 array: 0
-
Active devices for the RAID1 array: /dev/sda5 and /dev/sdb5
-
Active devices for the RAID1 array: Continue
-
Software RAID configuration actions: Finish
-
Partition, free space or device: RAID1 device #0 ► #1
-
Partition settings: Use as: do not use
-
How to use this partition: Ext4 journaling file system
-
Partition settings: Mount point: none
-
Mount point for this partition: / - the root file system
-
Partition settings: Label: none
-
Label for the file system in this partition: ROOT
Partition settings: Use as: Ext4 journaling file system Mount point: / Mount options: defaults Label: ROOT Reserved blocks: 5% Typical usage: standard -
Partition settings: Done setting up the partition
-
Partition, free space or device: RAID1 device #1 ► #1
-
Partition settings: Use as: do not use
-
How to use this partition: swap area
Partition settings: Use as: swap area
-
Partition settings: Done setting up the partition
-
Final partition layout.
RAID1 device #0 - ###.# GB Software RAID device #1 ###.# GB f ext4 / RAID1 device #1 - ###.# GB Software RAID device #1 ###.# GB f swap swap SCSI# (0,0,0) (sda) - ###.# GB ATA #1 primary ###.# GB B K raid #5 logical ###.# GB K raid SCSI# (0,0,0) (sdb) - ###.# GB ATA #1 primary ###.# GB B K raid #5 logical ###.# GB K raid -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.4. BIOS + RAID + LUKS
-
Partition layout.
Partition 1: /dev/sda1 + /dev/sdb1 RAID + Boot partition: 1024 MiB Partition 2: /dev/sda2 + /dev/sdb2 Extd partition: <disksize> - <bootsize> MiB Partition 5: /dev/sda5 + /dev/sdb5 RAID + LUKS partition: <disksize> - <bootsize> MiB RAID Device 0: /dev/md0 Boot partition: 1024 MiB RAID Device 1: /dev/md1 Crypto device: <disksize> - <bootsize> MiB Physical Vol: /dev/mapper/md1_crypt Crypto volume: <disksize> - <bootsize> MiB Logical Vol 1: /dev/<volgrp>/root Root volume: <disksize> - <bootsize> - <ramsize> - 100 MiB Logical Vol 2: /dev/<volgrp>/swap Swap volume: <ramsize> + 100 MiB
-
Partitioning method: Manual
RAID partitions:
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► pri/log <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: 1.024 GB
-
Type for the new partition: Primary
-
Location for the new partition: Beginning
-
Partition settings: Use as: Ext4 journaling file system
-
How to use this partition: physical volume for RAID
-
Partition settings: Bootable flag: off
Partition settings: Use as: physical volume for RAID Bootable flag: on -
Partition settings: Done setting up the partition
-
Note: Repeat the above steps for sdb.
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► pri/log <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: <max size>
-
Type for the new partition: Logical
-
Partition settings: Use as: Ext4 journaling file system
-
How to use this partition: physical volume for RAID
Partition settings: Use as: physical volume for RAID Bootable flag: off -
Partition settings: Done setting up the partition
-
Note: Repeat the above steps for sdb.
MD devices:
-
Partition, free space or device: Configure software RAID
-
Write the changes to the storage devices and configure RAID? Yes
-
Software RAID configuration actions: Create MD device
-
Software RAID device type: RAID1
-
Number of active devices for the RAID1 array: 2
-
Number of spare devices for the RAID1 array: 0
-
Active devices for the RAID1 array: /dev/sda1 and /dev/sdb1
-
Active devices for the RAID1 array: Continue
-
Software RAID configuration actions: Create MD device
-
Software RAID device type: RAID1
-
Number of active devices for the RAID1 array: 2
-
Number of spare devices for the RAID1 array: 0
-
Active devices for the RAID1 array: /dev/sda5 and /dev/sdb5
-
Active devices for the RAID1 array: Continue
-
Software RAID configuration actions: Finish
-
Partition, free space or device: RAID1 device #0 ► #1
-
Partition settings: Use as: do not use
-
How to use this partition: Ext4 journaling file system
-
Partition settings: Mount point: none
-
Mount point for this partition: /boot - static files of the boot loader
-
Partition settings: Label: none
-
Label for the file system in this partition: BOOT
Partition settings: Use as: Ext4 journaling file system Mount point: /boot Mount options: defaults Label: BOOT Reserved blocks: 5% Typical usage: standard -
Partition settings: Done setting up the partition
-
Partition, free space or device: RAID1 device #1 ► #1
-
Partition settings: Use as: do not use
-
How to use this partition: physical volume for LVM
Partition settings: Use as: physical volume for LVM
-
Partition settings: Done setting up the partition
-
Setup LUKS.
-
Final partition layout.
Encrypted volume (md1_crypt) - ###.# GB Linux device-mapper (crypt) #1 ###.# GB K lvm LVM VG <volgrp>, LV root - ###.# GB Linux device-mapper (linear) #1 ###.# GB f ext4 / LVM VG <volgrp>, LV swap - #.# GB Linux device-mapper (linear) #1 #.# GB f swap swap RAID1 device #0 - 1.0 GB Linux Software RAID Array #1 1.0 GB F ext4 /boot RAID1 device #1 - ###.# GB Software RAID device #1 ###.# GB K crypto (md1_crypt) SCSI# (0,0,0) (sda) - ###.# GB ATA #1 primary 1.0 GB B K raid #5 logical ###.# GB K raid SCSI# (0,0,0) (sdb) - ###.# GB ATA #1 primary 1.0 GB B K raid #5 logical ###.# GB K raid -
Note: Scroll down to the bottom of the screen.
-
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.5. UEFI
-
Partition layout.
Partition 1: /dev/sda1 EFI partition: 512 MiB Partition 2: /dev/sda2 Root partition: <disksize> - <efisize> - <swapsize> MiB Partition 3: /dev/sda3 Swap partition: <swapsize> MiB
-
Partitioning method: Guided - use entire disk
-
Select disk to partition: SCSI# (0,0,0) (sda)
-
Partitioning scheme: All files in one partition (recommended for new users)
-
Final partition layout.
SCSI# (0,0,0) (sda) - ###.# GB ATA 1.0 MB FREE SPACE #1 536.9 MB B f ESP #2 ###.# GB f ext4 / #3 #.# GB f swap swap 1.0 MB FREE SPACE -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.6. UEFI + LUKS
-
Partition layout.
Partition 1: /dev/sda1 EFI partition: 512 MiB Partition 2: /dev/sda2 Boot partition: <disksize> - <efisize> MiB Partition 3: /dev/sda3 LUKS partition: <disksize> - <efisize> - <bootsize> MiB Physical Vol: /dev/mapper/sda5_crypt LUKS volume: <disksize> - <efisize> - <bootsize> MiB Logical Vol 1: /dev/<volgrp>/root Root volume: <disksize> - <efisize> - <bootsize> - <ramsize> - 100 MiB Logical Vol 2: /dev/<volgrp>/swap Swap volume: <ramsize> + 100 MiB
2.6.1. Guided
-
Partitioning method: Guided - use entire disk and set up encrypted LVM
-
Select disk to partition: SCSI# (0,0,0) (sda) - <disksize>
-
Partitioning scheme: All files in one partition (recommended for new users)
-
Write the changes to disks and configure LVM? Yes
-
Wait for disk erase to finish.
-
Encryption passphrase: level 1 passphrase
-
Re-enter passphrase to verify: level 1 passphrase
-
Optional: Use weak passphrase? Yes
-
Amount of volume group to use for guided partitioning: <max size>
-
Final partition layout.
Encrypted volume (sda3_crypt) - ###.# GB Linux device-mapper (crypt) #1 ###.# GB K lvm LVM VG <volgrp>, LV root - ###.# GB Linux device-mapper (linear) #1 ###.# GB f ext4 / LVM VG <volgrp>, LV swap - #.# GB Linux device-mapper (linear) #1 #.# GB f swap swap SCSI# (0,0,0) (sda) - ###.# GB ATA 1.0 MB FREE SPACE #1 536.9 MB B F ESP #2 255.9 MB F ext2 /boot #3 ###.# GB K crypto (sda3_crypt) 1.0 MB FREE SPACE -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.6.2. Manual
-
Partitioning method: Manual
EFI partition:
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: 0.538 GB
-
Location for the new partition: Beginning
-
Partition settings: Use as: Ext4 journaling file system
-
How to use this partition: EFI System Partition
Partition settings: Name: Use as: EFI System Partition Bootable flag: on
-
Partition settings: Done setting up the partition
Boot partition:
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: 1.024 GB
-
Location for the new partition: Beginning
-
Partition settings: Mount point: /
-
Mount point for this partition: /boot - static files of the boot loader
-
Partition settings: Label: none
-
Label for the file system in this partition: BOOT
Partition settings: Name: Use as: Ext4 journaling file system Mount point: /boot Mount options: defaults Label: BOOT Reserved blocks: 5% Typical usage: standard Bootable flag: off -
Partition settings: Done setting up the partition
-
Setup LUKS.
-
Final partition layout.
Encrypted volume (sda3_crypt) - ###.# GB Linux device-mapper (crypt) #1 ###.# GB K lvm LVM VG <volgrp>, LV root - ###.# GB Linux device-mapper (linear) #1 ###.# GB f ext4 / LVM VG <volgrp>, LV swap - #.# GB Linux device-mapper (linear) #1 #.# GB f swap swap SCSI# (0,0,0) (sda) - ###.# GB ATA 1.0 MB FREE SPACE #1 536.9 MB B F ESP #2 ###.# GB F ext4 /boot #3 ###.# GB K crypto (sda3_crypt) 1.0 MB FREE SPACE -
Partition, free space or device: Finish partitioning and write changes to disk
-
Write the changes to disks? Yes
2.7. UEFI + RAID
-
Todo:
2.8. UEFI + RAID + LUKS
-
Partition layout.
Partition 1: /dev/sda1 EFI partition: 512 MiB Partition 3: /dev/sda3 RAID + LUKS partition: <disksize> - <efisize> MiB Physical Vol: /dev/mapper/sda5_crypt LUKS volume: <disksize> - <efisize> MiB Logical Vol 1: /dev/<volgrp>/root Root volume: <disksize> - <efisize> - <ramsize> - 100 MiB Logical Vol 2: /dev/<volgrp>/swap Swap volume: <ramsize> + 100 MiB
-
Partitioning method: Manual
EFI partition:
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize>
-
Create new empty partition table on this device? Yes
-
Partition, free space or device: SCSI# (0,0,0) (sda) - <disksize> ► <size> FREE SPACE
-
How to use this free space: Create a new partition
-
New partition size: 0.512 GB
-
Location for the new partition: Beginning
-
Partition settings: Use as: Ext4 journaling file system
-
How to use this partition: EFI System Partition
-
Partition settings: Bootable flag: off
Partition settings: Name: Use as: EFI System Partition Bootable flag: on -
Partition settings: Done setting up the partition
-
Note: Repeat the above steps for sdb.
-
Todo:
3. LUKS
-
Note: It takes about 2 minutes to erase a 8 GB SSD partition.
-
Note: It takes about 45 minutes to erase a 240 GB SSD partition.
-
Note: It takes about 2 hours to erase a 500 GB partition.
LUKS device:
-
Partition, free space or device: Configure encrypted volumes
-
Write the changes? Yes
-
Encryption configuration actions: Create encrypted volumes
-
BIOS + LUKS: Devices to encrypt: /dev/sda free #1
-
BIOS + RAID + LUKS: Devices to encrypt: /dev/md1
-
UEFI + LUKS: Devices to encrypt: /dev/sda free #2
-
Devices to encrypt: Continue
Partition settings: Name: (1) Use as: physical volume for encryption Encryption method: Device-mapper (dm-crypt) Encryption: aes Key size: 256 IV algorithm: xts-plain64 Encryption key: Passphrase Erase data: yes Bootable flag: off (1) (2)1 UEFI + LUKS 2 BIOS + LUKS -
Partition settings: Done setting up the partition
-
Write the changes to disks and configure encrypted volumes? Yes
-
Encryption configuration actions: Finish
-
Full erase: Really erase the data? Yes
-
Full erase: Wait for erase to finish.
-
Skip erase: Really erase the data? No
-
Encryption passphrase: level 1 passphrase
-
Re-enter passphrase to verify: level 1 passphrase
-
Optional: Use weak passphrase? Yes
LUKS volumes:
-
Partition, free space or device: Configure the Logical Volume Manager
-
Write the changes to disks and configure LVM? Yes
-
LVM configuration action: Create volume group
-
Volume group name: <volgrp>
-
BIOS + LUKS: Devices for the new volume group: /dev/mapper/sda5_crypt
-
BIOS + RAID + LUKS: Devices for the new volume group: /dev/mapper/md1_crypt
-
UEFI + LUKS: Devices for the new volume group: /dev/mapper/sda3_crypt
-
Devices for the new volume group: Continue
-
Write the changes to disks and configure LVM? Yes
-
LVM configuration action: Create logical volume
-
Volume group: <volgrp>
-
Logical volume name: root
-
Logical volume size: <default> - <ramsize> - 100 MB
-
LVM configuration action: Create logical volume
-
Volume group: <volgrp>
-
Logical volume name: swap
-
Logical volume size: <default> MB
-
LVM configuration action: Finish
-
Partition, free space or device: LVM VG <volgrp>, LV root ► #1
-
Partition settings: Use as: do not use
-
How to use this partition: Ext4 journaling file system
-
Partition settings: Mount point: none
-
Mount point for this partition: / - the root file system
-
Partition settings: Done setting up the partition
-
Partition, free space or device: LVM VG <volgrp>, LV swap ► #1
-
Partition settings: Use as: do not use
-
How to use this partition: swap area
-
Partition settings: Done setting up the partition