Penguin

Differences between version 31 and predecessor to the previous major change of DebianNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 31 Last edited on Monday, January 9, 2006 10:09:49 am by MichaelJager Revert
Older page: version 30 Last edited on Wednesday, December 14, 2005 6:06:11 pm by AlastairPorter Revert
@@ -103,8 +103,18 @@
 # Edit <tt>/etc/apt/sources.list</tt> to the version you want 
 # Issue <tt>apt-get --reinstall install binutils</tt> which will reinstall and pretty much everything 
  
 You may find yourself in a situation which you have an old linker that won't let you uninstall a relatively new libc6. The solution to this problem is to reverse the changes in <tt>/etc/apt/sources.list</tt>, get a new linker, get an old libc6, then get an old linker. 
+  
+!! Reconfiguring the bootloader automagically after kernel package install/remove  
+  
+If you use kernel packages, you can configure the machine to run a postinstall/postremove script. This is normally taken care of during system install time (if you install a machine with [GRUB], then update-grub is run after kernel install/remove), but if you change bootloaders, it may not be.  
+  
+Look in /etc/kernel-img.conf (create it if it doesn't exist), and set the postinst_hook and postrm_hook values accordingly.  
+<verbatim>  
+postinst_hook=/sbin/update-grub  
+postrm_hook=/sbin/update-grub  
+</verbatim>  
  
 !!! Miscellaneous Notes 
  
 !! Setting up two [NIC]s to bridge