GRUB & LILO

Collins erichey2
Mon May 17 11:31:32 PDT 2004


On Wed, 22 May 2002 07:16:58 -0400 "Brian Witowski"
<brianw at torchlake.com> wrote:
> How would I go about removing LILO from a HD and replacing it with
> GRUB? There is only one OS on the machine, if that matters.
> 

1. make sure you have a lilo boot disk, and verify that it works
2. Install grub software (rpm, tarballs, your choice)
3. Read the 'info grub' files.  You could also setup a grub boot
floppy.  This is covered in the info files.
4. Now you should create /boot/grub directory and copy all grub
*stage* files to that directory.
5. create /boot/grub/menu.lst.  Here's a sample

default 0
timeout 10
title=Gentoo-19-r5-hda2
root (hd0,1)
kernel /boot/bzImage-2.4.19-gentoo-r5 root=/dev/hda2 hdc=ide-scsi
hdd=ide-scsi ro
title=elx17-hda6
root (hd0,5)
kernel /boot/vmlinuz-2.4.17 root=/dev/hda6 hdc=ide-scsi ro
title=Win98
root (hd0,0)
makeactive
chainloader +1

6. In the following root is the address of the partition with
/boot/grub partition in grub terminology, i.e. hda2 = hd0,1
	root (hd0,1)
	setup (hd0)
5. Reboot and enjoy


-- 
Collins Richey - Denver Area - WWTLRD?
gentoo(since 01/01/01) 2.4.18+(ext3) xfce-sylpheed-mozilla



More information about the Linux-users mailing list