WARNING: All data on the disks will be erased.
Prepare a PC with two disks of the same size.
Boot the machine in LiveCD or LiveUSB mode.
Connect to the machine via SSH.
Run the following command in the console to display disk names:
The disk names will be displayed. In this example, the disk names are:
Clear the superblocks on the disks:
Clean the old metadata:
Create the RAID1 array:
When prompted with "Continue creating array?", confirm by entering "y".
You can now proceed with the installation as per the installation guide. When selecting the disk during installation, choose md0
.
TODO: You may need to modify the grub.cfg
file. Otherwise, there is no guarantee that the system will boot if one of the disks fails.