#1054240 Grub install failure with grub-cloud-amd64

Package:
grub-cloud-amd64
Source:
grub-cloud-amd64
Description:
GRand Unified Bootloader (cloud setup)
Submitter:
Alexis CAMILLERI
Date:
2023-10-19 18:03:04 UTC
Severity:
normal
#1054240#5
Date:
2023-10-19 17:31:08 UTC
From:
To:
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
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

#1054240#10
Date:
2023-10-19 17:49:07 UTC
From:
To:
You missed the description of this package:

| You don't want to use this package outside of cloud images.

Bastian

#1054240#15
Date:
2023-10-19 17:49:07 UTC
From:
To:
You missed the description of this package:

| You don't want to use this package outside of cloud images.

Bastian

#1054240#20
Date:
2023-10-19 18:00:21 UTC
From:
To:
Hmm, not sure why I missed that when I built that.  Will take a look
later.

Bastian