LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-29-2004, 05:26 PM   #1
theconfused
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Rep: Reputation: 0
MBR help dual boot xp and fc2


Okay so i just switched linux distros again. Trying to find the one that is right for me. I loaded up FC2, worked perfectly and i think i like this one. I had XP and Slack 10 installed before, so i deleted Slack through Partition Magic in XP and then rebooted and installed FC2. Fedora boots, XP will not. Just says chainloader 1. Im a linux noob but i do know a bit and it has to be something with the MBR. I searched, found lots of similar problems, but none exactly like mine. The big question is, can i repair the MBR through linux? Im not deleting my XP partiton because i did that too many times with my first linux distros. If it cant be fixed, goodbye fedora. I would appreciate some help but please keep it simple.

edit* they are on the Same 80gig HD partitioned into a 40gig NTFS and the other 40 various linux partitions. Im using GRUB.

Last edited by theconfused; 08-29-2004 at 05:28 PM.
 
Old 08-30-2004, 12:30 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
Get a Windows XP boot disk from someone (I'm sure you can download a rescue disk somewhere) - and make sure it has fdisk on it.
Boot from floppy, and at the CLI, type:
Code:
fdisk /fixmbr
 
Old 08-30-2004, 09:50 AM   #3
kostason
Member
 
Registered: Aug 2004
Location: Greece
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105

Rep: Reputation: 15
Try to add the following at the file
/boot/grub/grub.conf

Quote:
title Win XP
rootnoverify (hd0,0)
chainloader +1
then when in your grub menu you will have an option to boot at Win XP.

---------------------
Kostason
 
Old 08-30-2004, 08:20 PM   #4
theconfused
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Okay i tried to add the line to the grub.conf, and no luck. Through experience i realized that it was a bad idea to have linux and windows on the same drive. I deleted FC2 and i plan on getting another HD to run FC3 on when it comes out. So here i am again, without a working computer.

40gig NTFS windows
40gig unpartitioned(formerly FC2)

My main priority now is to rescue my XP partition. I know you guys dont like windows, but i would appreciate the help so that i can get my system up and running again. PLEASE HELP!!!! I tried to load up the XP home install disk and selected to "rescue" an already installed windows partition. I logged in as admin and used "fixmbr". That was the command the help file told me to use. Rebooted, and still nothing. Just says there was an error loading the OS and to press ctrl+alt+del to reboot. So thats were i am now, having to borrow a friends computer for a moment to get on the net.
 
Old 08-30-2004, 08:48 PM   #5
theconfused
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Original Poster
Rep: Reputation: 0
I've been fooling around with the XP disk and still nothing. I wanted to clarify if needed. I had both installed, but XP would not boot. Decided to uninstall FC2. Now i only have XP. Did Fixmbr and still nothing. Im really screwed if i dont get this thing working. I backed up most important files but i have some work i need on it for school that hasnt been backed up yet.
 
Old 09-02-2004, 09:57 PM   #6
paudle
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
http://lwn.net/Articles/86835/

that will help you with your problems
 
Old 09-03-2004, 11:22 AM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
theconfused:

At some point, your XP partition may have become “hidden”. To boot a windows partition, it needs to be set as “Active”. This can be done either using dos fdisk (from Win95,98,ME Startup Disk), diskpart (from XP recovery console) or from PartitionMagic (from rescue floppies or CD (self-booting in at least PM8). PartitionMagic run from windows has a bad habit of leaving windows partitions “hidden” for some reason. I try to do all PM work at dos level (rescue disks), but it is a lot easier to use PM from windows.

The other option is that the documented FC2 installer problem made your disk unusable by windows. The FC2 installer can corrupt the CHS partition definitions in a way that can give windows a problem, especially if you let PM try to fix them. I have personally had four dual-boot windows/FC2 systems corrupted by the FC2 installer, or in other words, every windows system I installed FC2 on was corrupted. One eventually dropped dead after trying to do the PM fix and the other three were rescued as described below. My experience is probably not unique.

Although this problem is well documented and supposed fixes exist, I have yet to find anything that really works, except to copy your windows partition to a new disk. In your case, you should try copying the windows partition to your new hard drive and see if it works from there. If PM cannot do it (which I ran into in one case), try using the utilities supplied by the hard disk manufacture (e.g., WesternDigital Data Lifeguard). Also, it is a good idea to “zero out” the corrupted drive using a diagnostic utility from the drive manufacturer. Now when I install FC2, I do it on a clean disk with the windows-containing partition on a separate disk and disconnect the windows-containing disk during the FC2 installation.

The FC2 installer problem is so serious for windows users that I cannot understand why it was not fixed and a substitute FC2 installation disk 1 issued. There is absolutely no chance that I will try FC3 when it comes out, until this problem has been documented to be fixed.
 
Old 09-03-2004, 06:00 PM   #8
talonator
LQ Newbie
 
Registered: Aug 2004
Location: Ojai, CA
Distribution: fc1
Posts: 8

Rep: Reputation: 0
also - are you sure that fc2/grub didn't do something to the boot sector of your xp drive? Try running windows in rescue mode and doing FIXBOOT, if it says that your boot sector is messed up, it'll fix it and you'll be good to go .
 
  


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
problem with MBR / dual boot AdmiralFreezbee Linux - Newbie 11 03-31-2005 04:19 AM
fc2, duel boot, mbr, and other stuff ferreter Fedora 4 09-16-2004 01:53 PM
How I screwed my mbr...FC2 & W2k, windows unable to boot even after reinstallation! shamael Linux - Newbie 3 05-24-2004 11:26 PM
Dual-boot on two Hard Disks, MBR, etc admanb Linux - Newbie 4 02-06-2004 05:45 PM
Dual boot without touching the MBR? senectus Linux - Newbie 4 07-14-2003 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:44 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