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?
 
Karl Heinz KremerConnect With a Mentor Commented:
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
 
grzessioAuthor Commented:
Yep. Works for me!!! thx.
0
All Courses

From novice to tech pro — start learning today.