Hello,
I have noticed a possible bug in the file /util/grub.d/30_os-prober.in. The
file is located here
https://git.savannah.gnu.org/cgit/grub.git/tree/util/grub.d/30_os-prober.in

The 125 line
```
EXPUUID="${EXPUUID}@${DEVICE#*@}"
```
should be changed to
```

EXPUUID="${EXPUUID}@${DEVICE%@*}"

```

I have two OSs on my laptop. The output of os-prober is
```
/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot
Manager:Windows:efi
/dev/nvme0n1p5:Manjaro Linux (21.0.5):ManjaroLinux:linux
```
The value of ${DEVICE#*@} is "/efi/Microsoft/Boot/bootmgfw.efi". I think it
should be "/dev/nvme0n1p1"

Also look on the lines 182 and 183

EFIPATH=${DEVICE#*@}
DEVICE=${DEVICE%@*}

Thanks for your attention. Ask me if you need
Artem Vessellook

Reply via email to