Download the ISO

wget https://cdimage.ubuntu.com/releases/24.04.3/release/ubuntu-24.04.3-live-server-arm64.iso

Automate the install

todo (autoinstall)

Create RAID1 disk configuration using the installer

Add both disks as a boot device

[ Disk1 > ] => Use as boot device
[ Disk2 > ] => Add as another boot device

Create a /boot, swap & / partition

For both disks:

/boot

free space => Add GPT partition => Size: 1G ; Format: Leave unformatted => Create

swap

free space => Add GPT partition => Size: [ match RAM amount ] ; Format: Leave unformatted => Create

/

free space => Add GPT partition => Size: leave blank to allocate remaining space ; Format: Leave unformatted => Create

Create the RAID devices

/boot

[ Create software RAID (md) > ]

Name: md0

RAID Level: [ 1 (mirrored)]

Devices: Disk1 => partition 2 ; Disk2 => partition 2

swap

[ Create software RAID (md) > ]

Name: md1

RAID Level: [ 1 (mirrored)]

Devices: Disk1 => partition 3 ; Disk2 => partition 3

/

[ Create software RAID (md) > ]

Name: md2

RAID Level: [ 1 (mirrored)]

Devices: Disk1 => partition 4 ; Disk2 => partition 4

Format the RAID devices

/boot

[ md0 > ] => free space => Add GPT partition => Size: leave blank to allocate all space ; Format: ext4 ; Mount: /boot => Create

Optionally add to vg group & encrypt

todo

swap

[ md1 > ] => free space => Add GPT partition => Size: leave blank to allocate all space ; Format: swap => Create

/

[ md2 > ] => free space => Add GPT partition => Size: leave blank to allocate all space ; Format: ext4 ; Mount : / => Create

Optionally add to vg group & encrypt

todo

Check the configuration is correct

Should have:

  MOUNT POINT    SIZE           TYPE        DEVICE TYPE
[ /              [ / size ]     new ext4    new partition of software RAID 1 > ]
[ /boot          1020.000M      new ext4    new partition of software RAID 1 > ]
[ SWAP           [ RAM size ]   new swap    new partition of software RAID 1 > ]

Finish the configuration

[ Done ]