November 24, 2024, 11:38:18 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: GRUB UPGRADE  (Read 4572 times)

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
GRUB UPGRADE
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
GRUB UPGRADE
« Reply #1 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