Target Disk Mode

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Apple G3 iMac booted in Target Mode

Target Disk Mode (sometimes referred to as TDM or Target Mode) is a boot mode unique to Macintosh computers.

When a Mac that supports Target Disk Mode[1] is started with the 'T' key held down, its operating system does not boot. Instead, the Mac's firmware enables its drives to behave as a FireWire or Thunderbolt mass storage device.

A Mac booted in Target Mode can be attached to the FireWire port of any other computer - Mac or PC - where it will appear as an external FireWire device. Hard drives within the target Mac, for example, can be formatted, partitioned, etc., exactly like any other external FireWire drive. Some computers will also make their internal CD/DVD drives and other peripheral hardware available to the host computer via FireWire.[2]

Target Disk Mode is useful for accessing the contents of a Mac which cannot be booted from its own operating system. Target Disk Mode is the preferred form of old-computer to new-computer interconnect used by Apple's Migration Assistant.

Contents

[edit] History

Apple introduced disk mode access with the PowerBook 100 and continued to offer it with most of the subsequent PowerBook series and FireWire-equipped Macs. As long as the requisite software appeared in the system ROM, the Mac could be booted into disk mode.

Originally called SCSI Disk Mode, a special cable (SCSI System Cable) allowed the original PowerBook series to attach to a desktop Mac as an external SCSI disk. A unique system control panel on the PowerBook was used to select a non-conflicting SCSI ID number from the host Mac. This also made it possible to select the disk in the Startup control panel and boot up from it.

With the change to IDE drives starting with the PowerBook 150 and 190, Apple implemented HD Target Mode, which essentially enabled SCSI Disk Mode by translating the external SCSI commands via the ATA driver. Officially reserved for Apple's portables only, all PowerBooks exclusively supported disk mode except the 140, 145, 145B, 150 and 170. However, SCSI Disk Mode can be implemented unofficially on any Macintosh with an external SCSI port, by suspending the startup process with the interrupt switch, as long as its internal drive can be set to a different ID than the active host system's devices.

When Apple dropped the SCSI interface starting with the PowerBook G3, FireWire Target Disk mode replaced the earlier disk mode implementation. Further, TDM now officially supports all desktop models as well as the portable lines, if equipped with FireWire ports. In addition to the previously mentioned 68K PowerBooks, the only Macs that do not provide for any kind of disk mode (supported or otherwise) are the original iMac and iBook series, the MacBook Air, the late-2008 aluminium MacBook and the late-2009 MacBook, all of which also lack a FireWire port.

Thunderbolt does support Target Disk Mode [3][4]

[edit] Requirements for Target Disk Mode

[edit] Compatible computers

Note that this list includes all Macintosh computers introduced after July 2000, excluding only MacBooks with no FireWire port – the MacBook Air and some MacBooks (13-inch, Aluminum/plastic unibody).

[edit] Host computer requirements

The host computer (the computer into which the Target Disk Mode booted computer is plugged) must meet the following requirements:

  • Built-in Thunderbolt or FireWire port (either 400 or 800), or a FireWire port on a PC card
  • FireWire 2.3.3 or later[1]
  • Mac OS 8.6 or later[1]
  • An ATA hard drive at ATA bus 0.[5]

The host computer may run Microsoft Windows, but with some possible shortcomings: to read a Mac's HFS-formatted disks, extra drivers are necessary. With Mediafour's MacDrive, users are able to natively read and write, from within Windows's Explorer, HFS+ file systems. Aside from having MacDrive installed, users also must ensure their computer possesses 1394 ports in order to utilize Target Disk Mode methods. MacDrive also has a read-only option to prevent any accidental editing of the computer in Target Disk Mode; however, this mode cannot be set after an HFS/HFS+ disk is mounted.

With the addition of HFS drivers into Apple's Bootcamp, it has also become possible for Macs running Windows to read (but not write) HFS partitions, without the purchase of software like MacDrive. Users have separated these drivers from the main Bootcamp install, and now also install on other Windows computers.

Running a kernel of 2.4.x, host computers running Linux are also able to read and write to a Mac's HFS or HFS+ formatted disks. Most modern user-friendlier distributions of Linux, such as Ubuntu and Fedora Core, running kernels of 2.4.x or greater, most commonly, have this functionality pre-installed. However, since the Linux kernel now supports HFS and HFS+ file system manipulation,[6] users without this functionality pre-installed typically have to just compile a supplementary driver and attempt to remount the HFS/HFS+ formatted file system.

[edit] Notes

  1. ^ a b c "Target Disk Mode." Developer Connection. 16 January 2002. Apple Computer Inc. 13 July 2007. <http://developer.apple.com/documentation/Hardware/Developer_Notes/Macintosh_CPUs-G4/PowerMacG4_16Jan01/3Input-Output/Target_Disk_Mode_.html>
  2. ^ Griffiths, Rob. "Borrow an optical drive from another Mac", "Macworld", March 27, 2007. (retrieved October 8, 2010)
  3. ^ "Macbook Pro EFI Firmware Update 2.2". Apple. http://support.apple.com/kb/DL1450. Retrieved 15 September 2011. 
  4. ^ Fleishman, Glenn. "Secrets of Thunderbolt and Lion". TidBITS. http://db.tidbits.com/article/11993. Retrieved 27 February 2011. 
  5. ^ "FireWire Target Disk Mode: Target Computer Shuts Down at Startup" Apple Computer support article: TA25584, last modified: June 12, 2002 [1]
  6. ^ "Linux HFS+ Support." SourceForge.net. 04 May 2008. GeekNet, Inc. 29 December 2009. <http://sourceforge.net/projects/linux-hfsplus/>
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export