Difference between revisions of "Target Disk Mode"

From FreekiWiki
Jump to navigation Jump to search
Line 12: Line 12:
 
*I installed the pre-seeded network image to an Intel Core 2 Duo iMac, and it will not boot
 
*I installed the pre-seeded network image to an Intel Core 2 Duo iMac, and it will not boot
 
**Will see if installing via CD works any better (Intel Macs should be able to do this just fine, PPCs will be tricky because the host machine has to be able to boot from this disk too, I imagine there won't really be instances where this is an issue).
 
**Will see if installing via CD works any better (Intel Macs should be able to do this just fine, PPCs will be tricky because the host machine has to be able to boot from this disk too, I imagine there won't really be instances where this is an issue).
**Try using the manual partitioning instructions below
 
 
This may be why installing pre-seeded didn't work:
 
 
Link: https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation
 
 
Intel Macs have an EFI instead of a BIOS as in an 'IBM compatible' system. A different partition table scheme, GPT, is used on the hard drive.
 
 
You can convert your hard drive partition format with gparted on the Ubuntu LiveCD.
 
 
    Insert the Ubuntu LiveCD into your Mac and Shutdown. Restart the Mac and hold the Option Key. When the boot selector screen comes up, choose to boot from the CD.
 
    Choose you language and and select "Try Ubuntu". This won't make any changes to your Mac.
 
 
    Once you get to the Ubuntu desktop, go to System > Administration > Partition Editor
 
 
    gParted will start. From gParted's menu, choose Device > Create Partition Table...
 
    In the Dialog Box that comes up, heed the large, bold warning at the top, and click the "Advanced" triangle to enable the option to create a new partition table format.
 
    Make sure to choose "msdos" for the type of partition table and click "Create".
 
    Once your disk has been converted there should be no partitions in gParted. You can create your custom partition layout here or exit gParted and start the Ubuntu Installer and use it's partitioner to do the dirty work. Proceed through the install as normal
 
    Proceed to the documentation for your specific mac version to configure additional drivers and fix any issues.
 
  
 
===Installing Ubuntu onto an Intel Mac via TDM===
 
===Installing Ubuntu onto an Intel Mac via TDM===

Revision as of 16:47, 14 August 2012

Work in Progress

Target disk mode is a fancy firmware feature provided by Apple since 1999. It essentially allows you to boot a Mac as if it were an external hard drive, and read the hard drive on another machine via firewire. Turns out, the host computer (the one reading the target drive) doesn't have to be running OSX, it just has to be able to read the file system on the drive. For our purposes, we won't be reading data, just over-writing the drives with a new operating system. Linux can read HFS+ just fine, no problem, anyhow. So there.

http://www.1394ta.org/press/WhitePapers/TargetDiskMode.html

Testing Done Thus Far

  • Hardware detection kit does not show the drive on the 1394 PCI bus slot, not useful for detecting hardware on the target machine, just the host.
  • Disk wiping via Floe works well. Too well.
  • Live Ubuntu or Debian boot detects the target drive
    • Should try this with a Mac with data on it to see how the live boot deals with the file system, should be fine
  • I installed the pre-seeded network image to an Intel Core 2 Duo iMac, and it will not boot
    • Will see if installing via CD works any better (Intel Macs should be able to do this just fine, PPCs will be tricky because the host machine has to be able to boot from this disk too, I imagine there won't really be instances where this is an issue).

Installing Ubuntu onto an Intel Mac via TDM

  • Turn the target Mac off
  • Connect the target Mac via firewire to a Linux box or another Mac
  • Figure out what kind of bootable media you want to use for the host computer (insert a disk into optical drive, make sure the external drive you want to boot from works, check your boot order, etc)

NEED TO TEST NETBOOT

  • Turn the target Mac on while holding down the T key
  • The subject screen should switch to a blue screen saver with a yellow firewire symbol
  • You should be able to read the target drive from the host computer Disk Utility app
  • Reboot the host computer and select the boot option you want to use
  • Be sure to select the correct hard drive during the installation or you will loose everything on the host computer