Bug#730145: grub-probe fails to accept zfs

Steven Chamberlain steven at pyro.eu.org
Fri Nov 22 19:44:23 UTC 2013


On 22/11/13 19:25, Robert Millan wrote:
> grub-mkconfig aborts on errors, or at least used to. When that happens
> it prefers to avoid messing your grub.cfg rather than risk creating an
> incomplete/unusable file.

grub-mkconfig creates a new grub.cfg with ".new" suffix, overwriting the
original only if it reaches the end of the script without a fatal error.

Failure to detect the filesystem holding GRUB files is not fatal though:

> GRUB_FS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2> /dev/null || echo unknown`"

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org



More information about the Pkg-grub-devel mailing list