[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#730145: grub-probe fails to accept zfs



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@pyro.eu.org


Reply to: