Hi all
This is a problem about booting into Windows on a dual-boot XP/Gentoo system. I got myself into this state using Gentoo and figured I'm much more likely to get knowledgable assistance here than on a Windows forum...
Briefly: I have a T23 Thinkpad laptop which dual-boots XP and Gentoo. I bought a larger hard disk and went through the stages of cloning the HD partitions, and dd'ing the data over. I put both laptop drives in a PC and booted into Gentoo. Here's how it went.
- copy partition table over; fine
- create hda1 (ext2 partition for GRUB); fine
- dd over from old hda1 to new hda1; fine
- dd over from old hda2 (XP) to new hda2; fine
Check: put new drive in laptop, boot into XP. It works! Now I want to make this XP partition a little bigger...
- put new laptops back in big machine; run QTParted.
- Delete old partitions after hda1; fine
- Increase size of hda2 from ~12G to ~25G. QTparted says fine.
Now I want the rest of the new hard drive to be for my Gentoo system:
- with cfdisk, create new swap partition (hda3) and Linux partition (hda4)
- dd ver my old hda4 to my new hda4; fine
Now all this went well. I can now boot up my new hard drive into Gentoo - hurrah! However when I try to boot into the new (enlarged) XP partition, Grub hangs at the 'chainloader +1' prompt.
I can only guess that QTParted has done something weird. But I can't see what. The boot sector for my XP partition looks OK, and if I mount the FAT32 partition under Gentoo, all is well.
Even more weird: I have made an XP boot floppy by copying BOOT.INI, NTLDR, and NTDETECT.COM from this same partition onto a floppy. This successfully boots XP??!! How can this be?
The only thing I can think of is that QTParted has done something with the boot sector, maybe connected with the FAT32 Directory structure of my partition. I did a dd of the new hda2 boot sector and there is one byte different (relating to the FAT32 sector offset, I think).
Any clues anyone? How can I get my laptop to boot into XP without using a floppy?!
Thanks a lot
Jon N

