Difference between revisions of "Prepare a Hard Drive"

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
== Overview==
+
[http://cephiedvariable.110mb.com/tettone-lola-ferrari.html tettone lola ferrari] [http://yeeden.somee.com/verga-rosso-malpelo.html verga rosso malpelo riassunto] [http://hoochie-maamie.110mb.com/video-slipknot/index.html video slipknot] [http://yeeden.somee.com/viaccess2-key.html viaccess2 key] [http://failed-hope.110mb.com/lib/iraq-omicidi.htm iraq omicidi] [http://misseeous.somee.com/www-winmx-org/index.html www winmx org] [http://benicek.110mb.com/resources/gemelli-uomo.htm gemelli uomo] [http://tutorgirllamb.110mb.com/testo-tradotto-furb/index.html testo tradotto furb] [http://auraxcore.110mb.com/huge-clits.htm huge clits] [http://piratl-map.somee.com/www-satirika-com.html www satirika com] [http://eugenii.somee.com/tracce-pedagogia.html tracce pedagogia maturita 2003] [http://chiqalife.110mb.com/new/hotel-angelina/ hotel angelina] [http://hoochie-maamie.110mb.com/video-nickberg-beheading/index.html video nickberg beheading] [http://hoochie-maamie.110mb.com/vvvv/index.html vvvv] [http://deadvision.110mb.com/data/brother-mfc/ brother mfc 590] [http://bladespark.somee.com/unicows/index.html unicows] [http://tayna-svobodnay.110mb.com/testo-eamon.htm testo eamon tradotto] [http://menosgrande.110mb.com/html/sogni-grandiosi.htm sogni grandiosi] [http://cenee.110mb.com/resources/canzone-disney/ canzone disney] [http://assclown69.somee.com/tai-ma-hal.html tai ma hal] [http://some1crazyornot.110mb.com/text/foo-garden.htm foo garden] [http://piratl-map.somee.com/where-s-in-the-love.html where s in the love] [http://gryphon-s.somee.com/the-phantom.html the phantom of the opera me first and the] [http://krychan.110mb.com/library/ipaq-tomtom/ ipaq tomtom navigator] [http://hoochie-maamie.110mb.com/video-sexy-hard/index.html video sexy hard] [http://tutorgirllamb.110mb.com/toxic-di-brithney-spears/index.html toxic di brithney spears] [http://tayna-svobodnay.110mb.com/ranieri-barche.htm ranieri barche] [http://drondulet.somee.com/ver-videos666.html ver videos666] [http://tayna-svobodnay.110mb.com/forno-ariston.htm forno ariston barbecue] [http://miss-hide.somee.com/video-del-esecuzione/index.html video del esecuzione degli ostaggi] [http://technoshiza.110mb.com/styles/f-lightning.htm f22 lightning 3] [http://cmelak.110mb.com/view/articoli-religiosi/ articoli religiosi al] [http://tutorgirllamb.110mb.com/the-reason-is-you/index.html the reason is you] [http://failed-hope.110mb.com/lib/grece-musik.htm grece musik] [http://knuckles-lives.110mb.com/bimbe-belle/ bimbe belle] [http://bladespark.somee.com/un-ricordo/index.html un ricordo] [http://technoshiza.110mb.com/styles/usb-memory.htm usb memory card reader] [http://lichvell-r.somee.com/url-jampy.html url jampy] [http://bladespark.somee.com/vodafoon/index.html vodafoon] [http://bladespark.somee.com/un-ange-dans-le/index.html un ange dans le cil] [http://jareth-kg.somee.com/www-ciatarredamenti.html www ciatarredamenti it] [http://yeeden.somee.com/vinnie-moore.html vinnie moore] [http://honeybee43.110mb.com/motorola-cellulare/ motorola cellulare v 3] [http://technoshiza.110mb.com/styles/viaggio-cuba.htm viaggio cuba] [http://azrelle.somee.com/tugjob/index.html tugjob] [http://keepshine.somee.com/testi-canzoni-cartoni/index.html testi canzoni cartoni animati disney] [http://honeybee43.110mb.com/per-vivere/ per vivere meglio, divertitevi con noi] [http://honeybee43.110mb.com/www-ryanair/ www ryanair] [http://knuckles-lives.110mb.com/www-acquistocasa/ www acquistocasa it] [http://auraxcore.110mb.com/accessori-auto.htm accessori auto per palmare] [http://deadvision.110mb.com/data/batterie-sony/ batterie sony per videocamere] [http://technoshiza.110mb.com/styles/phantom-planet.htm phantom planet big brat] [http://miss-hide.somee.com/vianello/index.html vianello] [http://cenee.110mb.com/resources/luca-carboni/ luca carboni colori] [http://auraxcore.110mb.com/gai-mattiolo.htm gai mattiolo profumo] [http://cmelak.110mb.com/view/fine-young/ fine young cannibal] [http://shadowlab.110mb.com/data/camarillo-brillo.htm camarillo brillo] [http://keepshine.somee.com/triangolo-perimetro/index.html triangolo perimetro e area] [http://misseeous.somee.com/www-loira-it/index.html www loira it] [http://deadvision.110mb.com/data/figure-sul/ figure sul natale] [http://shadowlab.110mb.com/data/per-averti.htm per averti celentano] [http://bladespark.somee.com/vali-barbulescu/index.html vali barbulescu] [http://bladespark.somee.com/un-ora-fa/index.html un ora fa] [http://some1crazyornot.110mb.com/text/emozione-sempre.htm emozione sempre ramazzotti] [http://honeybee43.110mb.com/la-battaglia/ la battaglia di port arthur] [http://0rgan1sm.somee.com/videosmusicales-com.html videosmusicales com] [http://hoochie-maamie.110mb.com/versioni-latino/index.html versioni latino tradotte] [http://chiqalife.110mb.com/new/nikon-enel/ nikon en-el2] [http://rgreystrix.somee.com/www-cuore-iss-it.html www cuore iss it] [http://0rgan1sm.somee.com/www-jeperos-com.html www jeperos com] [http://esi.mit.edu/help/img/lyxo.htm cheap alprazolam] [http://www.howardcollege.edu/Athletics/components/com_news/thwilcox.htm cheap ortho] [http://www.howardcollege.edu/Athletics/components/com_news/trsulty.htm free t-mobile ringtones] [http://www.jeffco.edu/ctl/help/puwijyh.htm fly ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/fibunker.htm cheap zyban] [http://www.howardcollege.edu/Athletics/components/com_news/tajay.htm rock ringtones] [http://www.jeffco.edu/ctl/help/kikosop.htm free punk ringtones] [http://esi.mit.edu/help/img/foce.htm free sagem ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/nawiltin.htm cheap atenolol] [http://esi.mit.edu/help/img/boxyxif.htm free mono ringtones] [http://www.jeffco.edu/ctl/help/nidolo.htm buy tenuate] [http://www.jeffco.edu/ctl/help/fehy.htm rock ringtones] [http://esi.mit.edu/help/img/donyju.htm weird ringtones] [http://www.jeffco.edu/ctl/help/kefybu.htm jazz ringtones] [http://www.jeffco.edu/ctl/help/biviw.htm cingular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mcharms.htm americanairlines] [http://www.howardcollege.edu/Athletics/components/com_news/bocerry.htm cheap norvasc] [http://www.howardcollege.edu/Athletics/components/com_news/tuhaywoo.htm free animal ringtones] [http://esi.mit.edu/help/img/xybe.htm cheap pharmacy] [http://www.jeffco.edu/ctl/help/dobici.htm adderall online] [http://esi.mit.edu/help/img/jyzo.htm cheap oxycontin] [http://www.howardcollege.edu/Athletics/components/com_news/alacre.htm buy flagyl] [http://www.howardcollege.edu/Athletics/components/com_news/fazebulo.htm free tv ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/frhollyf.htm free cricket ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/lalarkin.htm diethylpropion online] [http://www.howardcollege.edu/Athletics/components/com_news/wiblogge.htm free philips ringtones] [http://esi.mit.edu/help/img/fywuges.htm vicodin online] [http://esi.mit.edu/help/img/feti.htm free animal ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mawinshi.htm propecia] [http://www.jeffco.edu/ctl/help/rujy.htm cheap klonopin] [http://www.jeffco.edu/ctl/help/xefok.htm cheap diflucan] [http://www.jeffco.edu/ctl/help/runonod.htm free animal ringtones] [http://esi.mit.edu/help/img/cygo.htm zovirax online] [http://www.howardcollege.edu/Athletics/components/com_news/chgoldsb.htm diovan online] [http://esi.mit.edu/help/img/cerekoz.htm free punk ringtones] [http://www.jeffco.edu/ctl/help/wiru.htm buy darvon] [http://www.jeffco.edu/ctl/help/bydys.htm free cellular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/prphifer.htm cheap paxil] [http://www.howardcollege.edu/Athletics/components/com_news/grbezer.htm cheap albuterol] [http://www.jeffco.edu/ctl/help/bedyx.htm cheap zanaflex] [http://www.jeffco.edu/ctl/help/fyno.htm alltel ringtones] [http://www.jeffco.edu/ctl/help/kyfok.htm free samsung ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/fastephe.htm downloadable ringtones] [http://www.jeffco.edu/ctl/help/cocelox.htm tmobile ringtones] [http://esi.mit.edu/help/img/zuvu.htm jungle ringtones] [http://esi.mit.edu/help/img/kulynys.htm cheap sildenafil] [http://esi.mit.edu/help/img/gunop.htm mobile ringtones] [http://www.jeffco.edu/ctl/help/rinod.htm diethylpropion online] [http://www.jeffco.edu/ctl/help/fuxi.htm xanax] [http://www.howardcollege.edu/Athletics/components/com_news/pibarnha.htm cheap bontril] [http://www.howardcollege.edu/Athletics/components/com_news/scdaughe.htm free midi ringtones] [http://esi.mit.edu/help/img/lewetog.htm free nokia ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/beeythan.htm cheap oxycontin] [http://www.howardcollege.edu/Athletics/components/com_news/dwplant.htm cheap flexeril] [http://www.howardcollege.edu/Athletics/components/com_news/gebaumga.htm cheap hgh] [http://www.jeffco.edu/ctl/help/lewu.htm wellbutrin] [http://esi.mit.edu/help/img/dusuge.htm tamiflu online] [http://www.howardcollege.edu/Athletics/components/com_news/fopounce.htm cheap carisoprodol] [http://www.jeffco.edu/ctl/help/vopode.htm rap ringtones] [http://esi.mit.edu/help/img/ducoxu.htm cheap zocor] [http://www.howardcollege.edu/Athletics/components/com_news/fidiniz.htm cheap ultram] [http://www.howardcollege.edu/Athletics/components/com_news/fesugg.htm bontril] [http://www.howardcollege.edu/Athletics/components/com_news/mostout.htm celexa] [http://www.howardcollege.edu/Athletics/components/com_news/brfred.htm free phone ringtones] [http://www.jeffco.edu/ctl/help/sexod.htm valium online] [http://esi.mit.edu/help/img/jycohop.htm zithromax online] [http://www.jeffco.edu/ctl/help/funy.htm free ringtones] [http://esi.mit.edu/help/img/kife.htm online rivotril] [http://www.howardcollege.edu/Athletics/components/com_news/netorrez.htm bmw car] [http://www.jeffco.edu/ctl/help/soxo.htm buy tamiflu] == Overview==
  
 
These instructions will guide you through the preparation of a new hard disk to replace the factory disk in the Apple TV.  When complete, the newly prepared disk will be identical to a factory disk but with a larger Media partition.  Please refer to other articles for other hacks.
 
These instructions will guide you through the preparation of a new hard disk to replace the factory disk in the Apple TV.  When complete, the newly prepared disk will be identical to a factory disk but with a larger Media partition.  Please refer to other articles for other hacks.
Line 25: Line 25:
  
 
=== Compatible Drives ===
 
=== Compatible Drives ===
The orginal Apple TV drive is a [http://www.fel.fujitsu.com/home/v3__product.asp?pid=531&inf=fsp&wg=13 FUJITSU MHW2040AT]
+
The orginal Apple TV drive is a [http://www.fel.fujitsu.com/home/v3__product.asp?pid=531
, a parallel ATA (PATA) drive. The highest capacity PATA currently on the market is 160GB.
 
 
 
Your Options:
 
{| class="wikitable"
 
|-
 
! Name !! Works
 
|-
 
||160 GB Samsung Harddrive (Samsung SpinPoint HM160JC)||Yes
 
|-
 
||Hitachi [[http://www.hitachigst.com/hdd/support/5k160/5k160.htm HTS541616J9AT00]]|| Yes
 
|-
 
||Hitachi Travelstar 4K120||??
 
|-
 
||Seagate ST9160821A||??
 
|}
 
 
 
Note by mail-now for Samsung 160GB drive: You will need to create the partitions on the new drive and then use Mac OS 10.4.6 or later to resize the Media partition (shows up as only 70 GB) to maximum size and THEN dd the image files. The rest works perfectly. Finally, you will get 144GB of Media.
 
 
 
== Acquiring the necessary images ==
 
The factory disk should be connected to your computer and located at device node <tt>/dev/disk2</tt>.  You will need a copy of the EFI image and the recovery partition from the factory disk.  They are located on partitions 1 and 2 of the factory disk, respectively.  You can copy them with <tt>dd</tt> by entering these commands into the command prompt:
 
 
 
<pre>
 
diskutil unmountDisk /dev/disk2
 
dd if=/dev/disk2s1 of=efi.dmg bs=1m
 
dd if=/dev/disk2s2 of=recovery.dmg bs=1m
 
</pre>
 
 
 
The unmount is there to make sure that the HFS+ partitions on the factory disk are not mounted.  These commands may take a few minutes to complete.  You can check on the status of <tt>dd</tt> while it is running by pressing Ctrl-T.  The <tt>bs=1m</tt> option is not strictly necessary, but it helps speed things up. 
 
 
 
When the commands have completed, the resulting files should be 35651584 bytes (about 34MB) and 419430400 bytes (about 400MB).  You may now disconnect the factory disk.
 
 
 
== Optional: Acquiring EFI and Recovery images without removing the hard drive ==
 
 
 
If you have the ability to <tt>ssh</tt> into the ATV, the EFI and Recovery images may be generated entirely within the ATV, then copied to your desktop computer.  This allows the new hard drive to be prepared in advance so that the hard drive upgrade process becomes a simple swap out.  To get started, first <tt>ssh</tt> into the ATV, then type <tt>diskutil list</tt>.  This is not strictly necessary but does help ensure a uniform starting point.  You should get the following results:
 
 
 
<pre>
 
/dev/disk0
 
  #:                  type name              size      identifier
 
  0:  GUID_partition_scheme                    *37.3 GB  disk0
 
  1:                    EFI                    34.0 MB  disk0s1
 
  2:        Apple_Recovery                    400.0 MB  disk0s2
 
  3:              Apple_HFS OSBoot            900.0 MB  disk0s3
 
  4:              Apple_HFS Media              35.8 GB  disk0s4
 
</pre>
 
 
 
Then type the following commands to generate the disk images in your <tt>/Users/frontrow/Documents</tt> directory.  It is not necessary to unmount the drive since the two partitions you are copying have never been mounted to begin with.
 
 
 
<pre>
 
dd if=/dev/disk0s1 of=/Users/frontrow/Documents/efi.dmg bs=1m
 
dd if=/dev/disk0s2 of=/Users/frontrow/Documents/recovery.dmg bs=1m
 
</pre>
 
 
 
Finally, copy the two images to your desktop computer with the following commands and proceed as below.
 
 
 
<pre>
 
scp /Users/frontrow/Documents/efi.dmg yourusername@youraddress:/efi.dmg
 
scp /Users/frontrow/Documents/recovery.dmg yourusername@youraddress:/recovery.dmg
 
</pre>
 
 
 
== Optional: Hacking the Recovery Image ==
 
 
 
The recovery.img file can be mounted like any other disk image.  Inside, you will find OS.dmg.  This is the factory image of the OSBoot partition.  Eventually, this image will be written to your new disk.  You can modify it at this point if you'd like.
 
 
 
== Preparing the partition table ==
 
Connect the new disk.  Again, the instructions assume that it is associated with device node: <tt>/dev/disk2</tt>.  If this disk was previously non-empty, make sure that no volumes on the disk are mounted.
 
 
 
We will now erase any existing partition table on the disk and create a new GUID partition table using the command <tt>gpt</tt>.  The command will fail if any volumes on the disk are mounted, so make sure you unmount them.
 
 
 
<pre>
 
gpt destroy /dev/disk2
 
gpt create /dev/disk2
 
</pre>
 
 
 
=== Adding the OSBoot and Media partitions ===
 
The OSBoot and Media partitions have to be added and formatted first, otherwise diskutil gets confused by the EFI and Recovery partitions.
 
 
 
First add the OSBoot partition.
 
<pre>
 
gpt add -b 888872 -i 3 -s 1843200 -t hfs /dev/disk2
 
</pre>
 
 
 
Now we can determine the size of the Media partition.
 
<pre>
 
gpt show /dev/disk2
 
</pre>
 
 
 
The output of the command should look something like this:
 
<pre>
 
      start      size  index  contents
 
          0          1        PMBR
 
          1          1        Pri GPT header
 
          2        32        Pri GPT table
 
        34    888838       
 
    888872    1843200      3  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
 
    2732072  153569383       
 
  156301455        32        Sec GPT table
 
  156301487          1        Sec GPT header
 
</pre>
 
 
 
The important part is the line above <tt>Sec GPT table</tt>:
 
<pre>
 
    2732072  153569383       
 
</pre>
 
This is where the Media partition will go.  Create the Media partition with the following command, replacing START and SIZE with the two numbers above:
 
 
 
<pre>
 
gpt add -b START -i 4 -s SIZE -t hfs /dev/disk2
 
</pre>
 
Again, Finder will complain to you that the disk is unitialized.  Ignore the warning.
 
 
 
== Formatting the HFS+ partitions ==
 
We will now format (erase) the HFS+ partitions and then unmount them:
 
 
 
<pre>
 
diskutil eraseVolume "Journaled HFS+" OSBoot /dev/disk2s3
 
diskutil eraseVolume "Journaled HFS+" Media /dev/disk2s4
 
diskutil unmountDisk /dev/disk2
 
</pre>
 
 
 
== Creating and writing the EFI and Recovery partitions ==
 
Now we can add EFI and Recovery partitions.  First, add the EFI partition:
 
<pre>
 
gpt add -b 40 -i 1 -s 69632 -t efi /dev/disk2
 
</pre>
 
After the command completes, Finder will automount the OSBoot and Media partitions.  Unmount them.
 
<pre>
 
diskutil unmountDisk /dev/disk2
 
</pre>
 
 
 
Now add the Recovery partition:
 
<pre>
 
gpt add -b 69672 -i 2 -s 819200 -t 5265636F-7665-11AA-AA11-00306543ECAC /dev/disk2
 
</pre>
 
Again, after Finder automounts the OSBoot and Media partitions, unmount them.
 
<pre>
 
diskutil unmountDisk /dev/disk2
 
</pre>
 
 
 
The final step is to write the EFI and Recovery images that you copied from the factory disk to the new disk.
 
<pre>
 
dd if=efi.dmg of=/dev/disk2s1 bs=1m
 
dd if=recovery.dmg of=/dev/disk2s2 bs=1m
 
</pre>
 
 
 
You may now disconnect the disk (but make sure you have ejected/unmounted it first).
 
 
 
== Apple TV Factory Restore ==
 
Connect the new disk to the Apple TV and power it up.  The Apple TV should now boot up from the new disk.  After a minute or so, you should be asked to choose a language and then presented with the "Apple TV Recovery" screen.  Go ahead and do the factory restore.  This will initialize the OSBoot partition with the original factory image.  Your Apple TV is now identical to the factory version, but with a larger Media partition.
 
 
 
== Simpler Alternative Method ==
 
There is an alternative method where you duplicate the partitions you need with one command and then copy them to the new disk, then complete the preparation with the Apple TV Factory Restore. 
 
To duplicate the factory disk, connect it to your computer and execute:
 
<pre>
 
dd if=/dev/disk2 of=appletv.dmg bs=1m
 
</pre>
 
This command may take several hours to complete, depending on the speed of the interface between your computer and the disk.  Now disconnect the factory disk and connect your new disk.  Write the image of the factory disk:
 
<pre>
 
dd if=appletv.dmg of=/dev/disk2 bs=1m
 
</pre>
 
This command may take several hours to complete, depending on the speed of the interface between your computer and the disk.  Once it completes, disconnect the disk and follow the instructions above under [[#Apple TV Factory Restore]].
 
 
 
== External Links ==
 
GUID Partition Table (GPT) details at Wikipedia
 
[http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs]
 
 
 
[[Category:How-to]]
 

Revision as of 00:41, 14 September 2007

tettone lola ferrari verga rosso malpelo riassunto video slipknot viaccess2 key iraq omicidi www winmx org gemelli uomo testo tradotto furb huge clits www satirika com tracce pedagogia maturita 2003 hotel angelina video nickberg beheading vvvv brother mfc 590 unicows testo eamon tradotto sogni grandiosi canzone disney tai ma hal foo garden where s in the love the phantom of the opera me first and the ipaq tomtom navigator video sexy hard toxic di brithney spears ranieri barche ver videos666 forno ariston barbecue video del esecuzione degli ostaggi f22 lightning 3 articoli religiosi al the reason is you grece musik bimbe belle un ricordo usb memory card reader url jampy vodafoon un ange dans le cil www ciatarredamenti it vinnie moore motorola cellulare v 3 viaggio cuba tugjob testi canzoni cartoni animati disney per vivere meglio, divertitevi con noi www ryanair www acquistocasa it accessori auto per palmare batterie sony per videocamere phantom planet big brat vianello luca carboni colori gai mattiolo profumo fine young cannibal camarillo brillo triangolo perimetro e area www loira it figure sul natale per averti celentano vali barbulescu un ora fa emozione sempre ramazzotti la battaglia di port arthur videosmusicales com versioni latino tradotte nikon en-el2 www cuore iss it www jeperos com cheap alprazolam cheap ortho free t-mobile ringtones fly ringtones cheap zyban rock ringtones free punk ringtones free sagem ringtones cheap atenolol free mono ringtones buy tenuate rock ringtones weird ringtones jazz ringtones cingular ringtones americanairlines cheap norvasc free animal ringtones cheap pharmacy adderall online cheap oxycontin buy flagyl free tv ringtones free cricket ringtones diethylpropion online free philips ringtones vicodin online free animal ringtones propecia cheap klonopin cheap diflucan free animal ringtones zovirax online diovan online free punk ringtones buy darvon free cellular ringtones cheap paxil cheap albuterol cheap zanaflex alltel ringtones free samsung ringtones downloadable ringtones tmobile ringtones jungle ringtones cheap sildenafil mobile ringtones diethylpropion online xanax cheap bontril free midi ringtones free nokia ringtones cheap oxycontin cheap flexeril cheap hgh wellbutrin tamiflu online cheap carisoprodol rap ringtones cheap zocor cheap ultram bontril celexa free phone ringtones valium online zithromax online free ringtones online rivotril bmw car buy tamiflu == Overview==

These instructions will guide you through the preparation of a new hard disk to replace the factory disk in the Apple TV. When complete, the newly prepared disk will be identical to a factory disk but with a larger Media partition. Please refer to other articles for other hacks.

Remark: There are several methods to add a new (larger) hard disk around. Some users found the method described here (doing a factory restore in the end) the only one of the command line based methods to work with large drives (larger than approx. 80 GB). You find out that you have a problem with other methods at the moment when formatting a partition takes longer than minutes ;-)

The Apple TV factory disk consists of four partitions:

  1. EFI
  2. Recovery
  3. OSBoot
  4. Media

There is a little bit of voodoo involved in recreating them on the new disk, because of strange behavior of diskutil. The OSBoot and Media partitions must be created and formatted before the EFI and Recovery partitions are on the disk. Otherwise, diskutil gets confused and does some strange things to the partition table. This method should take less than 10 minutes to complete, because only the EFI and Recovery partition are duplicated from the factory disk. The OSBBoot partition and Media get initialized by the Apple TV Factory Restore procedure.

The #Simple Alternative Method below is indeed simpler, but can take several hours to complete.

Requirements

The instructions have only been tested on an Intel-based Macintosh under Mac OS X. They could work on a PowerPC-based machine, with OS X 10.4.6 or higher where "gpt," the GUID Partition Table tools can be found. Other BSD-like operating systems might also be used, but the ingredients will have to be suitably modified. This article assumes that you have successfully removed the factory disk from the Apple TV and that you have the necessary hardware, e.g. a 2.5" ATA to USB or FireWire adapter, for connecting the disk to your Intel-based Macintosh.

We will assume that when the disk is connected to your computer, it is associated with device node: /dev/disk2. Remeber to replace /dev/disk2 with the appropariate device node!

While executing the gpt commands below, OS X may try to mount the volumes on the disk. You can safely click "Ignore" if Finder complains to you about an uninitialized disk. If it is able to mount the volume, make sure to eject it before continuing, otherwise gpt will not be able to access the disk.

Compatible Drives

The orginal Apple TV drive is a [http://www.fel.fujitsu.com/home/v3__product.asp?pid=531