Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: vlinux1 on August 11, 2005, 03:05:41 PM

Title: GRUB UPGRADE
Post by: vlinux1 on August 11, 2005, 03:05:41 PM
HI GAURAV&RICKY,


I AM HAVING PROBLEM WITH GRUB BOOT LOADER. I INSTALLED GRUB BUT I WANT NEW VERSION AND HOW TO UPGRADE IT. PLEASE TELL ME STEP BY STEP METHOD.

WAITING FOR REPLY.....

THANKS IN ADVANCE
VIJAY
Title: GRUB UPGRADE
Post by: Ricky on August 11, 2005, 05:00:09 PM
Which linux you are using ?..

If it is debian then you can do it using apt-get ie. online automatic update.

You will understand the following if you are using debian ...

Do..
Code: [Select]

apt-get install grub
grub-install /dev/hda
# Go edit/make a menu.lst file and put it in /boot/grub/menu.lst
grub
# then on the grub prompt run:

    # The partition that has the boot partition root (hd0,0) install /grub/stage1 (hd0) /grub/stage2 p /grub/menu.lst quit


For RPM supported distro..

Get the rpm (use search) and then.

Code: [Select]

$ rpm -ivh /grubrpmpath/grub-xx.xx.x.rpm


And installing from source ..
Code: [Select]

$ tar jxvf /pathway/grub.tar.bz2
or
$ tar zxvf /pathway/grub.tar.gz
$ cd /grub-0.9.5
$ ./configure && make install


and in last (you can also move to last step instead of this one[/code]
Code: [Select]
# The partition that has the boot partition root (hd0,0) install /grub/stage1 (hd0) /grub/stage2 p /grub/menu.lst quit

or simply instead of that..
Code: [Select]
grub-install /dev/hda