Marco Moock writes:

Am 26.05.2025 um 14:51:23 Uhr schrieb François Patte:

> At the end, I get this message: device RAID cannot be boot/efi,
> device RAID cannot be swap, device RAID cannot be ext4...

The EFI system partition must not be on LVM or mdadm RAID. The UEFI
needs to be able to read it. That means it needs to have EF00 partition
type and FAT file system.

That's weird. I just confirmed, yes, my system is EFI:

[root@jack ~]# ls /sys/firmware/efi
config_table  esrt              fw_vendor      runtime      systab
efivars       fw_platform_size  mok-variables  runtime-map

… and my /boot/efi is on mdraid.

[root@jack ~]# mount | grep /dev/md
/dev/md127 on / type ext4 (rw,relatime,seclabel)
/dev/md125 on /boot type ext4 (rw,relatime,seclabel)
/dev/md123 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount- ro)
/dev/md124 on /home type ext4 (rw,relatime,seclabel)

The trick is to create a version 1.0 RAID volume, where the RAID superblock is at the end of the raw partition, and RAID-unaware bits just see an ordinary partition, instead of the default version 1.1 RAID where the RAID stuff is at the beginning of the partition.

Attachment: pgpysteuyaY4D.pgp
Description: PGP signature

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to