Unsolved

This post is more than 5 years old

2 Posts

4208

January 31st, 2004 15:00

Dual boot GRUB - Can't do it

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 Can't do itXP 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 Can't do ithard 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

2 Posts

January 31st, 2004 15:00

Well, as Murphy's Law would have it, I stumbled across the anwser within a few minutes of posting this. Apparently, the makeactive is what was throughing it for a loop. That, and I was going to the wrong hd#. My modified grub.conf looks like this:

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


Hopefully this will help someone else later on.

Travis

8 Posts

February 8th, 2004 11:00

That looks like you're making hard work of it.

I have a similar setup, but in reverse; Linux is on my secondary disk.

My menu.lst is as follows (comments omitted):

default=0
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2149.nptlsmp)
root (hd1,0)
kernel /boot/vmlinuz-2.4.22-1.2149.nptlsmp ro root=LABEL=/ hdd=ide-scsi rhgb
initrd /boot/initrd-2.4.22-1.2149.nptlsmp.img
title Windows XP Professional
rootnoverify (hd0,1)
chainloader +1

I should note that the only bit I've edited is the Windows XP part; I let the Fedora kernel packages take care of their bit.
No Events found!

Top