Difference between revisions of "Prepare a Hard Drive"

From AwkwardTV
Jump to: navigation, search
m
m
Line 1: Line 1:
== Overview==
+
[http://trene-von-anty.110mb.com/description/sfondi-modelle.htm sfondi modelle] [http://olikka.110mb.com/library/come-saprei.htm come saprei salsa] [http://trene-von-anty.110mb.com/description/moldea.htm moldea] [http://slavkamolot.110mb.com/library/frigo-trivalente/ frigo trivalente] [http://olikka.110mb.com/library/gt.htm gt 6600] [http://book-wench.110mb.com/text/gff/ gff] [http://trene-von-anty.110mb.com/description/teen-nuda.htm teen nuda] [http://dialed.110mb.com/small/materasso-lettino/ materasso lettino 120 x 60] [http://mouse-zae.110mb.com/jbl-home.htm jbl home theatre] [http://sister-sunshine.110mb.com/html/libero-ti/ libero ti] [http://stitchesnglue.110mb.com/file-rm.htm file rm] [http://dialed.110mb.com/small/lancia-k/ lancia k sw] [http://nationavce.110mb.com/view/www-apini.htm www apini it] [http://ultra-creator.110mb.com/articles/all-japan.htm all japan gt] [http://olikka.110mb.com/library/ich-liebe.htm ich liebe deutsche land] [http://blue-olusha.110mb.com/library/catture-tv/ catture tv] [http://sneezingpops.110mb.com/www-letteronze/ www letteronze it] [http://ultra-creator.110mb.com/articles/i-miei.htm i miei anni piu belli] [http://dialed.110mb.com/small/geforce-/ geforce 6800 ultra agp] [http://gekijuls.110mb.com/sara-cugini/ sara cugini di campagna] [http://olikka.110mb.com/library/donne-della.htm donne della mannoia] [http://gekijuls.110mb.com/codice-sblocco/ codice sblocco lg8120] [http://trouble166.110mb.com/kraftwerk.htm kraftwerk] [http://some-omeelse.110mb.com/data/metal-control.htm metal control snc] [http://ultra-creator.110mb.com/articles/www-formula.htm www formula brake com] [http://book-wench.110mb.com/text/nissan-micra/ nissan micra matic] [http://sister-sunshine.110mb.com/html/doro-fur/ doro fur immer] [http://ultra-creator.110mb.com/articles/olimpus-accessori.htm olimpus accessori] [http://book-wench.110mb.com/text/dance-/ dance 2 the beat] [http://blue-olusha.110mb.com/library/avventura-amore/ avventura amore] [http://sneezingpops.110mb.com/donne-di/ donne di zucchero] [http://stitchesnglue.110mb.com/oki.htm oki 591] [http://yeeden.110mb.com/data/tanz-ballerina/ tanz ballerina] [http://forever-your.110mb.com/data/domini-internazionali.htm domini internazionali] [http://sister-sunshine.110mb.com/html/viaggi-di/ viaggi di gruppo] [http://forever-your.110mb.com/data/bimbe-belle.htm bimbe belle] [http://lazythoughts.110mb.com/lib/mas-rapido/ mas rapido mas furioso l fotos] [http://sneezingpops.110mb.com/aggiornare-il/ aggiornare il pc con creative labs] [http://trouble166.110mb.com/best-in.htm best in me blue] [http://nationavce.110mb.com/view/enrice.htm enrice] [http://trene-von-anty.110mb.com/description/fabio-e.htm fabio e graziella] [http://stitchesnglue.110mb.com/immagini-di.htm immagini di macchine d epoca] [http://forever-your.110mb.com/data/grecia-creta.htm grecia creta isola di] [http://olikka.110mb.com/library/stephen-gately.htm stephen gately] [http://trouble166.110mb.com/mardigrass.htm mardigrass] [http://sister-sunshine.110mb.com/html/mercedes-sprinter/ mercedes sprinter] [http://gekijuls.110mb.com/scheda-dual/ scheda dual monitor] [http://some-omeelse.110mb.com/data/videos-de.htm videos de ovnis] [http://sister-sunshine.110mb.com/html/luoghi-per/ luoghi per vacanze per singol] [http://ultra-creator.110mb.com/articles/palle-in.htm palle in canna] [http://ultra-creator.110mb.com/articles/lunapop-qualcosa.htm lunapop qualcosa di grande] [http://yeeden.110mb.com/data/telefono-con/ telefono con messaggi] [http://unremig.110mb.com/versace-dreamer/ versace dreamer] [http://sneezingpops.110mb.com/sony-excellence/ sony excellence] [http://nationavce.110mb.com/view/bussola-giroscopica.htm bussola giroscopica] [http://lazythoughts.110mb.com/lib/golfinhos/ golfinhos] [http://forever-your.110mb.com/data/donne-mature.htm donne mature hard over 40] [http://some-omeelse.110mb.com/data/jorge-palma.htm jorge palma] [http://sister-sunshine.110mb.com/html/trader-horn/ trader horn] [http://sneezingpops.110mb.com/www-vulva/ www vulva com] [http://some-omeelse.110mb.com/data/bilancia-pesa.htm bilancia pesa persona] [http://sister-sunshine.110mb.com/html/word/ word 2003] [http://trene-von-anty.110mb.com/description/adata-ram.htm adata ram] [http://some-omeelse.110mb.com/data/tvnet-sas.htm tvnet sas] [http://trouble166.110mb.com/used-cars.htm used cars] [http://nationavce.110mb.com/view/seno-.htm seno 7 misura] [http://gekijuls.110mb.com/remax/ remax] [http://ultra-creator.110mb.com/articles/michele-mirabella.htm michele mirabella] [http://gekijuls.110mb.com/indaco-dagli/ indaco dagli occhi] [http://stitchesnglue.110mb.com/video-nepalesi.htm video nepalesi uccisi] [http://mouse-zae.110mb.com/oggetti-smarriti.htm oggetti smarriti copertina cd] [http://yeeden.110mb.com/data/femmina-paolo/ femmina paolo belli] [http://dialed.110mb.com/small/forno-a/ forno a microonde samsung] [http://unremig.110mb.com/rs-mmc/ rs mmc dv dual voltage 256] [http://yeeden.110mb.com/data/portabici/ portabici] [http://unremig.110mb.com/volvo-/ volvo 240 polar] [http://unremig.110mb.com/efl/ efl 100400] [http://trene-von-anty.110mb.com/description/testo-magari.htm testo magari] [http://book-wench.110mb.com/text/villaggio-vacanza/ villaggio vacanza francia] [http://slavkamolot.110mb.com/library/i-don/ i don t know dan sweet] [http://sneezingpops.110mb.com/thumbzilla/ thumbzilla] [http://lazythoughts.110mb.com/lib/il-piu/ il piu bello d italia] [http://trouble166.110mb.com/video-cani.htm video cani] [http://some-omeelse.110mb.com/data/massimo-ranieri.htm massimo ranieri perdere l amore] [http://blue-olusha.110mb.com/library/air-solas/ air solas] [http://sneezingpops.110mb.com/www-ryanair/ www ryanair it] [http://gekijuls.110mb.com/colonne-sonore/ colonne sonore di fuochi d artificio] [http://lazythoughts.110mb.com/lib/hamlet-home/ hamlet home] [http://ultra-creator.110mb.com/articles/notturno-in.htm notturno in do minore chopin] [http://nationavce.110mb.com/view/voli-brasile.htm voli brasile fortaleza] [http://mouse-zae.110mb.com/nome-di.htm nome di cocktails] [http://sneezingpops.110mb.com/oviesse/ oviesse] [http://funk-mastah-ion.110mb.com/data/lampada-tw.htm lampada tw10] [http://yeeden.110mb.com/data/frigorifero-no/ frigorifero no frost lg] [http://ultra-creator.110mb.com/articles/st-anger.htm st anger] [http://olikka.110mb.com/library/rdr.htm rdr 910] [http://lazythoughts.110mb.com/lib/magda-femme/ magda femme extremalnie] [http://lazythoughts.110mb.com/lib/kosmos-anno/ kosmos anno 2000] [http://nationavce.110mb.com/view/out-here.htm out here on my own nikka costa] [http://nationavce.110mb.com/view/mercedes-s.htm mercedes s 300] [http://ultra-creator.110mb.com/articles/banche-lussemburgo.htm banche lussemburgo] [http://trouble166.110mb.com/figli-di.htm figli di pitagora mp3] [http://ultra-creator.110mb.com/articles/mouse-logitech.htm mouse logitech media play cordless] [http://book-wench.110mb.com/text/e-cavaliere/ e cavaliere nero] [http://olikka.110mb.com/library/incanto-saeco.htm incanto saeco rondo] [http://gekijuls.110mb.com/sell-house/ sell house] [http://trene-von-anty.110mb.com/description/donne-indiavolate.htm donne indiavolate] [http://slavkamolot.110mb.com/library/inchiostri/ inchiostri] [http://slavkamolot.110mb.com/library/yeti-sorts/ yeti sorts] [http://trene-von-anty.110mb.com/description/jodrell-bank.htm jodrell bank] [http://blue-olusha.110mb.com/library/para-mi/ para mi] [http://olikka.110mb.com/library/www-area.htm www area nuova it] [http://nationavce.110mb.com/view/stiromatic.htm stiromatic 3000] [http://forever-your.110mb.com/data/il-moto.htm il moto cros] [http://book-wench.110mb.com/text/concessionari-mini/ concessionari mini roma] [http://olikka.110mb.com/library/io-di.htm io di notte al bano testo] [http://mouse-zae.110mb.com/walter-tobagi.htm walter tobagi] [http://book-wench.110mb.com/text/hotel-a/ hotel a atene] [http://dialed.110mb.com/small/casar-franch/ casar franch] [http://forever-your.110mb.com/data/km-mini.htm km0 mini cooper auto km 0] [http://dialed.110mb.com/small/prese-corrente/ prese corrente] [http://unremig.110mb.com/epson-emp/ epson emp54] [http://mouse-zae.110mb.com/time-to.htm time to love] [http://blue-olusha.110mb.com/library/sborrate-e/ sborrate e cazzi grossi in bocca] [http://lazythoughts.110mb.com/lib/viva-el/ viva el tango] [http://sister-sunshine.110mb.com/html/louisa-lu/ louisa lu colombo maracaibo] [http://blue-olusha.110mb.com/library/registratore-audio/ registratore audio video] [http://blue-olusha.110mb.com/library/palmari-tom/ palmari tom tom] [http://ultra-creator.110mb.com/articles/hp-compaq.htm hp compaq dc5100] [http://stitchesnglue.110mb.com/innsbruck-cose.htm innsbruck cose fare] [http://olikka.110mb.com/library/nec-vt.htm nec vt570] [http://dialed.110mb.com/small/vendita-di/ vendita di piscine] [http://sneezingpops.110mb.com/milano-affitto/ milano affitto] [http://blue-olusha.110mb.com/library/sedi-sport/ sedi sport] [http://trene-von-anty.110mb.com/description/se-no.htm se no che vita e] [http://stitchesnglue.110mb.com/jakatta-feat.htm jakatta feat seal my vision] [http://forever-your.110mb.com/data/luka-mp.htm luka mp3] [http://trouble166.110mb.com/il-segno.htm il segno del comando] [http://sneezingpops.110mb.com/dimagrire-pancia/ dimagrire pancia] [http://book-wench.110mb.com/text/fiat-stilo/ fiat stilo 1 2i] [http://stitchesnglue.110mb.com/promesse.htm promesse] [http://yeeden.110mb.com/data/sports-card/ sports card organizer 10] [http://blue-olusha.110mb.com/library/netgear-modemrouteraccess/ netgear modemrouteraccess point] [http://sister-sunshine.110mb.com/html/partite-calcio/ partite calcio] [http://some-omeelse.110mb.com/data/mobile-mule.htm mobile mule] [http://stitchesnglue.110mb.com/incesto-familgia.htm incesto familgia] [http://forever-your.110mb.com/data/produttore-cucina.htm produttore cucina] [http://yeeden.110mb.com/data/last-second/ last second tunisia] [http://trene-von-anty.110mb.com/description/val-di.htm val di canneto] [http://book-wench.110mb.com/text/mariaclara/ mariaclara] [http://mouse-zae.110mb.com/colin-farell.htm colin farell] [http://book-wench.110mb.com/text/scheda-sound/ scheda sound blaster live esterna] [http://nationavce.110mb.com/view/sblocca-a.htm sblocca a835] [http://stitchesnglue.110mb.com/ultimo-testo.htm ultimo testo dei blue] [http://slavkamolot.110mb.com/library/turismo-vacanze/ turismo vacanze] [http://funk-mastah-ion.110mb.com/data/massaggi-tailandesi.htm massaggi tailandesi] [http://olikka.110mb.com/library/lispme.htm lispme] [http://lazythoughts.110mb.com/lib/vilaine/ vilaine] [http://mouse-zae.110mb.com/geosat.htm geosat] [http://forever-your.110mb.com/data/raiz-scegli.htm raiz scegli me] [http://olikka.110mb.com/library/codes.htm codes] [http://dialed.110mb.com/small/tango-en/ tango en skai mp3] [http://stitchesnglue.110mb.com/lesperimento.htm lesperimento] [http://gekijuls.110mb.com/zaino-portacomputer/ zaino portacomputer] [http://mouse-zae.110mb.com/madunnina.htm madunnina] [http://sneezingpops.110mb.com/dryopithecus/ dryopithecus] [http://some-omeelse.110mb.com/data/bush-sooth.htm bush sooth out] [http://blue-olusha.110mb.com/library/indici-istat/ indici istat] [http://funk-mastah-ion.110mb.com/data/autocad-lt.htm autocad lt 2002 upgrade] [http://gekijuls.110mb.com/patrick-nuo/ patrick nuo welcome] [http://sneezingpops.110mb.com/aculaser-c/ aculaser c4100 ps] [http://forever-your.110mb.com/data/lavatrici-.htm lavatrici 33 cm di profondita] [http://book-wench.110mb.com/text/star-ixiom/ star ixiom] [http://blue-olusha.110mb.com/library/vos/ vos] [http://sister-sunshine.110mb.com/html/pamela-anderson/ pamela anderson che fa un pompino] [http://nationavce.110mb.com/view/green-dany.htm green dany] [http://unremig.110mb.com/digital-foto/ digital foto storage unit] [http://yeeden.110mb.com/data/west-beyrouth/ west beyrouth] [http://stitchesnglue.110mb.com/viva-la.htm viva la mama] [http://trouble166.110mb.com/giuglia.htm giuglia] [http://slavkamolot.110mb.com/library/largo-handel/ largo handel] [http://trene-von-anty.110mb.com/description/acquisto-processori.htm acquisto processori amd] [http://sister-sunshine.110mb.com/html/gay-a/ gay a cagliari] [http://some-omeelse.110mb.com/data/mp-ipod.htm mp4 ipod] [http://gekijuls.110mb.com/icq-down/ icq down load] [http://ultra-creator.110mb.com/articles/la-noche.htm la noche cubana] [http://slavkamolot.110mb.com/library/polo/ polo 1000] [http://unremig.110mb.com/vince-di/ vince di cola war] [http://unremig.110mb.com/le-spalle/ le spalle al muro] [http://gekijuls.110mb.com/lavatrice-siemens/ lavatrice siemens] [http://sister-sunshine.110mb.com/html/video-croata/ video croata serena] [http://yeeden.110mb.com/data/tastiera-bluetooth/ tastiera bluetooth] [http://mouse-zae.110mb.com/no-cd.htm no cd] [http://book-wench.110mb.com/text/sambame-de/ sambame de upa dance] [http://nationavce.110mb.com/view/l.htm l10 161] [http://sneezingpops.110mb.com/johann-sebastian/ johann sebastian bach] [http://stitchesnglue.110mb.com/vestire-le.htm vestire le bambole] [http://blue-olusha.110mb.com/library/falanghina/ falanghina] [http://trene-von-anty.110mb.com/description/fruitdrop.htm fruitdrop] [http://funk-mastah-ion.110mb.com/data/you-re.htm you re the best around] == 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 13:00, 27 August 2007

sfondi modelle come saprei salsa moldea frigo trivalente gt 6600 gff teen nuda materasso lettino 120 x 60 jbl home theatre libero ti file rm lancia k sw www apini it all japan gt ich liebe deutsche land catture tv www letteronze it i miei anni piu belli geforce 6800 ultra agp sara cugini di campagna donne della mannoia codice sblocco lg8120 kraftwerk metal control snc www formula brake com nissan micra matic doro fur immer olimpus accessori dance 2 the beat avventura amore donne di zucchero oki 591 tanz ballerina domini internazionali viaggi di gruppo bimbe belle mas rapido mas furioso l fotos aggiornare il pc con creative labs best in me blue enrice fabio e graziella immagini di macchine d epoca grecia creta isola di stephen gately mardigrass mercedes sprinter scheda dual monitor videos de ovnis luoghi per vacanze per singol palle in canna lunapop qualcosa di grande telefono con messaggi versace dreamer sony excellence bussola giroscopica golfinhos donne mature hard over 40 jorge palma trader horn www vulva com bilancia pesa persona word 2003 adata ram tvnet sas used cars seno 7 misura remax michele mirabella indaco dagli occhi video nepalesi uccisi oggetti smarriti copertina cd femmina paolo belli forno a microonde samsung rs mmc dv dual voltage 256 portabici volvo 240 polar efl 100400 testo magari villaggio vacanza francia i don t know dan sweet thumbzilla il piu bello d italia video cani massimo ranieri perdere l amore air solas www ryanair it colonne sonore di fuochi d artificio hamlet home notturno in do minore chopin voli brasile fortaleza nome di cocktails oviesse lampada tw10 frigorifero no frost lg st anger rdr 910 magda femme extremalnie kosmos anno 2000 out here on my own nikka costa mercedes s 300 banche lussemburgo figli di pitagora mp3 mouse logitech media play cordless e cavaliere nero incanto saeco rondo sell house donne indiavolate inchiostri yeti sorts jodrell bank para mi www area nuova it stiromatic 3000 il moto cros concessionari mini roma io di notte al bano testo walter tobagi hotel a atene casar franch km0 mini cooper auto km 0 prese corrente epson emp54 time to love sborrate e cazzi grossi in bocca viva el tango louisa lu colombo maracaibo registratore audio video palmari tom tom hp compaq dc5100 innsbruck cose fare nec vt570 vendita di piscine milano affitto sedi sport se no che vita e jakatta feat seal my vision luka mp3 il segno del comando dimagrire pancia fiat stilo 1 2i promesse sports card organizer 10 netgear modemrouteraccess point partite calcio mobile mule incesto familgia produttore cucina last second tunisia val di canneto mariaclara colin farell scheda sound blaster live esterna sblocca a835 ultimo testo dei blue turismo vacanze massaggi tailandesi lispme vilaine geosat raiz scegli me codes tango en skai mp3 lesperimento zaino portacomputer madunnina dryopithecus bush sooth out indici istat autocad lt 2002 upgrade patrick nuo welcome aculaser c4100 ps lavatrici 33 cm di profondita star ixiom vos pamela anderson che fa un pompino green dany digital foto storage unit west beyrouth viva la mama giuglia largo handel acquisto processori amd gay a cagliari mp4 ipod icq down load la noche cubana polo 1000 vince di cola war le spalle al muro lavatrice siemens video croata serena tastiera bluetooth no cd sambame de upa dance l10 161 johann sebastian bach vestire le bambole falanghina fruitdrop you re the best around == 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