LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-08-2006, 04:40 PM   #1
Farrukh Fida
Member
 
Registered: Jun 2006
Location: Dubai
Distribution: Cent OS
Posts: 34

Rep: Reputation: 15
Grub Boot loader installation problem


hello,
I've two O.S Windows XP and Linux.But when i reinstall windows XP
then my boot loader grub not working...note i install linux on my MBR
not on 1st boot sector.
so only windows XP is working..
I try to reinstall the grub by booting the linux in rescue mode.
and i m using following command
]#grub-install
but my grub not recover
So sir any one is there plz help me...Beacause i never want to reinstall my Linux.
 
Old 06-08-2006, 05:17 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,894

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
From the grub manual:

The usage is basically very simple. You only need to specify one argument to the program, namely, where to install the boot loader. The argument can be either a device file (like /dev/hda) or a partition specified in GRUB's notation. For example, under Linux the following will install GRUB into the MBR of the first IDE disk:

# grub-install /dev/hda

From your post:

]#grub-install
but my grub not recover

You did not specify the device in which to install grub to the MBR.
 
Old 06-08-2006, 05:25 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
One thing to consider is putting grub on a floppy. This way, when you (re-)install Windows, it does not wipe out GRUB.
 
Old 06-08-2006, 07:34 PM   #4
Farrukh Fida
Member
 
Registered: Jun 2006
Location: Dubai
Distribution: Cent OS
Posts: 34

Original Poster
Rep: Reputation: 15
Talking

Quote:
Originally Posted by pixellany
One thing to consider is putting grub on a floppy. This way, when you (re-)install Windows, it does not wipe out GRUB.
Thanks all of u to help me.
 
  


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
SUSE 10.0- GRUB boot loader problem soc_kev SUSE / openSUSE 1 10-25-2005 06:52 PM
Grub boot loader problem DanielTan Linux - Newbie 13 05-05-2005 09:14 PM
Grub boot loader problem wizardzx2 Linux - Software 3 06-23-2004 06:20 PM
GRUB boot loader problem bukich Linux - General 3 06-15-2004 01:22 AM
GRUB boot loader problem with Windows 2000 bukich Linux - General 1 06-11-2004 06:42 AM

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

All times are GMT -5. The time now is 03:50 AM.

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