OK, got some more updates done. I can't seem to get tables to come out in a forum posting, but that's a typography rather than content issue to be corrected later.
Comments and corrections appreciated.
=====================================
A More Comprehensive Guide To Cloning Thinkpad Hard Drives
Cloning Thinkpad hard drives is difficult because in doing so, you are put into the position of the blind men feeling of an elephant. It’s the same with Thinkpad drives. One Thinkpad is only one sample of a large space. There are many parts to a large issue, and even if you have successfully “felt” of your part of the elephant, your knowledge is not necessarily complete enough to advise the next guy who has the problem.
Things you need to know:
1. How do you want to do recovery in case of a drive or OS failure? Will you need to preserve the IBM or Lenovo-supplied Rescue, Repair and Recovery (RR&R) software/hardware scheme after cloning your drive or not, as a clear Yes or No. (See “RR&R” below for some background.)
2. Will you be making an exact clone, or will you be using cloning to install a larger sized HDD?
3. Does your model of Thinkpad have the HPA area? (See HPA below for some background.)
Once you do that, you can use the following table to select the process you need to follow.
Code: Select all
Keep RR&R? Bigger/SameSize? HPA? Process to Follow
No Same Size No A
No Same Size Yes A
No Bigger No A
No Bigger Yes A
Yes Same Size No A
Yes Same Size Yes B
Yes Bigger No A
Yes Bigger Yes C
Processes:
There are only two practical results for most users.
A. Clone your HDD with an exact-copy program like Ghost or Acronis True Image with no particular oddities involved.
B. You must perform some BIOS manipulations before and after the cloning program and must be using a special HDD as the target.
C. You must be able to deal with special HDD and Linux-based tools as well as the RR&R software to save the HPA and your own user data to some other machine, clone the HDD, then restore the HPA to the protected area of the target HDD, and re-link the RR&R programs to the correct place in the new HDD.
Process A
This is the process already outlined in the “HDD cloning” portion of the FAQ. Simply perform disk cloning with a good disk-image program, following the caveats and advice. This process results in a workable image of the original drive in almost all cases. It works for both the Pre-HPA and Post-HPA Thinkpads, since RR&R in these units do not use hardware-hidden cylinders to hide (protect?) the RR&R data.
Some care is needed here. HPA and a similar technology, Disk Capacity Overlay (DCO) were specified as part of the ATA architecture at one point. It is likely that many disks have these features; the term “post-HPA” refers to IBM or Lenovo’s use of the HPA for RR&R.
Process B
Process B is useful only in the particular case where
(a) you are making a clone of the same HDD size
(b) you have a target HDD that supports the BEER/PARTIES architecture that allows hardware to hide portions of the disk from software
(c) you want to preserve the IBM provided RR&R recovery process
As many forum participants have noted, if you have a disk cloning program, it is simpler to do external cloning of your disk for backups, perhaps in combination with making boot/recovery disks which are not IBM-provided architecture RR&R. This approach also lets you recover the 2-5 GB of HDD space that the HPA uses.
But if you must preserve the IBM RR&R architecture and clone your HDD onto the same size HPA disk, here are the steps.
1. Press the power-on button and then press the “Access IBM” button as soon as the first splash screen appears, so you enter the BIOS setup.
2. Navigate the BIOS setup to the Security section.
3. Select “IBM Pre-Desktop Area” and change its status to “Disabled”.
4. Navigate back to the BIOS entry, save the changes and exit.
5. Follow the process outlined in the “HDD Cloning” portion of the FAQ for non-HPA drives, but be certain that your cloning program clones all sectors, not simply partitions. The HPA area sectors will be visible as raw sectors to copy, but will not appear to be partitions and will not be copied by programs that just copy partitions.
6. When cloning is done, power the machine off and before you re-boot the machine, remove either the source or the target disk from the machine. This gets around a quirk of Windows which labels a disk as to which disk letter it uses.
7. Follow steps 1 and 2 again, but in step 3, change the BIOS security setting for the IBM Pre-Desktop Area back to “enabled” or “secure”, whichever it was before you started this process; then save the settings and exit the BIOS.
8. Test the clone. This should go without saying, but the vast majority of backups are simply Write-Only Memory, and are never tested for function and accuracy until there is a failure. When you have your clone/backup done, ask yourself - do you feel lucky?
Process C
This is what most people with an HPA Thinkpad want to do. But it is possible only if you are willing to risk your disk contents, because of the complexity of the process and the need for non-Windows, Linux command line tools.
I have no experience with this (yet!). There is a set of utilities and a procedure for this at this link:
http://jamesie.de/thinkpad/index.en.html
The procedure is involved, and carries the possibility of total disk data loss if you mess up some of the command spellings, as it has to be carried out in command line instructions by booting your machine to Linux.
http://jamesie.de/thinkpad/index.en.html
In all of these cases, you must remove either the source HDD or the target HDD from the copying machine before rebooting to Windows. Some Windows versions “mark” partitions with their letter usage, and this may contaminate your target or source disk and make that disk not bootable.
Which Thinkpad do I have and does it have that evil HPA?
As of September 2008, as best I can tell, Thinkpads fall into the following buckets:
1. Pre-HPA machines which shipped with a factory recovery disk.
2. HPA style recovery, which eliminated the factory recovery disk with the machine.
3. Post-HPA machines, which used no factory recovery disks, but had a visible FAT-32 service partition.
4. Post-HPA machines, which use an NTFS service partition
5. At some point, a change was made from PATA/IDE to SATA controllers. However, the first SATA controller Thinkpads used PATA disks by including a SATA to PATA bridge chip. Yes, new controller style, old style disks. Later Thinkpads eliminated the SATA-to-PATA bridge and used SATA disks.
As a final caveat: this is not properly a HDD cloning issue; Rescue and Recovery releases after 2.0 may need previously existing recovery disks to have been made at some point to recover the entire disk contents to factory state. I have not unwound this complexity enough to know what, how much and so on.
Thinkpad models as regards HDD cloning:
Code: Select all
ThinkPad model release year HDD Type
Pre-2003 Models (mostly) Pre-HPA with included Recovery disk
T23 and T30 Pre-HPA, R&Ra 2.0
2003
R40 Jan 2003 HPAb
T40, T40p Mar 2003 HPAb
X31 Mar 2003 HPAb
G40 Apr 2003 HPAb
R40e Oct 2003 HPAb
R50 Oct 2003 HPAb
T41 Oct 2003 HPAb
T41p Nov 2003 HPAb
R50p Nov 2003 HPAb
2004
X40 Feb 2004 HPAb
R50e Apr 2004 HPAb
R51 Apr 2004 HPAb
T42, May 2004 Early ones have HPA, later ones Post HPA
T42p May 2004 HPAb
G41 Oct 2004 ?
2005
T43 Feb 2005 Post HPA, R&Ra 3.0; SATA to PATA, Error 2010c listed as having HPA
R52 Mar 2005 Post HPA, R&Ra 3.0; SATA to PATA, Error 2010clisten under having HPA
T43p Apr 2005 R&Ra 3.0; SATA to PATA, Error 2010c listed as having HPA
X32 Apr 2005 HPAb
X41 Apr 2005 Post HPA, R&Ra 3.0; SATA to PATA, Error 2010c
X41 Tablet June 2005 Post HPA, R&Ra 3.0; SATA to PATA, Error 2010c
Z60m Sep 2005 Post HPA, R&Ra 3.0; SATA
Z60t Sep 2005 Post HPA, R&Ra 3.0; SATA
R51e Sep 2005 R&Ra 3.0
2006
T60 Jan 2006 Post HPA, R&Ra 3.0; SATA
X60 Jan 2006 Post HPA, R&Ra 3.0; SATA
X60s Jan 2006 Post HPA, R&Ra 3.0; SATA
T60p Feb 2006 Post HPA, R&Ra 3.0; SATA
R60 May 2006 Post HPA, R&Ra 3.0; SATA
R60e May 2006 Post HPA, R&Ra 3.0; SATA
Z61e May 2006 Post HPA, R&Ra 3.0; SATA
Z61m May 2006 Post HPA, R&Ra 3.0; SATA
Z61t May 2006 Post HPA, R&Ra 3.0; SATA
Z61p July 2006 Post HPA, R&Ra 3.0; SATA
X60 Tablet Nov 2006 Post HPA, R&Ra 3.0; SATA
T61[1] May 2007 Post HPA, R&Ra 4.0; SATA
R61 Post HPA, R&Ra 4.0; SATA
X61 Post HPA, R&Ra 3.0; SATA
X61s HPAb
X61 tablet HPAb
Retrieved from "
http://www.thinkwiki.org/wiki/ThinkPad_History"
a.
http://www.thinkwiki.org/wiki/Rescue_and_Recovery
b.
http://www.thinkwiki.org/wiki/Hidden_Protected_Area
c.
http://www.thinkwiki.org/wiki/Problem_w ... hard_disks
Background for HDD disaster recovery for Thinkpads.
The earliest recovery system was one or more CDs which could restore the HDD content to the factory-shipped condition. For these systems, simple disk cloning programs work.
The earliest R&R versions (2.n?) were used on models T23 and T30. This used the R&R programs, but in a visible disk partition and did not ship with factory provided recovery disks. Simple disk cloning works.
HPA is hidden from hardware by BIOS commands to the HDD firmware, which then reports a smaller hard disk size by listing fewer cylinders. The access to the HPA is controlled by the BIOS setting of the “Pre Desktop Area” in Security settings. When the BIOS is set to “Disabled”, the extra cylinders are visible to other programs for copying.
However, this is a complex issue. First you must have a HDD that supports the BEER and PARTIES drive access architecture. Without that, the disk itself will not play well with the BIOS calls to the disk to change its hardware visible size.
The layout of data on the HDD has the Windows/boot partition first on the disk. The HPA is not at the front of the disk, but at the last few cylinders. When the BIOS calls make this area visible, it appears as unallocated space to any partition program I’ve yet found. So partition-copiers, even bit-for-bit partition copiers, will refuse to do anything with it because it’s apparently not in a partition.
Because of this, if you bit-clone, sector-clone, etc., the HDD into a new and larger disk, you get the Windows partition first, then the HPA in the cylinders at the end of the Windows partition, and nothing out at the end of the HDD. Even if you have a BEER/PARTIES compatible disk, the end of the disk where the changeable size exists is not written with the necessary data for the HPA to function correction in the Thinkpad.
A procedure for copying the image did not exist until recently; it’s at
http://jamesie.de/thinkpad/index.en.html
Post-HPA R&R uses a hidden partition, but it does not use the hardware-hidden techniques of the HPA. Instead, a special driver hides the recovery partition from the OS. This gets very confusing because IBM literature uses “Pre-Desktop Area” as the single name for both HPA and non-HPA versions. HPA exists only for certain specific models.
It is not clear how, if at all, these later disks and RR&R relate to the Drive Capacity Overlay (DCO) method of making a HDD report smaller capacity than it actually has.
It has been reported that the T42 had early models with HPA and later models without HPA.
Another issue to be careful of is PATA versus SATA. Early Thinkpads were PATA (IDE or ATA). Later ones have gone to SATA. However, in the middle, there were Thinkpads which used PATA HDDs, but had a SATA controller on the motherboard, which ran the PATA HDD by means of a SATA-to-PATA bridge chip. For these models only, the HDD must have the correct firmware inside the HDD, or you will get the “Error 2010” on trying to boot a clone. You must either use an IBM/Lenovo HDD or flash update the OEM HDD you try to put into these machines to avoid this and get a bootable drive.
Things I found that helped me reach this current state of confusion:
http://www.thinkwiki.org/wiki/HPA
HPA United States Patent 7210013
http://www.phoenix.com/NR/rdonlyres/746 ... are_wp.pdf
http://www-3.ibm.com/pc/support/site.ws ... MIGR-46023
http://www.downloadpipe.com/system-uti ... 66308.html
http://www.utica.edu/academic/institute ... 4A2671.pdf
http://jamesie.de/thinkpad/index.en.html