Bug#538743: grub2: update-grub does not backup grub.cfg before changes

Felix Zielcke fzielcke at z-51.de
Sun Jul 26 19:52:51 UTC 2009


Am Sonntag, den 26.07.2009, 14:31 -0400 schrieb blaz:
> update-grub can leave grub.cfg severly mangled if any error occurs. It
> would be nice if it backed it first. I couldn't find any when it
> happened to me.

Are you sure there isn't /boot/grub/grub.cfg.new?
The config is generated there and then it's moved to grub.cfg
How did it fail?
I just tried it with an exit 1 at end of /etc/grub.d/00_header and it
worked fine for me.

-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list