Topic: XP not booting after resizing a partition.
Booting to GParted Live CD v0.3.4
My hard drive started out with 3 partitions - I don't remember exactly what the drive letters were at this point, but I know Windows XP was installed on C:
I wanted to create a new primary partition from free space on an existing partition to install Vista. So, I resized a partition (not the Windows partition) and created a new partition in the free space.
Now, I can not boot to Windows XP - I haven't attempted installing Vista yet, I'd like to get this fixed first if possible.
From what I can tell, after creating the new partition, my drive letters got scrambled. If I boot to a floppy and use FDisk to check out the partitions, what used to be the C: drive is now the E: drive. And all drives are inactive. I can't change the E: drive to be active, but this probably wouldn't help anyway unless I could change the drive letter to C: using FDisk. (i am actually using xfdisk if that matters)
If I boot to GParted and set the Windows partition to boot, it either gets stuck at "Verifying DMI Pool Data...." or gives me an error saying it can't locate hal.dll at <Windows Root>\Windows\System32 - this depends on how I have the lba and boot flags set. The only other result I get is the generic boot error in all CAPS saying a boot disk could not be found please insert... bla bla bla.
I am not sure how to get a screenshot online (using my laptop to post and this problem is on my desktop), but I'll try to explain how GParted shows my current partitions:
/dev/hda1 - filesystem extended
/dev/hda5 - Filesystem NTFS (this is the windows partition - no changes were made to this partition)
/dev/hda2 - Filesystem NTFS
/dev/hda4 - Filesystem NTFS (This is the new partition, created from free space in partition hda2)
/dev/hda3 - Filesystem NTFS (no changes were made to this partition)
So, I am guessing that originally hda5 WAS hda2 and after creating the new partition things got rearranged.
After creating the new partition the flags were set as such:
hda1 - lba
hda4 - boot
I've tried all different combinations I can think of as far as setting the flags go, but it doesn't seem to help.
Any ideas what I can do to resolve this? It seems to me I need a utility I can boot to that will allow me to set drive letters, but I don't want to change anything based off of a guess.
Thanks for any help.