How to move your existing XP build from old TP to new TP
How to move your existing XP build from old TP to new TP
Edit May 7, 2007:
For an automated approach to moving an existing XP build to a new machine, see this post later in this thread:
http://forum.thinkpads.com/viewtopic.ph ... 855#281855
Original post:
As reported in this thread: http://forum.thinkpads.com/viewtopic.php?t=36403 my T60p with Windows XP Pro migrated from a T42p is working very well. Initially I was able to move from P-ATA to S-ATA pretty easily but then had stability problems because I hadn't updated the kernel to be multi-processor.
If you want to move an old XP installation on a P-ATA drive with one processor to an S-ATA drive with more than one processor, you can follow these instructions:
1) Get the Intel matrix SATA driver from Lenovo and put it on a USB drive
2) Copy these files from the version of XP that came with your new machine to the USB drive:
Copy c:\windows\system32\hal.dll to halmacpi.dll
Copy c:\windows\system32\ntoskrnl.exe to ntkrnlmp.exe
Copy c:\windows\system32\ntkrnlpa.exe to ntkrpamp.exe
Copy the folder c:\SWTOOLS to SWTOOLS
3) Clone your old P-ATA XP hard drive to the first partition on the SATA drive which will overwrite the version of XP that came with your new machine (if you want, make a backup copy first before overwriting it).
4) WARNING: DO NOT let the "new" cloned XP (on S-ATA drive) boot and see the "old" (cloned-from) XP (you can, if needed, after you've booted the "new" XP). Also, don't let the "old" XP see the S-ATA drive before cloning. Using a Partition Magic 8 floppy to clone, I simply cloned from the P-ATA XP drive in the Ultra Bay to the S-ATA drive, then removed the Ultra Bay drive.
5) Turn the computer on, IMPORTANT: go into the BIOS and set the SATA mode to "Compatibility"
6) Boot the new cloned XP on the S-ATA drive
7) Log into Administrator and cancel any new hardware found wizards
8) Run the pre-install for SATA from the USB drive (see Lenovo readme for details)
9) Reboot, first setting the SATA setting in the BIOS back to "AHCI"
10) Cancel all new hardware wizards except the one for the hard drive, install that from the USB drive (again see the Lenovo readme)
11) Reboot, log in to the Administrator account and cancel all the device installation dialogs
At this point XP will only "see" one processor (when you bring up Task Manager only one CPU graph is visible). This causes problems such as the system hanging when on battery power - all disk activity, the mouse, everything stops except the screen is still visible. Or, the system won't come out of standby. To fix this, you need to replace the kernel drivers with drivers that are multi-processor aware.
The files that must be replaced are hal.dll, ntkrnlpa.exe, and ntoskrnl.exe in c:\windows\system32. The core 2 duo processors in Thinkpads are ACPI Multiprocessor PCs. This website lists the versions of these files that are required:
http://support.microsoft.com/default.aspx/kb/237556/
You can copy these files from the USB drive if you made copies in step 2 above. If you can, copy them to the new SATA drive (clone of your old PATA XP drive) while that drive is not booted. Otherwise there are two issues. I didn't try, but its probably not a good idea to copy these files over a running kernel. And, in any case Windows File Protection will simply replace them back to the originals. Here's what I did.
First, I copied hal.dll from the T60p shipping XP build (its on your USB drive, remember?) and put it on the new SATA drive as c:\windows\system32\halmacpi.dll (if you followed step 2 you already renamed it from hal.dll to halmacpi.dll). Similarly, I copied ntoskrnl.exe to c:\windows\system32\ntkrnlmp.exe. Finally, I copied ntkrnlpa.exe to c:\windows\system32\ntkrpamp.exe. These are the original file names per the above web link.
Then, per this website:
http://support.microsoft.com/kb/833721
I edited c:\boot.ini to add a safe mode boot option, booting with the just-copied multi-processor kernel files. To do this, copy the normal windows boot entry and paste it as an additional line in boot.ini. This was the normal boot entry on my PC:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Then add these flags at the end of the new line:
/safeboot:network /hal=halmacpi.dll /kernel=ntkrnlmp.exe
Now, reboot into the safe mode multiprocessor boot option just created. While in safe mode, you can replace files without WFP getting in the way. Replace c:\windows\system32\hal.dll with the just-copied halmacpi.dll, ntkrnlpa.exe with ntkrpamp.exe, and ntoskrnl.exe with ntkrnlmp.exe.
Now, reboot in normal (non-safe) windows mode into Administrator and cancel those pesky New Hardware Found wizards. Run task manager, and you should see two (count 'em!) cpu graphs. You can now edit boot.ini and remove the safe mode boot line.
So, now all that's left to do is uninstall all the old Thinkpad drivers/cruft and install all the new Thinkpad drivers/cruft. To save time uninstall it all before rebooting. After uninstalling the old stuff and rebooting, the easiest way to install the new stuff is to download and install the latest version of Thinkvantage Software Installer from Lenovo and point it at SWTOOLS on the USB drive. You can select which packages to install and Software Installer will do all the installations for you after downloading any that are out of date already. Remember to cancel all New Hardware Found wizards whenever you reboot - let the Software Installer load the drivers for you, it will load the correct ones.
One more thing, I noticed when looking at the BIOS that my T60p did not come enabled for Intel virtualization technology. Since I use VMWare, I enabled this feature.
Hope this helps! Was it worth it? For me, it was educational and may even have saved time, but I've done all the heavy lifting for you if you want to try.
For an automated approach to moving an existing XP build to a new machine, see this post later in this thread:
http://forum.thinkpads.com/viewtopic.ph ... 855#281855
Original post:
As reported in this thread: http://forum.thinkpads.com/viewtopic.php?t=36403 my T60p with Windows XP Pro migrated from a T42p is working very well. Initially I was able to move from P-ATA to S-ATA pretty easily but then had stability problems because I hadn't updated the kernel to be multi-processor.
If you want to move an old XP installation on a P-ATA drive with one processor to an S-ATA drive with more than one processor, you can follow these instructions:
1) Get the Intel matrix SATA driver from Lenovo and put it on a USB drive
2) Copy these files from the version of XP that came with your new machine to the USB drive:
Copy c:\windows\system32\hal.dll to halmacpi.dll
Copy c:\windows\system32\ntoskrnl.exe to ntkrnlmp.exe
Copy c:\windows\system32\ntkrnlpa.exe to ntkrpamp.exe
Copy the folder c:\SWTOOLS to SWTOOLS
3) Clone your old P-ATA XP hard drive to the first partition on the SATA drive which will overwrite the version of XP that came with your new machine (if you want, make a backup copy first before overwriting it).
4) WARNING: DO NOT let the "new" cloned XP (on S-ATA drive) boot and see the "old" (cloned-from) XP (you can, if needed, after you've booted the "new" XP). Also, don't let the "old" XP see the S-ATA drive before cloning. Using a Partition Magic 8 floppy to clone, I simply cloned from the P-ATA XP drive in the Ultra Bay to the S-ATA drive, then removed the Ultra Bay drive.
5) Turn the computer on, IMPORTANT: go into the BIOS and set the SATA mode to "Compatibility"
6) Boot the new cloned XP on the S-ATA drive
7) Log into Administrator and cancel any new hardware found wizards
8) Run the pre-install for SATA from the USB drive (see Lenovo readme for details)
9) Reboot, first setting the SATA setting in the BIOS back to "AHCI"
10) Cancel all new hardware wizards except the one for the hard drive, install that from the USB drive (again see the Lenovo readme)
11) Reboot, log in to the Administrator account and cancel all the device installation dialogs
At this point XP will only "see" one processor (when you bring up Task Manager only one CPU graph is visible). This causes problems such as the system hanging when on battery power - all disk activity, the mouse, everything stops except the screen is still visible. Or, the system won't come out of standby. To fix this, you need to replace the kernel drivers with drivers that are multi-processor aware.
The files that must be replaced are hal.dll, ntkrnlpa.exe, and ntoskrnl.exe in c:\windows\system32. The core 2 duo processors in Thinkpads are ACPI Multiprocessor PCs. This website lists the versions of these files that are required:
http://support.microsoft.com/default.aspx/kb/237556/
You can copy these files from the USB drive if you made copies in step 2 above. If you can, copy them to the new SATA drive (clone of your old PATA XP drive) while that drive is not booted. Otherwise there are two issues. I didn't try, but its probably not a good idea to copy these files over a running kernel. And, in any case Windows File Protection will simply replace them back to the originals. Here's what I did.
First, I copied hal.dll from the T60p shipping XP build (its on your USB drive, remember?) and put it on the new SATA drive as c:\windows\system32\halmacpi.dll (if you followed step 2 you already renamed it from hal.dll to halmacpi.dll). Similarly, I copied ntoskrnl.exe to c:\windows\system32\ntkrnlmp.exe. Finally, I copied ntkrnlpa.exe to c:\windows\system32\ntkrpamp.exe. These are the original file names per the above web link.
Then, per this website:
http://support.microsoft.com/kb/833721
I edited c:\boot.ini to add a safe mode boot option, booting with the just-copied multi-processor kernel files. To do this, copy the normal windows boot entry and paste it as an additional line in boot.ini. This was the normal boot entry on my PC:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Then add these flags at the end of the new line:
/safeboot:network /hal=halmacpi.dll /kernel=ntkrnlmp.exe
Now, reboot into the safe mode multiprocessor boot option just created. While in safe mode, you can replace files without WFP getting in the way. Replace c:\windows\system32\hal.dll with the just-copied halmacpi.dll, ntkrnlpa.exe with ntkrpamp.exe, and ntoskrnl.exe with ntkrnlmp.exe.
Now, reboot in normal (non-safe) windows mode into Administrator and cancel those pesky New Hardware Found wizards. Run task manager, and you should see two (count 'em!) cpu graphs. You can now edit boot.ini and remove the safe mode boot line.
So, now all that's left to do is uninstall all the old Thinkpad drivers/cruft and install all the new Thinkpad drivers/cruft. To save time uninstall it all before rebooting. After uninstalling the old stuff and rebooting, the easiest way to install the new stuff is to download and install the latest version of Thinkvantage Software Installer from Lenovo and point it at SWTOOLS on the USB drive. You can select which packages to install and Software Installer will do all the installations for you after downloading any that are out of date already. Remember to cancel all New Hardware Found wizards whenever you reboot - let the Software Installer load the drivers for you, it will load the correct ones.
One more thing, I noticed when looking at the BIOS that my T60p did not come enabled for Intel virtualization technology. Since I use VMWare, I enabled this feature.
Hope this helps! Was it worth it? For me, it was educational and may even have saved time, but I've done all the heavy lifting for you if you want to try.
Last edited by WPWoodJr on Mon May 07, 2007 10:46 am, edited 1 time in total.
-
Dodge DeBoulet
- Sophomore Member
- Posts: 149
- Joined: Fri Apr 13, 2007 12:42 pm
- Location: Brunswick, ME
Has anyone used WPWoodJr's method to migrate from a Non-IBM/Lenovo laptop (Dell, for example) to a ThinkPad? I'll be spending days reinstalling all of the software I use. A shortcut such as this would absolutely save time . . .
(Current) T460p | i7-6820HQ | WQHD | nVidia 940MX | 72Wh Battery | 32GB RAM | 2TB Samsung 850 Pro SSD
(Retired) T420 | Core i5-2520M | HD+ | Intel HD 3000 | 57Wh Battery | 16GB RAM | 1TB + 250GB Samsung SSDsI'll help as I can should you decide to try it. Its not risky if you have an extra drive to copy your old one to. I'm still happily running my upgraded XP from early 2004 on my new T60p.Dodge DeBoulet wrote:Has anyone used WPWoodJr's method to migrate from a Non-IBM/Lenovo laptop (Dell, for example) to a ThinkPad? I'll be spending days reinstalling all of the software I use. A shortcut such as this would absolutely save time . . .
T60p 2613-CTO, 2.33GHz, 3GB ram, Intel 80gb G2 SSD, H7K 200GB/7200rpm, LG Flexview IPS SXGA+ screen, ATI FireGL V5250
Essential TP Hotfixes and Tweaks
Essential TP Hotfixes and Tweaks
-
Dodge DeBoulet
- Sophomore Member
- Posts: 149
- Joined: Fri Apr 13, 2007 12:42 pm
- Location: Brunswick, ME
Thank you! My T60 is sitting in Ontario, California right now awaiting clearance, so I should have it no later than the beginning of next week. That gives me about a month to get things moved over before I have to return the Dell.
Appreciate the help!
Appreciate the help!
(Current) T460p | i7-6820HQ | WQHD | nVidia 940MX | 72Wh Battery | 32GB RAM | 2TB Samsung 850 Pro SSD
(Retired) T420 | Core i5-2520M | HD+ | Intel HD 3000 | 57Wh Battery | 16GB RAM | 1TB + 250GB Samsung SSDsOr use Acronis Universal Restore
Here's another approach that is MUCH simpler:
1) Buy Acronis True Image Workstation and Acronis Universal Restore.
2) Install both Acronis products on your old machine.
3) Make an Acronis boot CD with Universal Restore on it.
4) Make a complete image backup to an external drive.
5) Connect the external drive to the new machine and boot the machine from the Acronis CD.
6) Restore the image onto the new machine using the Universal Restore option.
7) Boot the new machine and run System Update to get all the new drivers.
All done!
1) Buy Acronis True Image Workstation and Acronis Universal Restore.
2) Install both Acronis products on your old machine.
3) Make an Acronis boot CD with Universal Restore on it.
4) Make a complete image backup to an external drive.
5) Connect the external drive to the new machine and boot the machine from the Acronis CD.
6) Restore the image onto the new machine using the Universal Restore option.
7) Boot the new machine and run System Update to get all the new drivers.
All done!
Cool! If that works it is much simpler - does it convert from P-ATA to S-ATA drivers too?
One step that needs to be added is to de-install all the old (Dell) drivers/software "cruft" after step 6 before running System Update.
One step that needs to be added is to de-install all the old (Dell) drivers/software "cruft" after step 6 before running System Update.
T60p 2613-CTO, 2.33GHz, 3GB ram, Intel 80gb G2 SSD, H7K 200GB/7200rpm, LG Flexview IPS SXGA+ screen, ATI FireGL V5250
Essential TP Hotfixes and Tweaks
Essential TP Hotfixes and Tweaks
Indeed it does! Universal Restore takes care of the HAL (e.g. uniprocessor vs. multiprocessor) and the disk controller drivers (IDE, SCSI, SATA). Then it lets Windows plug&play handle the rest of the drivers. As you mentioned, you need to take care of cleaning out other utilities and stuff yourself.WPWoodJr wrote:...does it convert from P-ATA to S-ATA drivers too?
-
Michael Dag
- Posts: 12
- Joined: Thu Nov 09, 2006 6:05 am
- Location: Amsterdam, Netherlands
- Contact:
I used Acronis Home 11 to backup from a T42 and restore on a T60,
everything went smoothly, except for the multiprocessor part!
I had hangups when unplugging the AC just as described, thanks very much for this post!!!
Now everything is fine!!!
everything went smoothly, except for the multiprocessor part!
I had hangups when unplugging the AC just as described, thanks very much for this post!!!
Now everything is fine!!!
_________________
T61p · 14.1 SXGA+ · 2.4GHz T7700 · 4GB DDR2-667 · 2x 100GB 7K200 · Vista x64 / Windows Server 2003
retired · T60p · T42 · A31 · 770z · 600E
T61p · 14.1 SXGA+ · 2.4GHz T7700 · 4GB DDR2-667 · 2x 100GB 7K200 · Vista x64 / Windows Server 2003
retired · T60p · T42 · A31 · 770z · 600E
Re: Or use Acronis Universal Restore
I second the acronis method. My current XP installation is ancient and has been moved from T42->T60p->T61P using acronis without any major problems.Geary wrote:Here's another approach that is MUCH simpler:
1) Buy Acronis True Image Workstation and Acronis Universal Restore.
...
All done!
regards,
J James
Workhorse: W500
Museum: T42P UXGA, T30 SXGA+. T23 SXGA+, T22 SXGA+, A31P+A30P UXGA
600X, 390X, 570, 240X, S30, 701C, 220, PC110, Z50, PowerPC 860 w. AIX.. and more
Museum: T42P UXGA, T30 SXGA+. T23 SXGA+, T22 SXGA+, A31P+A30P UXGA
600X, 390X, 570, 240X, S30, 701C, 220, PC110, Z50, PowerPC 860 w. AIX.. and more
-
- Similar Topics
- Replies
- Views
- Last post
-
-
WTB - T60/60p for Frankenpad build
by KroviRoz » Mon Jan 02, 2017 4:35 pm » in Marketplace - Forum Members only - 2 Replies
- 360 Views
-
Last post by KroviRoz
Mon Jan 02, 2017 10:21 pm
-
-
-
Lenovo support draws a blank on my build # / serial
by glossywhite » Fri Jun 02, 2017 8:38 pm » in ThinkPad R400/R500 Series - 12 Replies
- 545 Views
-
Last post by ajkula66
Tue Jun 06, 2017 7:09 pm
-
-
-
How to build an advanced FrankenPad
by ThinkDan2004 » Sun Jun 04, 2017 7:30 am » in ThinkPad T6x Series - 14 Replies
- 697 Views
-
Last post by ThinkDan2004
Fri Jun 23, 2017 3:06 pm
-
-
-
Got myself a ThinkPad 600E with broken hinges, can I repair old hinges instead of buying new ones?
by karl80038 » Wed Jun 21, 2017 7:40 am » in ThinkPad Legacy Hardware - 3 Replies
- 115 Views
-
Last post by karl80038
Wed Jun 21, 2017 10:04 am
-
Who is online
Users browsing this forum: No registered users and 10 guests




