On Wed 13 Mar 2013 at 23:19:57 +0100, Ralf Mardorf wrote: > On Wed, 2013-03-13 at 21:16 +0100, Sven Joachim wrote: > > For anyone who actually thinks about following Ralf's advice: if you > > do > > that, it is also necessary to divert /usr/sbin/update-grub and replace > > it with something harmless, say a symlink to /bin/true. Otherwise the > > local changes to grub.cfg will be overwritten. > > It's better to use GRUB of a "locked" Linux install. If there would be > an upgrade for GRUB 2 /usr/sbin/update-grub would be reinstalled.
Sven's advice is expanded on here: http://lists.gnu.org/archive/html/grub-devel/2011-03/msg00111.html > On Debian/Ubuntu, you can reliably disable all automatic calls to > update-grub like this: > dpkg-divert --rename --add /usr/sbin/update-grub > ln -s /bin/true /usr/sbin/update-grub > (To undo this, 'rm /usr/sbin/update-grub; dpkg-divert --rename --remove > /usr/sbin/update-grub'.) I've used this technique successfully for some time and cannot see your suggestion offering any advantage. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130313231126.GQ32477@desktop