Package: grub-installer
Version: 1.212
Severity: minor
When installing on PC BIOS platform with /boot in partitioned RAID (e.g.
/dev/md0p1), the execution of grub-install fails with the following
messages:
```
Running chroot /target grub-install --force "/dev/sda"
Installing for i386-pc platform.
grub-install : error: disk 'md0,1' not found.
error: Running 'grub-install --force "dev/sda"' failed
```
Manually mounting sysfs on /target/sys allows grub-install to run
successfully. The error does not happen on EFI platform because
grub-installer mounts sysfs in the target filesystem for efivarfs.
The obvious and trivial fix is to always mount sysfs in the target
system. I'll open a merge request.
Note: the error does not happen with /boot on unpartitioned RAID (e.g.
/dev/md0).