You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use universalBlue Aurora and I've noticed that I'm getting a noisy startup where bootupd tries to update the bootloader, but is failing with the following logs:
Running as unit: bootupd.service
error: Failed to update EFI: Failed to mount "/dev/nvme0n1p1": Subprocess failed: ExitStatus(unix_wait_status(8192))
mount: /boot/efi: fsconfig() failed: /dev/nvme0n1p1: Can't lookup blockdev.
dmesg(1) may have more information after failed mount system call.
dmesg doesnt mention anything meaningful
Currently I'm on a Lenovo Thinkpad, it has an OEM Raid1 setup with Intel RST.
Yes, this is the right place for the issue. Could you also help to run lsblk to better understand the partition layout?And better sudo sfdisk -J /dev/md126?
❯ sudo lsblk
Place your right index finger on the fingerprint reader
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 8G 0 disk [SWAP]
nvme1n1 259:0 0 953,9G 0 disk
├─md126 9:126 0 953,9G 0 raid1
│ ├─md126p1 259:2 0 600M 0 part /boot/efi
│ ├─md126p2 259:3 0 2G 0 part /boot
│ └─md126p3 259:4 0 951,3G 0 part /usr/bin/swtpm
│ /var/home
│ /var
│ /sysroot/ostree/deploy/fedora/var
│ /sysroot
│ /etc
└─md127 9:127 0 0B 0 md
nvme0n1 259:1 0 953,9G 0 disk
├─md126 9:126 0 953,9G 0 raid1
│ ├─md126p1 259:2 0 600M 0 part /boot/efi
│ ├─md126p2 259:3 0 2G 0 part /boot
│ └─md126p3 259:4 0 951,3G 0 part /usr/bin/swtpm
│ /var/home
│ /var
│ /sysroot/ostree/deploy/fedora/var
│ /sysroot
│ /etc
└─md127 9:127 0 0B 0 md
sudo parted -l
Warning: Not all of the space available to /dev/nvme0n1 appears to be used, you
can fix the GPT to use all of the space (an extra 4784 blocks) or continue with
the current setting?
Fix/Ignore? ^C
Model: SAMSUNG MZVLC1T0HFLU-00BLL (nvme)
Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 630MB 629MB fat32 EFI System Partition boot, esp
2 630MB 2778MB 2147MB ext4 bls_boot
3 2778MB 1024GB 1021GB btrfs
Model: Linux Software RAID Array (md)
Disk /dev/md126: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 630MB 629MB fat32 EFI System Partition boot, esp
2 630MB 2778MB 2147MB ext4 bls_boot
3 2778MB 1024GB 1021GB btrfs
Warning: Not all of the space available to /dev/nvme1n1 appears to be used, you can fix the GPT to use all of the space (an extra 4784 blocks) or continue with the current setting?
Fix/Ignore? ^C
Model: SAMSUNG MZVLC1T0HFLU-00BLL (nvme)
Disk /dev/nvme1n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 630MB 629MB fat32 EFI System Partition boot, esp
2 630MB 2778MB 2147MB ext4 bls_boot
3 2778MB 1024GB 1021GB btrfs
Model: Unknown (unknown)
Disk /dev/zram0: 8590MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0,00B 8590MB 8590MB linux-swap(v1)
Guess in this case we should update the bootloader using /dev/md126p1 directly, instead of using the back devices. @travier WDYT?
I tried to setup the same env as RAID1 with 2 disks, but get Failed to find a suitable stage1 device: EFI system Partation cannot be of type mdmember, looks it need the special hardware.
Thanks for the help of storage QE @FineFan, finally I can setup the same env with RAID1 using Fedora 42 workstation, agree this is the problem of bootupd, looks it should not mount the backing device as it is raid member, instead it should use /dev/md126p1.
root@localhost-live:/home/fedora# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 2.2G 0 rom /run/media/hhei/Fedora-WS-Live-42
zram0 251:0 0 3.8G 0 disk [SWAP]
vda 253:0 0 30G 0 disk
└─md126 9:126 0 30G 0 raid1
├─md126p1 259:0 0 477M 0 part
├─md126p2 259:1 0 954M 0 part /boot
└─md126p3 259:2 0 28.6G 0 part /
vdb 253:16 0 30G 0 disk
└─md126 9:126 0 30G 0 raid1
├─md126p1 259:0 0 477M 0 part
├─md126p2 259:1 0 954M 0 part /boot
└─md126p3 259:2 0 28.6G 0 part /
root@localhost-live:/home/fedora# mount /dev/vda1 /boot/efi/
mount: /boot/efi: fsconfig system call failed: /dev/vda1: Can't lookup blockdev.
dmesg(1) may have more information after failed mount system call.
root@localhost-live:/home/fedora# mount /dev/md126p1 /boot/efi/
root@localhost-live:/home/fedora# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 2.2G 0 rom /run/media/hhei/Fedora-WS-Live-42
zram0 251:0 0 3.8G 0 disk [SWAP]
vda 253:0 0 30G 0 disk
└─md126 9:126 0 30G 0 raid1
├─md126p1 259:0 0 477M 0 part /boot/efi
├─md126p2 259:1 0 954M 0 part /boot
└─md126p3 259:2 0 28.6G 0 part /
vdb 253:16 0 30G 0 disk
└─md126 9:126 0 30G 0 raid1
├─md126p1 259:0 0 477M 0 part /boot/efi
├─md126p2 259:1 0 954M 0 part /boot
└─md126p3 259:2 0 28.6G 0 part /
fstab seems to mount the correct device as /boot/efi, I assume bootupd doesn't check it? what's the criteria for bootupd to select which one to mount?
Bootupd firstly find the backing device of mountpoint /boot or /sysroot, then find esp part on each backing device and mount. This works when boot partition is RAID1, but esp is not, so it needs to find out each esp part. e.g.
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
vda 253:0 0 10G 0 disk
├─vda1 253:1 0 1M 0 part
├─vda2 253:2 0 127M 0 part
├─vda3 253:3 0 384M 0 part
│ └─md127 9:127 0 383.9M 0 raid1 /boot
└─vda4 253:4 0 9.5G 0 part
└─md126 9:126 0 9.5G 0 raid1 /var
/sysroot/ostree/deploy/fedora-coreos/var
/sysroot
/etc
vdb 253:16 0 10G 0 disk
├─vdb1 253:17 0 1M 0 part
├─vdb2 253:18 0 127M 0 part
├─vdb3 253:19 0 384M 0 part
│ └─md127 9:127 0 383.9M 0 raid1 /boot
└─vdb4 253:20 0 9.5G 0 part
└─md126 9:126 0 9.5G 0 raid1 /var
/sysroot/ostree/deploy/fedora-coreos/var
/sysroot
/etc
# mount /dev/vda2 /boot/efi/
But in the scenario the whole disk as RAID1, it does not work, bootupd should update to support this. CC @cgwalters
Yes, I think offhand in this situation we should not walk all the way up the chain, but should find the first ESP partition in any parent blockdev or so.
Activity
HuijingHei commentedon Feb 5, 2026
Yes, this is the right place for the issue. Could you also help to run
lsblkto better understand the partition layout?And bettersudo sfdisk -J /dev/md126?dimaguy commentedon Feb 5, 2026
HuijingHei commentedon Feb 6, 2026
Thank you @dimaguy for the info.
Guess in this case we should update the bootloader using
/dev/md126p1directly, instead of using the back devices. @travier WDYT?I tried to setup the same env as RAID1 with 2 disks, but get
Failed to find a suitable stage1 device: EFI system Partation cannot be of type mdmember, looks it need the special hardware.HuijingHei commentedon Feb 11, 2026
Thanks for the help of storage QE @FineFan, finally I can setup the same env with RAID1 using Fedora 42 workstation, agree this is the problem of bootupd, looks it should not mount the backing device as it is raid member, instead it should use
/dev/md126p1.dimaguy commentedon Feb 11, 2026
fstab seems to mount the correct device as /boot/efi, I assume bootupd doesn't check it? what's the criteria for bootupd to select which one to mount?
HuijingHei commentedon Feb 12, 2026
Bootupd firstly find the backing device of mountpoint
/bootor/sysroot, then find esp part on each backing device and mount. This works when boot partition is RAID1, but esp is not, so it needs to find out each esp part. e.g.But in the scenario the whole disk as RAID1, it does not work, bootupd should update to support this. CC @cgwalters
cgwalters commentedon Feb 12, 2026
xref bootc-dev/bootc#1911
Yes, I think offhand in this situation we should not walk all the way up the chain, but should find the first ESP partition in any parent blockdev or so.