On Thu, Oct 19, 2023 at 07:31:08PM +0200, Alexis CAMILLERI wrote:
> 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/)

Hmm, not sure why I missed that when I built that.  Will take a look
later.

Bastian

-- 
If there are self-made purgatories, then we all have to live in them.
                -- Spock, "This Side of Paradise", stardate 3417.7

Reply via email to