Difference between revisions of "Prepare a Hard Drive"

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
== Overview==
+
[http://elixirium.ifrance.com/lib/fottball-sexy.html fottball sexy] [http://end14april.ifrance.com/blog/foto-topless.html foto topless contessa de blank] [http://spirit-psyki.ifrance.com/lib/cover-dvd.html cover dvd eros ramazzotti] [http://jnk713.ifrance.com/img/styles/ilaria-d/ ilaria d amico nuda] [http://adrienneee.ifrance.com/blog/pannolini-per/ pannolini per adulti] [http://bakadeshi.ifrance.com/img/styles/sesso-video.html sesso video pregnant] [http://end14april.ifrance.com/blog/borges-lyrics.html borges lyrics] [http://tulip123456.ifrance.com/topic/donne-per.html donne per uomini campania] [http://adrienneee.ifrance.com/blog/spiagge-per/ spiagge per nudisti] [http://bakadeshi.ifrance.com/img/styles/video-donna.html video donna nuda] [http://cincydj.ifrance.com/images/small/video-erotici/ video erotici gratis celebrita] [http://elixirium.ifrance.com/lib/pistola-nuda.html pistola nuda] [http://bakadeshi.ifrance.com/img/styles/sexogratis.html sexogratis] [http://adrienneee.ifrance.com/blog/single-bisex/ single bisex] [http://competitio.ifrance.com/ragazze-orientali/ ragazze orientali per amicizie] [http://mi-kkiechang.ifrance.com/russian-single.html russian single girls] [http://competitio.ifrance.com/donne-vecchie/ donne vecchie che sborrano] [http://elixirium.ifrance.com/lib/vecchie-erotiche.html vecchie erotiche gratis] [http://spirit-psyki.ifrance.com/lib/gallerie-piedi.html gallerie piedi nudi] [http://adrienneee.ifrance.com/blog/cazzi-nudi/ cazzi nudi] [http://end14april.ifrance.com/blog/sexo-vedetes.html sexo vedetes peruanas famosas] [http://mi-kkiechang.ifrance.com/mario-.html mario 2 sexy] [http://doctorpinkerton.ifrance.com/lib/sex-con/ sex con donne] [http://bakadeshi.ifrance.com/img/styles/sex-boy.html sex boy] [http://doctorpinkerton.ifrance.com/lib/gloria-gaynor/ gloria gaynor] [http://spirit-psyki.ifrance.com/lib/matura-fuck.html matura fuck] [http://elixirium.ifrance.com/lib/esempio-di.html esempio di modulistica gratis] [http://end14april.ifrance.com/blog/aerosol-pistone.html aerosol pistone] [http://end14april.ifrance.com/blog/le-ragazze.html le ragazze pon pon] [http://doctorpinkerton.ifrance.com/lib/bambola-pornostar/ bambola pornostar] [http://cincydj.ifrance.com/images/small/calendario-elisabetta/ calendario elisabetta canalis] [http://adrienneee.ifrance.com/blog/dvd-adult/ dvd adult] [http://end14april.ifrance.com/blog/laetitia-casta.html laetitia casta nuda] [http://spirit-psyki.ifrance.com/lib/nudi-di.html nudi di donne] [http://furrysoap.ifrance.com/caccia-gay/ caccia gay] [http://elixirium.ifrance.com/lib/spogliatoio-nudi.html spogliatoio nudi squadra] [http://furrysoap.ifrance.com/eros-veneziani/ eros veneziani] [http://doctorpinkerton.ifrance.com/lib/foto-group/ foto group sex] [http://adrienneee.ifrance.com/blog/annunci-provincia/ annunci provincia benevento ragazze] [http://cincydj.ifrance.com/images/small/examination-gyno/ examination gyno girl nude] [http://bakadeshi.ifrance.com/img/styles/reality-sexy.html reality sexy] [http://jnk713.ifrance.com/img/styles/password-lesbo/ password lesbo cam] [http://competitio.ifrance.com/marylin-manson/ marylin manson videos gratis] [http://adrienneee.ifrance.com/blog/coppie-cerca/ coppie cerca lui bisex] [http://doctorpinkerton.ifrance.com/lib/www-gay/ www gay pride] [http://jnk713.ifrance.com/img/styles/altri-racconti/ altri racconti erotici] [http://jnk713.ifrance.com/img/styles/www-pornofilm/ www pornofilm com it] [http://doctorpinkerton.ifrance.com/lib/gheros/ gheros] [http://end14april.ifrance.com/blog/femmine-sexy.html femmine sexy] [http://end14april.ifrance.com/blog/porno-gretis.html porno gretis] [http://bakadeshi.ifrance.com/img/styles/video-porno.html video porno eva henger] [http://elixirium.ifrance.com/lib/ragazze-immagine.html ragazze immagine] [http://adrienneee.ifrance.com/blog/fotos-de/ fotos de hombres desnudo] [http://doctorpinkerton.ifrance.com/lib/tesi-gratis/ tesi gratis] [http://elixirium.ifrance.com/lib/selen-v.html selen v ideo gratis] [http://cincydj.ifrance.com/images/small/transex-mistress/ transex mistress] [http://mi-kkiechang.ifrance.com/eros-ramazzotti.html eros ramazzotti] [http://cincydj.ifrance.com/images/small/vagina-di/ vagina di emanuela arcuri] [http://tulip123456.ifrance.com/topic/sexy-italians.html sexy italians] [http://furrysoap.ifrance.com/annunci-di/ annunci di donne troie in cerca di sesso] [http://competitio.ifrance.com/donne-nude/ donne nude famose gratis] [http://competitio.ifrance.com/racconti-incesto/ racconti incesto erotici] [http://tulip123456.ifrance.com/topic/video-di.html video di pamela anderson] [http://end14april.ifrance.com/blog/analisi-cambi.html analisi cambi] [http://cincydj.ifrance.com/images/small/zoo-sex/ zoo sex] [http://furrysoap.ifrance.com/pornostar-gellerie/ pornostar gellerie foto] [http://bakadeshi.ifrance.com/img/styles/midi-musica.html midi musica gratis] [http://tulip123456.ifrance.com/topic/bacio-lesbo.html bacio lesbo carmen russo] [http://adrienneee.ifrance.com/blog/lecca-cazzi/ lecca cazzi gratis] [http://adrienneee.ifrance.com/blog/scopare-con/ scopare con una ragazza gratis] [http://adrienneee.ifrance.com/blog/ww-porno/ ww porno] [http://bakadeshi.ifrance.com/img/styles/donna-nuda.html donna nuda e pipi] [http://mi-kkiechang.ifrance.com/paola-lenzi.html paola lenzi] [http://cincydj.ifrance.com/images/small/snake-eater/ snake eater] [http://bakadeshi.ifrance.com/img/styles/sma-gratis.html sma gratis] [http://adrienneee.ifrance.com/blog/sconsolata-sexy/ sconsolata sexy] [http://jnk713.ifrance.com/img/styles/donne-nudisti/ donne nudisti] [http://jnk713.ifrance.com/img/styles/screensaver-pornostar/ screensaver pornostar] [http://doctorpinkerton.ifrance.com/lib/sitti-porno/ sitti porno gratis] [http://bakadeshi.ifrance.com/img/styles/donne-e.html donne e sesso] [http://tulip123456.ifrance.com/topic/www-sesso.html www sesso hard sardegna it] [http://competitio.ifrance.com/ragazze-in/ ragazze in camera] [http://competitio.ifrance.com/middlesex/ middlesex] [http://furrysoap.ifrance.com/playboy-t/ playboy t shirt uomo] [http://jnk713.ifrance.com/img/styles/bambino-gratis/ bambino gratis] [http://adrienneee.ifrance.com/blog/filmati-amatoriali/ filmati amatoriali sexy free] [http://adrienneee.ifrance.com/blog/foto-elisabetta/ foto elisabetta canalis antonacci] [http://elixirium.ifrance.com/lib/ragazze-super.html ragazze super sexi] [http://adrienneee.ifrance.com/blog/le-tette/ le tette di lollo] [http://doctorpinkerton.ifrance.com/lib/forza-chiara/ forza chiara video hard gratis] [http://end14april.ifrance.com/blog/moglie-nuda.html moglie nuda e siciliana] [http://spirit-psyki.ifrance.com/lib/foto-di.html foto di eamon gratis] [http://spirit-psyki.ifrance.com/lib/cerco-singole.html cerco singole sesso] [http://adrienneee.ifrance.com/blog/sexy-com/ sexy com] [http://doctorpinkerton.ifrance.com/lib/film-de/ film de sexe] [http://spirit-psyki.ifrance.com/lib/sfondi-gratis.html sfondi gratis power point] [http://tulip123456.ifrance.com/topic/galleria-di.html galleria di siti video porno gratuiti] [http://jnk713.ifrance.com/img/styles/ebook-gratis/ ebook gratis] [http://competitio.ifrance.com/jerez-de/ jerez de los caballeros] [http://doctorpinkerton.ifrance.com/lib/gay-fucking/ gay fucking] [http://competitio.ifrance.com/spanking-video/ spanking video gratis] [http://cincydj.ifrance.com/images/small/playboy-mansion/ playboy mansion ps2] [http://doctorpinkerton.ifrance.com/lib/donne-scolpite/ donne scolpite] [http://competitio.ifrance.com/giochi-pornp/ giochi pornp per adulti] [http://spirit-psyki.ifrance.com/lib/eamon-fuckit.html eamon fuckit solo] [http://competitio.ifrance.com/palmas-nuda/ palmas nuda] [http://cincydj.ifrance.com/images/small/grande-fratello/ grande fratello 4 porno] [http://tulip123456.ifrance.com/topic/sesso-in.html sesso in diretta] [http://elixirium.ifrance.com/lib/gay-amtoriale.html gay amtoriale] [http://mi-kkiechang.ifrance.com/video-gratuiti.html video gratuiti di sexy luna] [http://tulip123456.ifrance.com/topic/sex-dvd.html sex dvd] [http://jnk713.ifrance.com/img/styles/wwww-live/ wwww live sex it] [http://elixirium.ifrance.com/lib/bacio-lesbo.html bacio lesbo cinema] [http://cincydj.ifrance.com/images/small/sexy-videos/ sexy videos] [http://cincydj.ifrance.com/images/small/siti-di/ siti di donne vecchie porche] [http://mi-kkiechang.ifrance.com/lesbo-ard.html lesbo ard] [http://doctorpinkerton.ifrance.com/lib/donne-bellissime/ donne bellissime] [http://furrysoap.ifrance.com/donne-di/ donne di palermo] [http://elixirium.ifrance.com/lib/fotocamera-analogica.html fotocamera analogica reflex] [http://doctorpinkerton.ifrance.com/lib/gioco-sexy/ gioco sexy da vedere] [http://mi-kkiechang.ifrance.com/she-sex.html she sex] [http://bakadeshi.ifrance.com/img/styles/eastsussex.html east-sussex] [http://elixirium.ifrance.com/lib/foto-amatoriali.html foto amatoriali sesso] [http://competitio.ifrance.com/serena-garitta/ serena garitta nuda] [http://adrienneee.ifrance.com/blog/cuckold-cornuti/ cuckold cornuti porno] [http://mi-kkiechang.ifrance.com/vagine-vergini.html vagine vergini] [http://doctorpinkerton.ifrance.com/lib/video-animal/ video animal sex gratis] [http://end14april.ifrance.com/blog/sti-porno.html sti porno gratuiti] [http://competitio.ifrance.com/baci-tra/ baci tra donne] [http://spirit-psyki.ifrance.com/lib/italia-girl.html italia girl free] [http://competitio.ifrance.com/foto-di/ foto di donne nude amatoriali] [http://bakadeshi.ifrance.com/img/styles/xxx-brazil.html xxx brazil teen] [http://furrysoap.ifrance.com/sesso-ragazzo/ sesso ragazzo] [http://adrienneee.ifrance.com/blog/amici-gay/ amici gay a bologna] [http://elixirium.ifrance.com/lib/giochi-sexy.html giochi sexy online] [http://end14april.ifrance.com/blog/tuttotette.html tuttotette] [http://mi-kkiechang.ifrance.com/video-gratis.html video gratis da guardare] [http://tulip123456.ifrance.com/topic/giochare-al.html giochare al sesso        sesso] [http://elixirium.ifrance.com/lib/sesso-con.html sesso con telefono] [http://jnk713.ifrance.com/img/styles/vagine-enormi/ vagine enormi] [http://mi-kkiechang.ifrance.com/fenech-video.html fenech video gratis] [http://tulip123456.ifrance.com/topic/conoscere-ragazze.html conoscere ragazze] [http://furrysoap.ifrance.com/gioco-pc/ gioco pc gratis] [http://doctorpinkerton.ifrance.com/lib/donne-russe/ donne russe] [http://cincydj.ifrance.com/images/small/linea-porno/ linea porno gay] [http://furrysoap.ifrance.com/sexy-tv/ sexy tv] [http://bakadeshi.ifrance.com/img/styles/foto-sexy.html foto sexy monica bellucci] [http://competitio.ifrance.com/travestiti-transessuali/ travestiti transessuali] [http://elixirium.ifrance.com/lib/www-girls.html www girls gone wild com] [http://mi-kkiechang.ifrance.com/pornoa-henger.html pornoa henger] [http://tulip123456.ifrance.com/topic/belle-ragazze.html belle ragazze nude] [http://jnk713.ifrance.com/img/styles/foto-donna/ foto donna nuda gratis] [http://competitio.ifrance.com/pamela-anderson/ pamela anderson tommy le] [http://elixirium.ifrance.com/lib/cover-paola.html cover paola turci] [http://bakadeshi.ifrance.com/img/styles/eros-ramaz.html eros ramaz] [http://spirit-psyki.ifrance.com/lib/sexi-ciccione.html sexi ciccione] [http://mi-kkiechang.ifrance.com/foto-gratis.html foto gratis nudo] [http://furrysoap.ifrance.com/donne-nude/ donne nude su internet] [http://cincydj.ifrance.com/images/small/foto-sexy/ foto sexy di britney spears] [http://elixirium.ifrance.com/lib/pamela-anderson.html pamela anderson e tommy lee film hard gr] [http://mi-kkiechang.ifrance.com/sex-scy.html sex scy] [http://cincydj.ifrance.com/images/small/marina-sexy/ marina sexy gratis] [http://adrienneee.ifrance.com/blog/http-www/ http www sexzool com] [http://spirit-psyki.ifrance.com/lib/sesso-gay.html sesso gay torino] [http://adrienneee.ifrance.com/blog/bestiality-sex/ bestiality sex] [http://spirit-psyki.ifrance.com/lib/canalis-su.html canalis su max] [http://cincydj.ifrance.com/images/small/clitoride/ clitoride] [http://furrysoap.ifrance.com/www-babeporno/ www babeporno net] [http://furrysoap.ifrance.com/viet-girl/ viet girl] [http://tulip123456.ifrance.com/topic/temi-gratis.html temi gratis per nokia] [http://doctorpinkerton.ifrance.com/lib/porno-toons/ porno toons] [http://adrienneee.ifrance.com/blog/video-porno/ video porno vip] [http://competitio.ifrance.com/vido-porno/ vido porno gratis] [http://competitio.ifrance.com/naked-gymnasts/ naked gymnasts] [http://tulip123456.ifrance.com/topic/pamela-anderson.html pamela anderson nude] [http://mi-kkiechang.ifrance.com/ragazze-di.html ragazze di cracovia] [http://adrienneee.ifrance.com/blog/duhamel-georges/ duhamel, georges] [http://competitio.ifrance.com/ragazze-torturate/ ragazze torturate] [http://bakadeshi.ifrance.com/img/styles/racconto-eros.html racconto eros] [http://tulip123456.ifrance.com/topic/traduzione-lyrics.html traduzione lyrics fuck it] [http://end14april.ifrance.com/blog/digimon-xxx.html digimon xxx] [http://jnk713.ifrance.com/img/styles/video-pornostar/ video pornostar] [http://tulip123456.ifrance.com/topic/www-xnxx.html www xnxx free hardcore sex] [http://bakadeshi.ifrance.com/img/styles/bambola-ramona.html bambola ramona porno figa] [http://mi-kkiechang.ifrance.com/invio-sms.html invio sms gratis senza registrazione] [http://cincydj.ifrance.com/images/small/hardcore-gratis/ hardcore gratis] [http://end14april.ifrance.com/blog/gay-free.html gay free] [http://cincydj.ifrance.com/images/small/denise-playboy/ denise playboy] [http://doctorpinkerton.ifrance.com/lib/pornostar-lollipop/ pornostar lollipop] [http://cincydj.ifrance.com/images/small/peliculas-de/ peliculas de porno] [http://mi-kkiechang.ifrance.com/perego-paola.html perego paola nuda] [http://doctorpinkerton.ifrance.com/lib/pornografico/ pornografico] [http://spirit-psyki.ifrance.com/lib/foto-lesbo.html foto lesbo] [http://furrysoap.ifrance.com/gay-gallerie/ gay gallerie di sesso gratuite] [http://doctorpinkerton.ifrance.com/lib/francesex/ francesex] [http://elixirium.ifrance.com/lib/puttane-sesso.html puttane sesso e fantasia] [http://adrienneee.ifrance.com/blog/sesso-con/ sesso con nonna] [http://cincydj.ifrance.com/images/small/video-pompini/ video pompini gratis] [http://competitio.ifrance.com/fotos-pornograficas/ fotos pornograficas] [http://spirit-psyki.ifrance.com/lib/frogsex-com.html frogsex com] == 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 23:58, 28 August 2007

fottball sexy foto topless contessa de blank cover dvd eros ramazzotti ilaria d amico nuda pannolini per adulti sesso video pregnant borges lyrics donne per uomini campania spiagge per nudisti video donna nuda video erotici gratis celebrita pistola nuda sexogratis single bisex ragazze orientali per amicizie russian single girls donne vecchie che sborrano vecchie erotiche gratis gallerie piedi nudi cazzi nudi sexo vedetes peruanas famosas mario 2 sexy sex con donne sex boy gloria gaynor matura fuck esempio di modulistica gratis aerosol pistone le ragazze pon pon bambola pornostar calendario elisabetta canalis dvd adult laetitia casta nuda nudi di donne caccia gay spogliatoio nudi squadra eros veneziani foto group sex annunci provincia benevento ragazze examination gyno girl nude reality sexy password lesbo cam marylin manson videos gratis coppie cerca lui bisex www gay pride altri racconti erotici www pornofilm com it gheros femmine sexy porno gretis video porno eva henger ragazze immagine fotos de hombres desnudo tesi gratis selen v ideo gratis transex mistress eros ramazzotti vagina di emanuela arcuri sexy italians annunci di donne troie in cerca di sesso donne nude famose gratis racconti incesto erotici video di pamela anderson analisi cambi zoo sex pornostar gellerie foto midi musica gratis bacio lesbo carmen russo lecca cazzi gratis scopare con una ragazza gratis ww porno donna nuda e pipi paola lenzi snake eater sma gratis sconsolata sexy donne nudisti screensaver pornostar sitti porno gratis donne e sesso www sesso hard sardegna it ragazze in camera middlesex playboy t shirt uomo bambino gratis filmati amatoriali sexy free foto elisabetta canalis antonacci ragazze super sexi le tette di lollo forza chiara video hard gratis moglie nuda e siciliana foto di eamon gratis cerco singole sesso sexy com film de sexe sfondi gratis power point galleria di siti video porno gratuiti ebook gratis jerez de los caballeros gay fucking spanking video gratis playboy mansion ps2 donne scolpite giochi pornp per adulti eamon fuckit solo palmas nuda grande fratello 4 porno sesso in diretta gay amtoriale video gratuiti di sexy luna sex dvd wwww live sex it bacio lesbo cinema sexy videos siti di donne vecchie porche lesbo ard donne bellissime donne di palermo fotocamera analogica reflex gioco sexy da vedere she sex east-sussex foto amatoriali sesso serena garitta nuda cuckold cornuti porno vagine vergini video animal sex gratis sti porno gratuiti baci tra donne italia girl free foto di donne nude amatoriali xxx brazil teen sesso ragazzo amici gay a bologna giochi sexy online tuttotette video gratis da guardare giochare al sesso sesso sesso con telefono vagine enormi fenech video gratis conoscere ragazze gioco pc gratis donne russe linea porno gay sexy tv foto sexy monica bellucci travestiti transessuali www girls gone wild com pornoa henger belle ragazze nude foto donna nuda gratis pamela anderson tommy le cover paola turci eros ramaz sexi ciccione foto gratis nudo donne nude su internet foto sexy di britney spears pamela anderson e tommy lee film hard gr sex scy marina sexy gratis http www sexzool com sesso gay torino bestiality sex canalis su max clitoride www babeporno net viet girl temi gratis per nokia porno toons video porno vip vido porno gratis naked gymnasts pamela anderson nude ragazze di cracovia duhamel, georges ragazze torturate racconto eros traduzione lyrics fuck it digimon xxx video pornostar www xnxx free hardcore sex bambola ramona porno figa invio sms gratis senza registrazione hardcore gratis gay free denise playboy pornostar lollipop peliculas de porno perego paola nuda pornografico foto lesbo gay gallerie di sesso gratuite francesex puttane sesso e fantasia sesso con nonna video pompini gratis fotos pornograficas frogsex com == 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