LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-11-2005, 12:10 AM   #1
Aidin_36
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:
grub-install
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
hardcorelinux
Member
 
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
Aidin_36
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
pucy07
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

(or)
grub-install /dev/hdb
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:19 PM.

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