1. Select Disk 1 → “Use as Boot Device”

Use as Boot Device

This does two things:


2. Select Disk 2 → “Add as Another Boot Device”

Add as Another Boot Device

This creates:

👉 These ESPs ARE NOT RAIDED.
UEFI requires each disk to have its own independent ESP.


3. Create unformatted partitions on both disks

Now you create:

These two partitions will become your RAID‑1 members.


4. Create the software RAID (md)

Choose:

This creates:

/dev/md0

5. Create a filesystem on md0

Inside md0:

This becomes your root filesystem.


🔧 Summary of what your final layout should look like

Disk 1 (sda)

Disk 2 (sdb)

RAID device


Verify on the Installed OS

1. Make sure the RAID array is healthy

Run:

cat /proc/mdstat

You want to see something like:

md0 : active raid1 sda2[0] sdb2[1]
      [UU]

If it’s rebuilding, that’s normal on first boot — it will finish in the background.

You can also check detailed status:

sudo mdadm --detail /dev/md0

If you want to explore this more, you can tap check RAID health.


2. Confirm GRUB is installed on both disks

The installer usually does this automatically, but it’s worth confirming.

Run:

sudo efibootmgr -v

You should see two boot entries, one for each disk’s EFI partition.

If you only see one, install GRUB to the second disk:

sudo grub-install /dev/sdb
sudo update-grub

This ensures the system still boots if one disk dies.

If you want help verifying this, tap verify GRUB on both disks.


Optional but recommended checks

Check that both ESPs are mounted correctly

Only one ESP (usually sda1) will be mounted at /boot/efi.
The second ESP (sdb1) is normally not mounted, and that’s fine.

Enable periodic RAID checks

Ubuntu normally sets this up automatically via systemd timers.

Test failover

If you want to be absolutely sure, you can test by temporarily unplugging one disk and booting.


Boot Ubuntu to a RAID‑1 Array

1. Select Disk 1 → “Use as Boot Device”

This creates:

Use as Boot Device

2. Select Disk 2 → “Add as Another Boot Device”

This creates:

Add as Another Boot Device

NOTE: Only one ESP will be mounted at /boot/efi.
The installer chooses which one.
The other ESP remains unmounted as a backup.
These ESPs are NOT RAIDed.

3. Create unformatted partitions on both disks

For each disk:

These will become the RAID‑1 members.

4. Create the software RAID (md)

This creates: /dev/md0

5. Create a filesystem on md0

Inside md0:

NOTE: Ubuntu creates a GPT partition table inside the RAID device.
This is why you will see md0p1 as the root filesystem.

Final Layout

Disk 1 (sda):

Disk 2 (sdb):

RAID device:

Verify After Installation

1. Check RAID health

cat /proc/mdstat

Expect:

md0 : active raid1 sda2[0] sdb2[1]
      [UU]

Detailed view:

sudo mdadm --detail /dev/md0

2. Confirm GRUB is installed on both disks

sudo efibootmgr -v

You should see two Ubuntu boot entries, one for each disk.

If only one appears:

sudo grub-install /dev/sdb
sudo update-grub

Optional Checks