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
In this particular case, the MDRAID metadata is at the back of the drives, so the motherboard just sees two identical ESP partitions, then Linux assembles them into a RAID 1.
Unfortunately sbctl fails to detect the EFI partition.
for _, entryToCheck := range []*LsblkEntry{pathEfiEntry, pathBootEntry, pathBootEfiEntry} {
if entryToCheck.Pttype != "gpt" {
continue
}
if entryToCheck.Fstype != "vfat" {
continue
}
if entryToCheck.Parttype != "c12a7328-f81f-11d2-ba4b-00a0c93ec93b" {
continue
}
return entryToCheck.Mountpoint, nil
}
return "", ErrNoESP
I'm wondering if it would be possible to add another check after the for loop to check for RAID?
Pseudocode:
# RAID check
for entryToCheck:
if fstype != vfat: continue
if type != raid1: continue
if Pttype of parent != gpt: continue
if Parttype of parent != c12a7328-f81f-11d2-ba4b-00a0c93ec93b: continue
return entryToCheck.Mountpoint, nil
The text was updated successfully, but these errors were encountered:
I've got the following setup on my machine...
In this particular case, the MDRAID metadata is at the back of the drives, so the motherboard just sees two identical ESP partitions, then Linux assembles them into a RAID 1.
Unfortunately sbctl fails to detect the EFI partition.
I'm wondering if it would be possible to add another check after the for loop to check for RAID?
Pseudocode:
The text was updated successfully, but these errors were encountered: