View Full Version : how do i install grub?
djmihow
02-25-2004, 04:50 AM
ok i think i have lilo installed (it looks like a dos screen very old school looking)
i dual boot windows 2000, and Knoppix. what do i have to do to get grub installed instead of lilo?
rickenbacherus
02-25-2004, 06:36 AM
apt-get install grub grub-doc
grub-install /dev/hda
Then you need to create grub a configuration file.
touch /boot/grub/menu.lst
xedit /boot/grub/menu.lst
I presume you have windows on the first hard disk. Try this in menu.lst
(edit accordingly for your own kernel)
timeout 10
title 2.6.3
kernel (hd0,0)/boot/vmlinuz-2.6.3 ro root=/dev/hdb1 nomce vga=791
title Wimpdows
root (hd0,0)
chainloader +1
savedefault
djmihow
02-25-2004, 06:52 AM
thanks
my setup goes as
Harddrive 1
Hda1 = Windows 2000
Hdc1 = Knoppix
rickenbacherus
02-25-2004, 07:44 AM
Well then it looks like you have everything you need except the kernel version:
uname -r
Oh and don't forget to do a little reading on grub. There are some key issues you need to understand before you will truly understand grub and I see no need to reproduce the docs here as they have already been written.
http://www.gnu.org/software/grub/grub-faq.en.html
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.