Differences between revisions 11 and 12
Revision 11 as of 2009-03-16 03:35:53
Size: 1066
Editor: anonymous
Comment: converted to 1.6 markup
Revision 12 as of 2009-04-18 11:40:07
Size: 1068
Editor: FranklinPiat
Comment: fix link
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
 * [[Synaptic]] and AptGet .  * [[DebianPackageManagement]]

BootLoader > From Lilo to Grub

From Lilo to Grub

Grub installation

 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).

After testing the new grub installation, you can safetly remove lilo from your system using this command:

apt-get purge lilo

Preservation of configuration files

Preservation of configuration files

Configuration files are in Lilo in

/etc/lilo.conf

and in Grub in

/boot/grub/menu.lst

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