LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-15-2006, 11:13 PM   #1
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Rep: Reputation: 0
Unhappy How to insatll boot loader


hi guyz

im using dual opertation sys winxp and FC3 recently i formated my drive containing winxp and reinstalled it now my FC bootloader has been overwriteen by the winxp. can any one plz tell me how to reinsatll the FC3 bootloader with out loosing my data in it.

regards
 
Old 02-15-2006, 11:49 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Boot off of your install/rescue disk, chroot into your Linux system (if you select the rescue option from the install disk, your system will be mounted on /mnt/sysimage, so you would do chroot /mnt/sysimage), and run grub-install /dev/hda (this assumes that /dev/hda is your boot hard drive, change it if not). This will reinstall GRUB onto the MBR.
 
Old 02-15-2006, 11:58 PM   #3
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
hi btmiller

thanx for the quick response but can u plz be more clear as im new to linux.

thanx once again.
 
Old 02-16-2006, 12:04 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
OK, I thought I was pretty clear, but maybe not ... let's try again:

1) Boot off of your Fedora core 3 install disk
2) At the first prompt, type "linux rescue" (no quotes)
3) The CD will look for already installed systems. It should find your system and say that it's been mounted on /mnt/sysimage.
4) Type "chroot /mnt/sysimage" (again, no quotes)
5) You are now in your Linux system, to re-install grub on the MBR type "grub-install /dev/hda" (no quotes again) -- /dev/hda is the first IDE hard drive, i.e. C: in the Windows world. If you're using a SATA drive, it would be /dev/sda (SATA drives get interpreted as SCSI, for some reason).
6) Reboot by typing "reboot" and remove the FC3 install disk. GRUB should now be restored.

Last edited by btmiller; 02-16-2006 at 12:05 AM.
 
Old 02-16-2006, 01:20 AM   #5
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Smile

hi btmiller
thank u for ur detailed explanation this solved my problem.
thank u once again.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
How to insatll mp3 plugin kunal14 Linux - Software 6 02-02-2005 11:55 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
How to insatll rh7 on old laptop tony2666 Linux - Laptop and Netbook 2 05-23-2004 07:43 PM
RedHat insatll on Laptop biggiefatts Linux - Newbie 6 05-26-2002 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:22 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
Open Source Consulting | Domain Registration