Differences between revisions 12 and 13
Revision 12 as of 2009-04-18 11:40:07
Size: 1068
Editor: FranklinPiat
Comment: fix link
Revision 13 as of 2010-11-15 16:21:39
Size: 1271
Editor: ?skizzhg
Comment: myrddin.org howto seems gone
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/FromLiloToGrub|Italiano]]-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]||
----
Line 19: Line 21:
=== Preservation of configuration files ===
Line 33: Line 34:
Add this lines to you '''/etc/kernel-img.conf''' Add these lines to your '''/etc/kernel-img.conf'''
Line 46: Line 47:
 * http://myrddin.org/howto/debian-grub.php ## * http://myrddin.org/howto/debian-grub.php

Translation(s): English - Italiano

(!) ?Discussion


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

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 these lines to your /etc/kernel-img.conf

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

See also