- 2x 512GB SSDs - GPT Partition
- Legacy boot
ssd layout(on each disk):
- 4MB: space reserved for bios grub(not part of RAID0 array)
- 16GB: swap - reserved for RAID volume
- 25GB : mnt / - ext4 - reserved for RAID volume
- ~420GB: mnt /home - ext4 - reserved for RAID volume
The error I eventually receive is "executing 'grub-install /dev/md1 failed"
I continued installation without bootloader thinking I will install grub by live-usb.
From the live-usb,
sudo grub-install /dev/nvme01n1(name of ssd).
The error I receive is - grub-install failed to get canonical path of aufs'.
mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'
mdadm does not detect any RAID disks ..
Other routes that I tried:
I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.
The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks. After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..
This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..
Please let me know how I should proceed.