![Ubuntu 18.04“高级安装”官方指南中的 RAID 1 安装似乎无法进行 UEFI 安装](https://linux22.com/image/754951/Ubuntu%2018.04%E2%80%9C%E9%AB%98%E7%BA%A7%E5%AE%89%E8%A3%85%E2%80%9D%E5%AE%98%E6%96%B9%E6%8C%87%E5%8D%97%E4%B8%AD%E7%9A%84%20RAID%201%20%E5%AE%89%E8%A3%85%E4%BC%BC%E4%B9%8E%E6%97%A0%E6%B3%95%E8%BF%9B%E8%A1%8C%20UEFI%20%E5%AE%89%E8%A3%85.png)
我之前在 Ubuntu 16.04 上设置 RAID 1 时没有遇到任何问题。然而,在 18.04 上却遇到了麻烦。我终于找到了这个指导。
我完全按照指南操作。但是,我无法设置可启动标志(步骤 8)。只有当我选择分区类型为“EFI 系统分区”时,我才能这样做。如果我这样做,下一步就会出现问题。
这里重复了说明中的步骤:
1. Select Manual as the partition method.
2. Select the first hard drive, and agree to "Create a new empty
partition table on this device?".
Repeat this step for each drive you wish to be part of the RAID
array.
3. Select the "FREE SPACE" on the first drive then select "Create a new
partition".
4. Next, select the Size of the partition. This partition will be the
swap partition, and a general rule for swap size is twice that of
RAM. Enter the partition size, then choose Primary, then Beginning.
A swap partition size of twice the available RAM capacity may not
always be desirable, especially on systems with large amounts of
RAM. Calculating the swap partition size for servers is highly
dependent on how the system is going to be used.
5. Select the "Use as:" line at the top. By default this is "Ext4
journaling file system", change that to "physical volume for RAID"
then "Done setting up partition".
6. For the / partition once again select "Free Space" on the first
drive then "Create a new partition".
7. Use the rest of the free space on the drive and choose Continue,
then Primary.
8. As with the swap partition, select the "Use as:" line at the top,
changing it to "physical volume for RAID". Also select the "Bootable
flag:" line to change the value to "on". Then choose "Done setting
up partition".
9. Repeat steps three through eight for the other disk and partitions.