Differences between revisions 4 and 5
Revision 4 as of 2007-05-15 13:47:14
Size: 702
Comment: Add name of file for add grub options
Revision 5 as of 2007-05-15 15:46:15
Size: 710
Comment: Update hook path
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
 postinst_hook = /sbin/update-grub
 postrm_hook = /sbin/update-grub
 postinst_hook = /usr/sbin/update-grub
 postrm_hook = /usr/sbin/update-grub

BootLoader >


From Lilo to Grub

 apt-get install grub (for this you can use Synaptic).
 grub-install /dev/hda (or /dev/hdb if you install it in your second HardDisc ). This installs the grub configuration files.
 update-grub (to create the configuration files for our system).

Automatical grub update after installing a new Kernel

Add this lines to you /etc/kernel-img.conf

 postinst_hook = /usr/sbin/update-grub
 postrm_hook = /usr/sbin/update-grub
 do_bootloader = no

See also