/dev/hde2 1276 4864 28828642+ f Win95 Ext'd (LBA)
/dev/hde5 1276 4864 28828611 7 HPFS/NTFS
So /dev/hde2 is the extended partition and /dev/hde5 is logical partition that your windows stuff is installed on....
So grub's original (hd0,4) is correct.
You should be able to mount ntfs partitions to your directory. Linux generally supports the ability to read safely from NTFS, but writing is usually disabled because that part of NTFS support is stuff experimental.
so make sure that all the information is there:
mkdir /mnt/winhd
mount -t ntfs /dev/hde5 /mnt/winhd
ls /mnt/winhd
and make sure that all your info is still intact.
That's weird because windows generally only likes to be installed in the first partition on the harddrive. Anything else it doesn't like. Maybe I am missing something in my XP knowledge...
Does windows require special drivers to use the promise card? I am afraid that my knowledge of promise cards and booting windows from a extended partition is limited...
I am going to keep looking around to see if I can find the answer, but hopefully someone here knows it..
I would considure trying to use Lilo at this point instead of grub and see if lilo is any smarter...
But (hd0,4) should be the right one since it is the first logical partition...
However this
this guy says that windows can only boot from a primary partition
And you did that when you installed windows, right? It booted up ok?
Maybe you can make a little fat32 partition before the extended partition and put all of windows boot stuff into their, (the boot.ini ntldr etc etc)
It might be easiest to try to get rid of the extended/logical partition setup and then reinstall windows inside a primary partition. Also while your at it give yourself a 512meg swap partition for Linux, this is better then having a swap file and is faster, too.
Here's generally what you do when you want to dual boot windows and linux. (in your case I'll use /dev/hde as the drive, but normally people explain it with /dev/hda)
Install windows in /dev/hde1 first
Install Linux in /dev/hde2 while making a little swap partition in /dev/hde3
Then that would make it easy to dual boot. I think the extended partiton setup may be what is screwing everything up.
🙁
There are ways to install windows second but that is a bit harder.