Am Freitag, den 11.12.2009, 17:26 +0800 schrieb Zhu Yi: > Add a feature to backup the old boot sectors before overwritting > them with grub2 boot and core images. Users can later recover the > previous boot sectors with grub-install --recover option. > > P.S. I found this might be a useful feature after I overwrote my > second PGP encrypted hard disk (Windows XP installed) boot sectors > by grub2 by mistake. > > Signed-off-by: Zhu Yi <yi....@intel.com>
Someone already made a patch for this inside grub-setup See here and also for the discussion of it: http://lists.gnu.org/archive/html/grub-devel/2009-09/msg00242.html -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel