Hard drive duplication
I know this isn't a normal use of Linux, but I need some help, so here goes.
I'm working on my mother's computer, a straight windows xp installation.
This computer contains two hard drives, an eight gig and a 40 gig. The eight gig is dying; sounds indicative of failure, and excess heat. What I want to do is repartition the 40 gig into two partitions (which I have done, have one that is slightly bigger than the 8 gig), image the 8 gig hard drive to the new partition and make it bootable.
I have attempted DDing the partition over, seems to be correct. How can I make it bootable?
Used Norton's to defrag, then QTParted to repartition.
Swapped the master / slave settings on the hard drives, so the 40 gig is now hda.
QTParted has a ~30 gig partition in the front, and the eight gig in the back.
The computer's bios supports LBA, so it *should* be able to boot from this back partition, if the documentation I have read is correct.
When using dd, the exact line I used is: dd if=/dev/hdb1 of=/dev/hda2.