grub - problems with multi-boot with w2k

Hello

I`ve got a problem with configuring grub.
My hard disks are:

Primary Master: (3 partitions)
  partition 0: linux - grub installed
  partition 1: ... doesn`t matter
  partition 2: ... fat32 - old windows 2000
Primary Slave: (1 partition)
  partition 0: ntfs - new windows 2000

Secondary Master: (1 partition)
  partition 0: ntfs - stuff

Secondary Slave: cd

When I start (setting up previously booting from Primary Slave) New Windows 2000 everything is ok, Windows starts up. But I wanted to start everything from disk Primary Master and I configured grub in a way that
1) linux starts with no problems,
2) old windows I have written sth like this in grub.conf:

>          rootnoverify (hd0,2)
>          chainloader +1

and this windows starts with no problems
3) new windows is sth what makes me crazy:
I`ve tried:

>          rootnoverify (hdXX,YY)
>          chainloader +1

where XX=1,2,3 and YY=0,1,2,3,4 (I know that some of these values are completly stupid). As for me it should work with such options:

>          rootnoverify (hd1,0)
>          chainloader +1

but it doesn`t.

thanks for help to anyone.
grzessio
LVL 7
grzessioAsked:
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.

Karl Heinz KremerCommented:
You probably need to virtually swap the two drives, so that you second Win2000 installation thinks it's on the first disk. You can do this with the following command:

map (hd0) (hd1)
map (hd1) (hd0)

So your second Win2000 section in menu.lst should look like this:

title Win2000New
   map (hd0) (hd1)
   map (hd1) (hd0)
   rootnoverify (hd1,0)
   chainloader +1
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
grzessioAuthor Commented:
Yep. Works for me!!! thx.
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.