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 01-31-2004, 11:25 AM   #1
Travis S
LQ Newbie
 
Registered: Jan 2004
Location: Kansas City, Missouri
Distribution: Fedora Core 1
Posts: 25

Rep: Reputation: 15
Dual boot GRUB - Won't recognize XP partition


Howdy all,

I'm setting up a dual boot, dual drive system. I just installed a new 120GB drive that has Linux on it - it is set as the primary via cable select. The slave is the 40GB hard drive that came with my computer loaded with Windows XP Pro. I'm trying to get grub to boot back to XP, but it won't.

Here's the part of my grub.conf file for XP.

title Windows XP Pro
map (hd0) (hd1)
map (hd1) (hd0)
root (hd0,1)
chainloader +1
makeactive

Of course, the 40Gb hard drive is setup just the way it came from Dell. It has the 30 something Mb utility partition and the partition with XP fills up the rest. I can put that in at the command prompt and as "root(hd0,0)" and boot into the utility partition. Whenever I try to boot into XP, I get the following error:

Filesystem type unknown, partition type 0x7

I've been able to figure out through a few Google searches that 0x7 is NTFS, so it realizes that there is a partition there, it just won't boot to it.

Any ideas?

Thanks,
Travis S
 
Old 01-31-2004, 11:30 AM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
You have the Windows driver specified wrong according to GRUB device numbering:

title=Windows XP Pro
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader+1
 
Old 01-31-2004, 11:30 AM   #3
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
I mean to to say Windows drive, not driver, sorry.
 
Old 01-31-2004, 11:58 AM   #4
Travis S
LQ Newbie
 
Registered: Jan 2004
Location: Kansas City, Missouri
Distribution: Fedora Core 1
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the quick response. I actually found this out on my own. When I posted this, I rebooted and started experimenting. My modified grub.conf looks like this:

title Windows XP Pro
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,1)
chainloader +1


When I booted from the command, if I put "makeactive" in it just locks, if I leave it out it comes right into XP. I thought, wrongly I guess, that when you used "map" you were changing the way the hd's were referenced, that's why I used "root (hd0,1)".

Well, it's always the simple things

Thanks again for your response.
Travis
 
  


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
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
Grub didn't recognize RH9 nor WinXP Pro partition quentusrex Debian 3 08-18-2004 09:21 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM
xp pro and rh7.3 dual boot (grub and partition magic) George_Hong Linux - Software 2 12-09-2002 06:34 PM


All times are GMT -5. The time now is 09:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration