Copy XP from one disk to anohter

  • Thread starter Lars-Erik Østerud
  • Start date
L

Lars-Erik Østerud

Have done this before but there is one step I can't remember.
I format the new partition from XP, and copy all the files
(system files I copy from Win98 or with a utilty).

But to make this new XP partition bootable, I seem to remember that
the bootsector must contain some code to execute the NTLOADER?

Or is this written to the bootsector when it formatted from XP?

I also seem to remember that I can copy the bootsector to a file with
a "debug" command, and write it back to another bootsector, but I
don't find the syntax anywhere (forgot to write it down).

Or is there an easy application to copy a whole XP installation?
 
L

Lars-Erik Østerud

Timothy said:
Lars: Have you solved your problem, yet?

Yep, my cloned HDD is up and running. A FDISK /MBR from Win98 diskette
changed the serial number of the disk and XP then reassigned all the
drive letters (and then I could log in, before that it strill tried t
boot from the original disk - now beeing in an external case).

Also som Microsoft programs (like Media Player), had used "PROGRA~1"
like notations on all paths in the registry, and some of them changed
to "PROGRA~2" etc during cloning. So I had to change in registry
(why MS still uses 8-letter filename in XP I don't know :)
 
L

Lars-Erik Østerud

Timothy said:
Lars: Have you solved your problem, yet?

BTW; Making abootable XP bootsector was not that easy.

"Bootpart" could rewrite the bootsector, but i din't work for some
reason. BUT what solved that was writing a WIn98 bootsector "SYS", and
THEN using "bootpart" to rewrite the XP bootsector on top of that .-)

And then as mentioned XP will remember your drive letters, even if you
ave rearranged the drives (it remembers by DiskID), but if the DiskID
on the bootdrive changes it will reset all drive letters assignments.

And the Win98se FDISK /MBR does that. But be aware. If you reset the
DiskID on a drive with Vista then Vista will refuse to boot :-(
 
T

Timothy Daniels

Lars-Erik Østerud said:
Yep, my cloned HDD is up and running. A FDISK /MBR
from Win98 diskette changed the serial number of the disk
and XP then reassigned all the drive letters (and then I
could log in, before that it strill tried t boot from the original
disk - now beeing in an external case).

Also som Microsoft programs (like Media Player), had
used "PROGRA~1" like notations on all paths in the
registry, and some of them changed to "PROGRA~2" etc
during cloning. So I had to change in registry
(why MS still uses 8-letter filename in XP I don't know :)

I admire your skills and tenacity. I would merely have
cloned the partition using Ghost or Casper XP. (Acronis
True Image will only clone an entire HD, not just a single
partition - although it CAN make an IMAGE file of a single
partition). If it was the entire HD that you wanted to clone,
just about any cloning utitlity would have worked, even the
free ones offerred by the various hard drive manufacturers.
Casper XP is available for a free 30-day trial, but the trial
version will make the clone partition the same size as the
original (I don't know if that would be a problem for you).

The clone will, of course, act exactly like the original
OS, even in its naming of its own and other partitions.
If the clone's partition is a Primary partition and if it
contains the boot files (i.e. boot.ini, ntldr, and ntdetect.com)
and it's marked "active", it will boot itself if the original
partition had booted itself. Otherwise, the MBR of the
hard drive which is at the top of the Hard Drive Boot Order
will get control, and it will hand off control to the boot
sector of its "active" Primary partition by loading and starting
ntldr - which it expects to find just below the root of that
partition. Ntldr then consults boot.ini to get the location
of the partition and folder which contains the OS, then it
goes there and loads the OS from that folder. If just the
clone-containing hard drive is connected, its clone OS will
automatically get booted - just as the original OS had been.
But if the clone-containing hard drive is only one of 2 hard
drives, or it it's the 2nd hard drive in a HD boot order that
contains 3 or 4 hard drives, the clone will boot automatically
boot if its partition is marked "active" by virtue of the absence
of the original hard drive (which previously been at the top
of the HD boot order). If you know the boot.ini syntax and
you know how to adjust the HD boot order in the BIOS,
you can put the clone anywhere in any partition of any type
(Primary or Extended) on any hard drive in the system, and
you can put the boot files in any Primary partition on any
hard drive in the system. But the simplest way to launch a
clone is to just have 2 HDs and to disconnect or remove the
original HD to boot the clone (remembering, of course, to
verify that the partition containing the boot files - usually the
OS's partition - is marked "active").

Ghost, as I recall, will give you the options of copying
the MBR from the original HD, and of marking the clone
partition "active". Casper XP will mark the clone partition
"active" automatically, but I don't know if it will copy the
original MBR or just update the clone HD's MBR
according to the new partition(s) that it makes. In any event,
no diddling with DiskIDs is necessary to make the clone
OS name partitions the same way the original OS had.

*TimDaniels*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top