Fedora Linux Support Community & Resources Center
  #1  
Old 12th August 2008, 02:52 AM
mdecker Offline
Registered User
 
Join Date: Aug 2008
Posts: 2
Uninstalling Fedora

Windows XP is on my primary hard drive. I installed Fedora to my second hard drive. Now, the Fedora loader starts up and I have the choice of XP or Fedora. I would like to uninstall fedora to free up my second hard drive. How would I go about doing this and re-writing my MBR so that XP will load again off of my primary hard drive since I am looking to remove my secondary hard drive? Also, once Fedora is uninstalled, how would I go about formatting the hard drive? Any help or pointing to the right direction would be greatly appreciated.
Reply With Quote
  #2  
Old 12th August 2008, 03:11 AM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
1. Back up back up back up back up back up.

2. To rewrite your MBR:
Boot with a Windows Recovery Console and use "fixmbr."
http://support.microsoft.com/kb/314058/en-us
(see the section on fixmbr)
http://pcsupport.about.com/od/fixthe.../repairmbr.htm

3. To format the drive currently being used by Fedora, either use Windows' Disk Management tool (Start -> Control Panel -> Administrative Tools -> Disk Management) or a third party tool like a Gparted Live CD or Acronis.
http://www.theeldergeek.com/disk_management.htm


The Windows fixmbr utility has been known to hose entire partition tables, and well, accidents happen so back up before you do any formatting (I once formatted the wrong disk - good thing I had a backup).
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #3  
Old 13th August 2008, 03:54 AM
mdecker Offline
Registered User
 
Join Date: Aug 2008
Posts: 2
And if I misplaced my XP cd? Is there any other way to go about doing this or does the only answer lie in finding a disk? Thank you for your help, though. I appreciate it.
Reply With Quote
  #4  
Old 13th August 2008, 04:38 AM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
Quote:
Originally Posted by mdecker
And if I misplaced my XP cd? Is there any other way to go about doing this or does the only answer lie in finding a disk? Thank you for your help, though. I appreciate it.
There are ways to get around it, but third party tools to repair the MBR are outside my ken (I've got a bunch of full-fledged Windows install disks laying around so you're in territory unfamiliar to me).

There are third-party tools that exist for repairing the boot record but I don't have any experience with them. Maybe some others here could help. Most of the fixes proposed by Microsoft for this very situation involve having another Windows box available (like making a bootable diskette with the Windows Recovery console).

I have some other ideas, but your first step might be to ask a friend, coworker, or colleague if you can borrow his/her Windows XP install disk for 5 minutes (okay, more like 15 considering the 10 minute boot process for the Windows bootable CD). As far as I know any XP install disk with the recovery console can be used to repair the XP MBR of any XP machine.

(Another option is to have a small Linux partition - and by small I mean maybe 10MB at the absolute over-the-top maximum - that just contains the boot loader files for GRUB, leave the GRUB boot loader in the MBR, and use GRUB to chain-load Windows. Not sure if it would work and it would take a bit of finagling, but it's probably doable. Hell, even a floppy disk would be enough to hold GRUB or another boot loader that could be used to chain-load the XP boot loader - then you could set your BIOS to boot from floppy and leave the floppy in all the time. On power up, the BIOS will load the boot record on the floppy and the floppy will chainload the Windows NTLDR. There are instructions out there for putting GRUB on a floppy disk. Might be something to try...)

I'm just concerned about repairing the MBR without a good "last resort" for reinstalling available. I never repair the MBR without a good backup - and reinstall disks handy. And if you somehow manage to find some tool that purports to repair the MBR but ends up hosing your Windows install, you'd be out a working Windows install with no install disk to rebuild.

I'd probably go the back up and phone a friend route myself and then cross your fingers that the XP recovery console doesn't FUBAR the MBR (I've never had it happen personally but I've heard horror stories).
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #5  
Old 13th August 2008, 01:13 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Quote:
Originally Posted by mdecker

How would I go about doing this and re-writing my MBR so that XP will load again off of my primary hard drive...
Quote:
Originally Posted by mdecker

And if I misplaced my XP cd? Is there any other way to go about doing this...
Hello everybody,

Some ideas to restore MS boot code to the master boot record can be found in another thread here.

Other ideas are the Super Grub Disk and TestDisk. Both of those utilities have menu choices to restore MS boot code to the master boot record. TestDisk can even be yum-installed in your Fedora system if it is still working (yum install testdisk). You could then start Fedora, start testdisk, do the job, reboot, and XP should boot directly from BIOS. Then delete the Fedora partition with XP's Disk Management utility (Control Panel > Administrative Tools > Computer Management > Disk Management).
Reply With Quote
Reply

Tags
fedora, uninstalling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling Fedora iamgc2 Installation and Live Media 1 26th June 2008 08:40 PM
Uninstalling Postgre without uninstalling Bind? klam2007 Servers & Networking 1 15th November 2007 05:45 AM
uninstalling fedora? smilesalot Using Fedora 9 22nd December 2006 10:52 AM
Uninstalling Fedora 4 Sp4rt4n Using Fedora 2 10th October 2006 02:53 AM
Uninstalling Fedora c_plus_plus Using Fedora 1 2nd August 2006 12:17 AM


Current GMT-time: 04:55 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat