very good video:
https://www.youtube.com/watch?v=rJzHpc1kQW4

see also:
https://alexskra.com/blog/ubuntu-20-04-with-software-raid1-and-uefi/

####################################################################
After installation > before reboot use the second console session to make some checks!

commands to use:
- alt + <F2> to switch to second session
- mount |grep boot #check which partition is the boot partition
- dd if=/dev/sdb1 of=/dev/sda1 #if sdb1 is the active boot partition then clone the partition, so that the other partition is also bootable

- check raid status: mdadm --detail /dev/md0
--> wait until raid sync is complete
- install efibootmgr tool: apt-get install efibootmgr
- ls -la /dev/disk/by-partuuid [see the uuid of sda1 + sdb1]
- efibootmgr -v [check if boot partuuid - from sda1 + sdb1 are in the boot list!]

----------------------------------------------------------------------------------

useful commands

#How to show status
mdadm -D /dev/md0

How to re-add a drive when RAID is in degraded mode?
$ mdadm /dev/md0 -a /dev/sdb2
mdadm: re-added /dev/sdb2

#How to remove a partition from a raid ?
mdadm /dev/md0 --remove /dev/sdc2

computer2know :: thank you for your visit :: have a nice day :: © 2024