Grub


Table of Contents

How to switch from LILO to GRUB 
Install grub 
configuration file 
What are the two roots in grub? 
What are the two roots in grub? 
mkboot with grub 
How to restore GRUB menu after Windows installation? 
Grub location 
Grub location 
Best place for Grub 
Managing grub/menu.lst with multiple distros 
Getting to know GRUB 
A GRUB Tutorial 
What makes GRUB a good alternative to LILO? 
device names 
Our Example System 
Editing the GRUB Menu 
Do I Really Need a GRUB Menu? 
Installing GRUB on Your Hard Drive 
grub-install 
Passwords 
GRUB Docs and the Info Command 
What is initrd? 
GRUB at the GRUB Shell Prompt 
Hardcore GRUB — No Menu 
Conclusion 
Web Resources 
Useful Commands 
Multiboot with GRUB Mini-HOWTO 
1 Preparing boot floppies 
2 Installing linux 
3 Installing GRUB 
4 Installing windows 2000: 
5 Installing DOS. 
6 Installing Windows 98 
7 The final touch 
Grub interactive 
Grub interactive 
boot loader for 2 seperate hard drives 
Dual boot dual disk 
Dual boot dual disk 
GRUB and non-first HDD 
GRUB and non-first HDD 
GRUB and non-first HDD 
GRUB and Windows - Yet Again! 
GRUB and Windows - Yet Again! 
boot Windows from extended partition 
booting from extended partition 
booting from extended partition 
booting from extended partition 
How to boot CDROM with Grub 
How to boot CDROM with Grub 
GRUB launch a CD 
GRUB launch a CD 
Booting Windows 2000 from GRUB. 
win2k ` linux ` win98 
win2k ` linux ` win98 

How to switch from LILO to GRUB 

http://www.linuxquestions.org/questions/showthread.php?t=224547&page=3

The first thing is to get rid of LILO:

#apt-get -y remove --purge lilo
#apt-get clean

Then, to install grub:

#apt-get update
#apt-get install grub
#grub-install /dev/hdx

where 'x' is the letter of the hd in question. For example, if you only got one hd, then it's 'hda', if you got a slave one, then it will probably be 'hdd' or whatever, make sure you know what your second one is, if you're going to install grub on it.

#update-grub

This last step is crucial!!!

reboot, to check it out.

macondo 10-13-2004