November 23, 2024, 05:02:41 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: grub boot loader problem  (Read 10616 times)

Offline bhooshan.khadgi

  • Linux Noob !
  • *
  • Posts: 4
grub boot loader problem
« on: December 24, 2008, 10:10:55 AM »
Hello,My laptop had vista basic and on different drive I have installed Red Hat Linux 5.0 .

installation completed sucessfully but i dont get grub boot loader to select operating system

whenever i start laptop i can boot vista only....

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: grub boot loader problem
« Reply #1 on: December 27, 2008, 03:21:35 AM »
Most probably you did not installed grub as main boot loader. Anyways, simplest way is to run a live linux CD and then from command line RUN :
Code: [Select]
grub-install /dev/hda
After reboot, you should see GRUB.

Offline bhooshan.khadgi

  • Linux Noob !
  • *
  • Posts: 4
Re: grub boot loader problem
« Reply #2 on: December 29, 2008, 04:46:23 AM »
thanks Ricky.. :)

but as i remember i have installed GRUB boot loader.

and do i need to go to command line in vista(cmd) and type this command with live  cd in cd-rom?

or do i need to again start installation in text mode?

plese reply..

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: grub boot loader problem
« Reply #3 on: December 29, 2008, 12:55:12 PM »
Type in cmd line on LIVE Cd..


Offline bhooshan.khadgi

  • Linux Noob !
  • *
  • Posts: 4
Re: grub boot loader problem
« Reply #4 on: December 30, 2008, 05:11:21 AM »
Hey Ricky,

i tried the command given by you on cmd with live cd,

but i got error that (grub is not internal or external recognised command). :(


plese tell me some another way(i have already installed grub boot loader during installation of linux and BMR is stored at first boot sector of linux partition)

please help me .....

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: grub boot loader problem
« Reply #5 on: December 30, 2008, 06:47:35 AM »
Which Live CD you used ?
Try following:
Code: [Select]
/sbin/grub-install /dev/hda

Its few years since I have used any Redhat linux, mostly now Ubuntu. I guess input from some RHEL use may be useful here.

Offline bhooshan.khadgi

  • Linux Noob !
  • *
  • Posts: 4
Re: grub boot loader problem
« Reply #6 on: December 30, 2008, 06:55:09 AM »
i used the same CD which i used for installation of linux..


the commands u r giving look like linux commands so how will it work on cmd of vista?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: grub boot loader problem
« Reply #7 on: December 30, 2008, 10:01:58 AM »
They are linux command and should work on Linux only..

Anyways.. I will today try to see some RHEL computer to figure out your problem.

Offline debasish.raychawdhuri

  • New Member
  • Posts: 3
Re: grub boot loader problem
« Reply #8 on: January 03, 2009, 07:43:50 PM »
get your linux CD, boot with it and type linux rescue to boot it in rescue mode, when asked mount your partition.

then do this

chroot /mnt/sysimage
grub-install /dev/sda
exit
exit
that's it

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Re: grub boot loader problem
« Reply #9 on: January 05, 2009, 11:00:20 PM »
Did grub-install works there ? If not try to user below after going to rescue mode

root (hd1,0)
setup (hd0)

Thanks