title DOS
rootnoverify (hd0,4)
chainloader +1
In this change hd0,4 to hd0,1 or hd0,0
hd0,0 = first harddrive, first partition.
hd0,1 = first harddrive, 2nd partition.
Also grub's naming convention doesn't make any distention on which IDE device or SCSI device or anything. Just the first drive it detects or is installed in or something like that.
Grub uses programmer's number counting, which like computer's natural counting method. Zero is the first number. So you start counting from zero not one, like in most sane places.
The one major thing that doesn't match is when you have a number 4 for a partition. Since max x86 partitions = 4 you make the 4th the extended partition and then all the logical partitions fall in this. Just like DOS or windows stuff.
However it's possible to have 1 primary and 1 extended with 3 logical partitions inside it. (for example).
But irregardless grub will always make the first extended partition the number 4 partition. So (if I am correct) in my 1 primary and one extended with 3 logical partitions you would have the possible options of:
hd0,1
hd0,4
hd0,5
hd0,6
So is your windows partition on a logical partition?
If not try making the dos section look like this:
title DOS
rootnoverify (hd0,1)
chainloader +1
You can add multiple choices, plus it's possible to manually do it. This config aproximate's you entering commands into the grub command line. If you hit "c" that should get you to a command line.
Then to manually select you would go
grub> rootnoverify (hd0,0)
grub> chainloader +1
grub> makeactive (I don't know if you need makeactive each time or even once, but it flags the partition as a active boot device for the bios)
grub> boot
if you press "?" it will show you possible options... like if you go
grub> rootnoverify (hd0,?
It should show you possible partitions to choose from.
You can even go
grub> ?
grub> rootnoverify ?
grub> rootnoverify (hd?
grub> rootnoverify (hd0,?
grub> rootnoverify (hd0,1)
to get help on each step of the way...
That way if you don't get something right in the menu or you have a typo or something then you can still manually type in your boot selection. Saved my butt plenty of times and is a big improvement over lilo or a windows boot loader.
Also once you edit your grub.conf or menu.lst then the changes are automatic, no need to re-run any commands the grub loader reads the config file each time it boots up.
Of course the commands differ from using windows vs linux selections.
Also the chainload +1 means that you go to the beginning of the partition and select what ever bootloader is installed their and then boot up using it. I beleive the ntldr boot loader is self contained in your windows partition, the only thing that is installed in the MBR is something to point the computer to the NTLDR. But not sure about that, could be wrong. But installing grub or linux shouldn't completely disable anything in windows or it's loader unless you accidently formatted it.
Hope that's accurate and makes sense.
