Re: RAID + UEFI

Thomas Lange <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
>>>>> On Thu, 21 Jan 2021 18:13:25 +0100, Alexander Thomas <[email protected]> said:


    > I would prefer the second method because it is not a hack. I have
    > successfully tried it with only 1 disk in the RAID during install, but
    > with 2 disks there is a problem. The disk_config for this 2-disk case
    > currently looks like:

    > disk_config disk1 disklabel:gpt bootable:1

    > primary /boot/efi  512M     vfat  rw
    > primary -  512M     -  -
    > primary -  1G-4G    -  -
    > primary -  30G-36G  -  -
    > primary -  4G-      -  -

    > disk_config disk2 sameas:disk1 bootable:1

    > Obvious problem: the `sameas` also clones the /boot/efi mount point,
    > and install fails with “mount point /boot/efi used twice”.
    > Is there an easy way around this, like some mountdisks hook script, or
    > is the ESP-inside-RAID a better option after all?
The only workaround I know is not to use samas, but to copy the config
from disk1 to disk2 and then remove the mount point from disk2.

-- 
regards Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.