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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-15-2006, 11:13 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 20
Rep:
|
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
|
|
|
02-15-2006, 11:49 PM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
02-15-2006, 11:58 PM
|
#3
|
LQ Newbie
Registered: Dec 2005
Posts: 20
Original Poster
Rep:
|
hi btmiller
thanx for the quick response but can u plz be more clear as im new to linux.
thanx once again.
|
|
|
02-16-2006, 12:04 AM
|
#4
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
02-16-2006, 01:20 AM
|
#5
|
LQ Newbie
Registered: Dec 2005
Posts: 20
Original Poster
Rep:
|
 hi btmiller
thank u for ur detailed explanation this solved my problem.
thank u once again.
|
|
|
All times are GMT -5. The time now is 04:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|