LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-21-2004, 03:54 PM   #1
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Rep: Reputation: 15
Trouble getting Windows XP to dual boot with Fedora using GRUB


I am trying to dual boot Fedora and XP Pro, on my laptop. I've looked all over the forum, and every solution that I have found does not work. Currently my configuration for XP is set at:


rootnoverify (hd0,0)
chainloader +1

-----------------------------------


But whenever I choose XP, I keep getting an error that says


"Error 13: Invalid or unsupported executable format"

and then it takes me back to the GRUB loader screen.


------------------------------

This is how I have my drive partitioned:

hda1 Linux ext3 boot partition 106.93 MB
hda2 Fedora Core 20966.24 MB
hda3 NTFS 17824.19 MB
hda4 Linux Swap 1110.42 MB

the swap is a lil out of order there but that wouldn't prevent windows from loading would it?
 
Old 01-21-2004, 04:11 PM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
According to your partition scheme, I think your Windows partion should be specified as follows:

rootnoverify(hd0,2)
chainloader +1

The way you have it now, it is trying to boot your Linux partition.
 
Old 01-21-2004, 04:19 PM   #3
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Original Poster
Rep: Reputation: 15
I have tried that.

But whenever I do that, It just reboots the computer.
 
Old 01-21-2004, 05:07 PM   #4
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
Try the following:

title=Win XP
rootnoverify (hd0,2)
chainoader (hd0,2) +1
 
Old 01-21-2004, 05:28 PM   #5
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Original Poster
Rep: Reputation: 15
Just tried that. Had the same result...
 
Old 01-21-2004, 09:05 PM   #6
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
It may be that you do not have NTFS file support enabled in the kernel. Check to make sure it supported. The option is under:

File systems --> NTFS file system support (read only).

Enable this and recompile the kernel. Create a new kernel image after the compilation and boot from this image.
 
Old 01-21-2004, 11:26 PM   #7
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Original Poster
Rep: Reputation: 15
I'm fairly new to non-remote linux operations. How exactly do I do this?
 
Old 01-22-2004, 04:08 AM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
It has nothing to do with ntfs support in the kernel, did you by chance resized the winxp ntfs partition to make room for linux using something such as Partition Magic?
 
Old 01-22-2004, 02:57 PM   #9
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Original Poster
Rep: Reputation: 15
no. but I decided that I'm just going to redo it all from scratch. I hadn't put anything i needed on either OS yet, so I'm just reinstalling both of them. I'll see if I can get it working this time..
 
Old 01-22-2004, 03:02 PM   #10
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
Just before you do that, try this

title=Windows XP
root (hd0,2)
chainloader +1
 
Old 01-22-2004, 03:07 PM   #11
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Original Poster
Rep: Reputation: 15
I had already tried that....


It gave me some device not found error or something. I've already started redoing everything.

I installed XP first this time. The linux installer recognized the NTFS partition, so I'm assuming it will work..
 
Old 01-22-2004, 03:19 PM   #12
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
well ok, btw, i am not a big advocate of lilo but you should try it. since the setup is a bit easier to read:

# The next two lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
other=/dev/hda6
label=windows
 
Old 01-22-2004, 03:24 PM   #13
davstin2002
LQ Newbie
 
Registered: Jan 2004
Location: TX
Distribution: Fedora Core
Posts: 29

Original Poster
Rep: Reputation: 15
Tried Lilo as well. It didn't work.
 
  


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 fedora / XP probs linuxmfx Linux - General 5 08-20-2005 06:30 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot / Grub trouble xothermic Linux - Software 4 03-10-2004 10:35 AM
Dual-Boot Windows XP through GRUB Darkstar274 Linux - Software 10 12-07-2003 06:10 PM
GRUB hanging at bootup (Fedora Linux, dual boot Windows XP) Forezt Linux - Software 4 12-07-2003 12:52 PM

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

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