Package: grub-cloud-amd64
Version: 0.0.5

Installing grub on an i386 server with raid partitioning does not work
because the script does not manage a raid mount for /boot, due to
https://salsa.debian.org/cloud-team/grub-cloud/-/blob/debian/0.1.0/debian/grub-cloud-amd64.postinst#L6

mdadm: cannot open /dev/md: No such file or directory
> grub-install: error: cannot open `/dev/md': No such file or directory.
> dpkg: error processing package grub-cloud-amd64 (--configure):
>  installed grub-cloud-amd64 package post-installation script subprocess 
> returned error exit status 1
>
>
I suggest using grub-probe -t disk instead of grub-probe -t device.
Disk param will return the disk name instead of the partition, so the sed
command can be removed and raid device will work.

local basedev=$(grub-probe -t disk /boot/)
>


Best regards,
Alexis Camilleri

Reply via email to