LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-14-2004, 01:15 AM   #1
wingman69
LQ Newbie
 
Registered: Aug 2004
Location: Edmonton, AB, Canada
Posts: 5

Rep: Reputation: 0
Why grub won't let me dual boot with XP


I am a very new linux user. I have just installed Fedora Core 2 on a second HDD on my system. When I boot the system, I get the option to boot to Fedora or to 'other'. I am assuming that 'other' is my Windows XP Pro installation. When I choose 'other', I get my boot screen for Windows, but it goes no further. It was working great before I installed linux. A couple of extenuating factors: on my Windows install, I run StyleXP, which has changed the boot screens and other important Windows stuff. I am sure my Windows is still there, as I can see the drive with partition magic. I ran a repair option on Windows hoping that would clean up the loading process, but it didn't help.

Can anyone help me get both o/s's going, or tell me how to un-install linux or grub so I can just use Windows (to get rid of StyleXP as I am sure that is causing havoc).

Please help!!!
 
Old 08-14-2004, 01:41 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, and welcome to LQ!

I don't know how styleXP works, but if it (and
that's what I suspect given your description)
does part of its thing-a-majig using the MBR
a removal of grub won't fix the problem (unless
grub has stored the old MBR somewhere and
you're able to put it back in place - but that
would be specific to fedora).


Cheers,
Tink
 
Old 08-14-2004, 01:53 AM   #3
wingman69
LQ Newbie
 
Registered: Aug 2004
Location: Edmonton, AB, Canada
Posts: 5

Original Poster
Rep: Reputation: 0
Thanx for the reply. I am not sure if StyleXP goofs around with the MBR. How do I get to see my other HDD so I can look around in it. Or where is the grub file located? Does that make any sense at all?
 
Old 08-14-2004, 02:03 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by wingman69
Thanx for the reply. I am not sure if StyleXP goofs around with the MBR. How do I get to see my other HDD so I can look around in it.
Depends on fedora and your file-system in XP.

Quote:
Or where is the grub file located? Does that make any sense at all?
Usually grub config files live in /boot/grub (at least in debian).
Depending on how it's been set-up it most likely over-
wrote the old mbr to be able to boot linux on the second
hdd.


Cheers,
Tink
 
Old 08-14-2004, 02:12 AM   #5
wingman69
LQ Newbie
 
Registered: Aug 2004
Location: Edmonton, AB, Canada
Posts: 5

Original Poster
Rep: Reputation: 0
NTFS on the Windows box. I really think my Windows has been borked, as I tried to boot into safe modeand Last Known Good Configuration, and I couldn't get into Windows. I might end up re-installing everything.
 
Old 08-14-2004, 03:34 AM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
try pulling out the linux drive and try it then
 
Old 08-14-2004, 06:18 AM   #7
skrod
LQ Newbie
 
Registered: Aug 2004
Location: Virginia, USA
Distribution: Fedora Core 1, Knoppix
Posts: 1

Rep: Reputation: 0
wingman69,

> "NTFS on the Windows box. I really think my Windows has been borked, as I tried to boot into > safe modeand Last Known Good Configuration, and I couldn't get into Windows. I might end

I hear your pain, pal ... but your XP INSTALL STILL LIVES!, and you DON'T HAVE TO KILL XP just to mess with Fedora Core.

What Fedora has done is to rewrite the Master Boot Record (MBR) of your drive in a proprietary format that loads a small bootstrap program that points to the Linux GRUB bootloader on your Linux /boot partition. It is now written in a fashion that Windows (of any flavor) cannot understand anymore -- consequently it doesn't know where "ntldr" is anymore, and it can't boot. (Your XP Install is still there, but you've got to do a couple of things to get it back.)

Now, I've been all through this, and yes, there IS a way to make the two OSs dual-boot with each other peaceably -- but it involves some brain salad surgery (and you'll probably have to reinstall Fedora Core [but NOT XP, thank God] ). The first thing you've got to do, though, is to start your computer with your Windows XP installation disk (if you don't have a "full" install disk -- e.g. not an OEM "rescue"-type disk -- then you're screwed. You need the full, from-the-box variety or a reasonable facsimile ;-) ) Pick "Repair a Windows Installation" from the menu when it gives you the choice after booting. You'll have three options once the CD boots.

You'll then choose "Repair Installation using the Recovery Console". You'll get dumped into something that looks like a DOS prompt (it is not). Once you are there type this:

FIXMBR <return>
FIXBOOT <return>

Then type "exit" to leave the console and have the computer reboot (or, ctrl-alt-delete). Take out the CD, and XP should start normally.

I did a little research and did a paper on this frustrating subject.
I refer you to this website for more information about getting your Fedora Core install to
work right for you: .

http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html

The fellow who wrote it, Ed Park, really knows his stuff. It's a little arcane, but it will get you right. Otherwise message me with your email and I'll send you the entire paper about what to do in the fullest step-by-step way that will keep you straight.

Take care,

Skrod
 
Old 08-14-2004, 10:35 AM   #8
wingman69
LQ Newbie
 
Registered: Aug 2004
Location: Edmonton, AB, Canada
Posts: 5

Original Poster
Rep: Reputation: 0
I tried pulling the Linux drive, but grub gives me an error. I will try the XP recovery console in a bit. For information, when I do boot to the Windows install, it gives me the boot screen, then I get nothing. I am quite sure StyleXP is goofing up with this, but I will try the above suggestions and let you know how it works.
 
Old 08-16-2004, 12:58 AM   #9
wingman69
LQ Newbie
 
Registered: Aug 2004
Location: Edmonton, AB, Canada
Posts: 5

Original Poster
Rep: Reputation: 0
Ok. I attempted what you suggested, and it failed miserably. As I rely so much on Windows (forgive me for that!!), I re-installed my XP. The XP kernel was borked. Why? I don't know. My plan now is to go with a Slackware installation, as I know I can install that without using a bootloader, just boot to a floppy to get it going. Expect to see me here again for more questions. Thanx to all for the help. CU in the near future.
 
Old 08-16-2004, 10:49 AM   #10
Marc A
Member
 
Registered: Mar 2004
Location: Bxl Europe
Distribution: Debian/Ubuntu
Posts: 84

Rep: Reputation: 15
Hi,

Hope it's still time. I would need more information to help you but i Can tell that almost every linux distro can start from a floppy (not only Slack).
Otherwise, I use a multi boot PC with Xp under the dust somewhere on hda1, an old knoppix hd install on hda2 and a perfect/nice/brilliant sarge on hda3 (/, /boot, /swap, and home) and 4 (files).

Good luck in a land with so much gates and bill,
 
Old 08-16-2004, 11:06 AM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
what u can do is
boot from a win98 cd
at the command prompt
#fdisk /mbr
will remve grub and rewrite the windows MBR to it

boot ur winXp remove style XP and then try agaiin with grub anddo not use style Xp again


regards
gaurav
 
  


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
grub dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 07:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 11:56 AM
Grub Dual Boot Mandrake 9.2 and Win2000 Invalid Boot Disk larsenmtl Linux - Newbie 1 02-01-2004 04:29 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 04:38 PM

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

All times are GMT -5. The time now is 04:48 PM.

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