Dual Boot Problem
I had a working dual boot Windows XP/Linux setup and did something
that messed up Windows XP. Originally, my partition table was like this:
hda1 (system restore partition)
hda2 (windows ntfs c drive)
hda5 (windows ntfs d drive)
hda7 (linux swap)
I planned on creating some XFS partitions so I backed up the system restore partition and deleted the partition and then moved the windows c drive partition to the beginning of the hard disk with a utility called BootIt.
Now my partition table is:
hda1 (windows c drive)
hda5 (windows d drive)
hda7 (linux swap)
After modifying the boot.ini file on the c drive to point to the new
partition, I was able to boot Windows XP, but it then hangs on the
blue startup screen with the windows logo. When I try to start in safe mode, it also hangs. The c:\windows\ntbtlog.txt (something like that)
didn't say anything useful other than that a lot of device drivers
didn't load (i.e. modem, acpi, etc.).
I'm pretty sure this problem has something to do with moving the
original c drive partition to the beginning of the hard disk since I
previously have experienced hanging when I uninstall programs from a NTFS filesystem that has been resized.
I definitly don't want to reinstall Windows and risk destroying my
other partitions, so please shed some light on this problem.
Thanks for any help,
reinstalling WindowsXP will not destroy any of the other partitions.
Start the install of WindowsXP and select the partition you want to install it on.
It will detect an existing installation. Don't format it, just leave it as it is and continue
You will need to restore GRUB as your bootmanager.
Read the Grub Howto on how to fix that. You can find that here.
Problem fixed. I did it by clearing some signatures in the MBR which Windows uses to keep track of partitions (can be done with new versions of BootIt). Now Windows XP works again.