Using SWRAID creates ESP as RAID #106

Closed
opened 2024-11-21 10:16:43 +01:00 by FelixJacobi · 1 comment
FelixJacobi commented 2024-11-21 10:16:43 +01:00 (Migrated from github.com)

Hi,

I used the follow config:

DRIVE1 /dev/nvme0n1
DRIVE2 /dev/nvme1n1
HOSTNAME some-hostname.example
PART /boot/efi esp 256M
SWRAID 1
SWRAIDLEVEL 1
PART /boot  ext4      1G
PART lvm    vgroot    all
LV vgroot   root   /        ext4         all
IMAGE /root/.oldroot/nfs/install/../images/Debian-1207-bookworm-amd64-base.tar.gz

This creates /boot/efi as RAID, which does not make any sense in my opinion, since UEFI cannot read from a RAID (yes, I know about the 0.9 meta-data hack, but I am not willing to use it since it is shady).

My expectation would be to create two separate EFI partitions with one mounted to /boot/efi and the other to be maintained manually. Or am I already able to archive that and did I miss something?

Hi, I used the follow config: ~~~ DRIVE1 /dev/nvme0n1 DRIVE2 /dev/nvme1n1 HOSTNAME some-hostname.example PART /boot/efi esp 256M SWRAID 1 SWRAIDLEVEL 1 PART /boot ext4 1G PART lvm vgroot all LV vgroot root / ext4 all IMAGE /root/.oldroot/nfs/install/../images/Debian-1207-bookworm-amd64-base.tar.gz ~~~ This creates `/boot/efi` as RAID, which does not make any sense in my opinion, since UEFI cannot read from a RAID (yes, I know about the 0.9 meta-data hack, but I am not willing to use it since it is shady). My expectation would be to create two separate EFI partitions with one mounted to `/boot/efi` and the other to be maintained manually. Or am I already able to archive that and did I miss something?
asciiprod commented 2024-11-21 10:53:51 +01:00 (Migrated from github.com)

Yes, this is intended and will create a RAID for ESP using the metadata 1.0 to allow UEFI firmware to read the ESP. Only Ubuntu supports multiple ESP natively and will be set up as such.
If you like to have separate ESPs for any other distro, then feel free to remove the RAID after installation.

Yes, this is intended and will create a RAID for ESP using the metadata 1.0 to allow UEFI firmware to read the ESP. Only Ubuntu supports multiple ESP natively and will be set up as such. If you like to have separate ESPs for any other distro, then feel free to remove the RAID after installation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DiamantTh/installimage#106
No description provided.