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

Linux Software => Linux Installation Support => Topic started by: bhooshan.khadgi on December 24, 2008, 10:10:55 AM

Title: grub boot loader problem
Post by: bhooshan.khadgi 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....
Title: Re: grub boot loader problem
Post by: Ricky 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.
Title: Re: grub boot loader problem
Post by: bhooshan.khadgi 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..
Title: Re: grub boot loader problem
Post by: Ricky on December 29, 2008, 12:55:12 PM
Type in cmd line on LIVE Cd..

Title: Re: grub boot loader problem
Post by: bhooshan.khadgi 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 .....
Title: Re: grub boot loader problem
Post by: Ricky 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.
Title: Re: grub boot loader problem
Post by: bhooshan.khadgi 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?
Title: Re: grub boot loader problem
Post by: Ricky 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.
Title: Re: grub boot loader problem
Post by: debasish.raychawdhuri 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
Title: Re: grub boot loader problem
Post by: gauravbajaj 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