Problem dual booting Windows XP and Gentoo Linux 1.4

Here is my current setup:

Hard Drive 1 - Primary (hda)
52 Gig Partition - NTFS (Win XP)
25 Gig Partition - ReiserFS (Gentoo Linux /)
1.5 Gig Partition - Swap (Gentoo)
50 Meg Partition - Boot (Gentoo)

Hard Drive 2 - Secondary   (hdb)
50 Meg Partition - Boot (Gentoo)
78 Gig Partition - Fat32 (Storage)

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

I installed Gentoo with the pre-compiled packages from the Stage 3 tarball, and followed the install directions as best I could... I ended up making the second boot partition after the first didn't work--thought maybe it had to be at the front of a drive. I've tried installing GRUB onto the MBR of hda pointing to both boot directories with the following config file:

###############
default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

tite=Gentoo Linux
root (hd1,1)
kernel (hd1,1)/boot/kernel-2.4.21-gss root=/dev/hda2
initrd (hd1,1)/boot/initrd-2.4.21-gss

title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1
###############

After my system goes through POST, it stumbles for a bit and eventually reverts back to Windows XP. I see no sign of an error message that grub isn't working, it just takes a while and eventually loads XP.

Thanks for anyone taking the time to help me!

-Luke
PotatoeMasherAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

paullamhkgCommented:
Have a check this url http://www.tldp.org/HOWTO/Multiboot-with-GRUB-2.html#ss2.3 to see can give you more hints.

Do your GRUB come up during the PC boot up?

or the GRUB come up but when you select your linux the linux didn't show up?

I think try to reinstall you GRUB should help. there are installation procedure in the url above.

Hope this can help

0
shivsaCommented:
There is a restriction for linux boot partition to be in first 1024 boot sector(that is in first 8 GB). looks like u did not notice that. ( i am not sure if that is true for gentoo).
0
PotatoeMasherAuthor Commented:
Can it be in the first 1024 of the secondary drive, or does it have to be on primary?
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

paullamhkgCommented:
Normally it's for the primary master of your boot drive, but I don't think there have 1024 for GRUB? since GRUB no need to install into the MBR.
0
PotatoeMasherAuthor Commented:
I appreciate all of your help, especially the link from paullamhkg. It's finals week here, so I'm short on time, but I plan on restructuring my drive in the next few days to try and resolve the problem.

Any suggestions on how to format the Primary Hard Drive? (Second Drive will remain Storage)
0
paullamhkgCommented:
Since there is NTFS in your system, you can't use the dos type fdisk, I will suggest you try the fdisk in linux CD will do.
0
shivsaCommented:
but i would say use Windows XP install and let it format it for its own use.
0
paullamhkgCommented:
yes shivsa right, actually both OS (winXP and Linux) can reformat your 1st harddisk.

the only thing I consider is your 2nd data storage harddisk, during your windows install it will mounted for you, but in linux you have to add the vfat into your /etc/fstab

/dev/hdb2      /windows        vfat     default 1 2

will do the job.

Hard Drive 1 - Primary (hda)
52 Gig Partition - NTFS (Win XP)
25 Gig Partition - ReiserFS (Gentoo Linux /)
1.5 Gig Partition - Swap (Gentoo)
50 Meg Partition - Boot (Gentoo)

Hard Drive 2 - Secondary   (hdb)
50 Meg Partition - Boot (Gentoo)
78 Gig Partition - Fat32 (Storage)

after reading you partitions, I will suggest you to partition like this hda1(50GB) as winXP, hda2(25GB) for linux /(root) hda3(1GB) as swap, 550MB for /boot.

keep the hdb as it was, after linux installed, "mount /dev/hdb2 /windows" will mount the FAT in your linux, if it's working, add the above into your /etc/fstab for mount the fat32 everytime you boot into linux

hope this info can help :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PotatoeMasherAuthor Commented:
Thanks much to all of you...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.