Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-11-2005, 12:10 AM   #1
LQ Newbie
Registered: Jun 2005
Location: Iran
Distribution: Debian
Posts: 24

Rep: Reputation: 15
Question reinstall grub . . .

I have gnu/linux libranet 2.8.1 on my hard drive. then when I reinstall windows, I can only boot windows.
linux boot partition is available and grub exist on it. I try to reinstall grub by use this command:
then it says that grub install successfully, but I can't use grub.
can you help me how can I fix it?
Old 06-11-2005, 12:33 AM   #2
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
grub-install /dev/hda

here (hda means here my hard is connected as primary master, according to your disk drive u want to change this parameter, hda or hdb or hdc etc).
Old 06-11-2005, 07:19 AM   #3
LQ Newbie
Registered: Jun 2005
Location: Iran
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
I did it before.
grub is installed on my hard. but it don't run. I can only boot windows.

note: I can boot gnu/linux with my bootable cd.
Old 06-11-2005, 09:42 AM   #4
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
hi !

I think u installed not in the MBR while u installing the OS.

go in to the rescue mode..

*) linux rescue

after u enter into the rescue mode,check where ur hard disk is connected..
*) fdisk -l
that will list the partitions.
then give
grub-install /dev/hda

grub-install /dev/hdb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM
Reinstall grub rejser Linux - Software 3 04-14-2004 03:19 AM
reinstall grub leva Linux - Newbie 1 12-14-2003 01:47 PM
how to reinstall grub? Pimp Linux - General 1 08-04-2003 04:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration