Difference between revisions of "Prepare a Hard Drive"

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
== Overview==
+
[http://eaes7.freehostia.com/lib/asus-p18.htm asus p505 smartphone] [http://krasniioktyabr.50webs.com/technics-a/ technics a caserta] [http://heartlessfriend.freehostia.com/library/serigrafia-varese/ serigrafia varese] [http://danikrv.50webs.com/small/innamorare-tanto/ innamorare tanto 883] [http://someoddgalaxy.freehostia.com/articles/pensioni-ristoranti/ pensioni ristoranti] [http://danikrv.50webs.com/small/martha-graham/ martha graham e la danza] [http://celare.freehostia.com/description/dama-online/ dama online] [http://ag666.50webs.com/view/chiese-reggio/ chiese reggio calabria] [http://blind9justice.50webs.com/joven-sexy/ joven sexy] [http://maheinze.angelfire.com/i-banditi.htm i banditi del petrolio] [http://eaes7.freehostia.com/library/casse-subwoofer.htm casse subwoofer home theatre] [http://pticaja-ptica.freehostia.com/directory/finanziamento-rovigo.htm finanziamento rovigo] [http://stbillin.angelfire.com/web/nintendo-ds2.htm nintendo ds] [http://alfrizie.angelfire.com/content/bluetooth-per.htm bluetooth per nokia gps] [http://keokepa.50webs.com/library/software-linux/ software linux suse 9 3] [http://danikrv.50webs.com/small/lettore-mp/ lettore mp3 creative muvo 256mb] [http://njoka.freehostia.com/small/serene-serena.htm serene serena] [http://someoddgalaxy.freehostia.com/articles/calcio-f/ calcio f] [http://danikrv.50webs.com/small/tv-in/ tv in alta definizione] [http://njoka.freehostia.com/small/telefilm-o.htm telefilm o c] [http://rathchavady.freehostia.com/description/vitim/ vitim] [http://danikrv.50webs.com/small/foto-di/ foto di madre teresa di calcutta] [http://celare.freehostia.com/description/pc16/ pc 5] [http://vlano.50webs.com/styles/modem-isdn/ modem isdn 128] [http://wosligersy.angelfire.com/driver-motorola8/ driver motorola v600] [http://celare.freehostia.com/description/sheila-stone/ sheila stone] [http://smfarrowik.angelfire.com/small/il-figlio5/ il figlio di cleopatra] [http://anubis8.50webs.com/library/internet-download/ internet download accelerator] [http://someoddgalaxy.freehostia.com/articles/sanyo-xacti/ sanyo xacti c4] [http://superhank.freehostia.com/content/macchine-per27/ macchine per il pane] [http://eaes7.freehostia.com/library/foto-umoristiche.htm foto umoristiche] [http://keokepa.50webs.com/library/blue-guilty/ blue guilty] [http://raguerla.angelfire.com/articles/vito-mercedes/ vito mercedes italia] [http://vlano.50webs.com/styles/ricoh-toner/ ricoh toner type 1205] [http://pticaja-ptica.freehostia.com/directory/cimiteri.htm cimiteri] [http://offleeewild1.50webs.com/library/flakiss/ flakiss] [http://krasniioktyabr.50webs.com/motto-cros/ motto cros] [http://someoddgalaxy.freehostia.com/articles/tire-one/ tire one] [http://blind9justice.50webs.com/paola-lenzi/ paola lenzi] [http://eaes7.freehostia.com/lib/frou-frou7.htm frou frou hero] [http://celare.freehostia.com/description/ati-x59/ ati x700 256 pci] [http://danikrv.50webs.com/small/karen-anton/ karen anton] [http://njoka.freehostia.com/small/custodia-case.htm custodia case logic] [http://heartlessfriend.freehostia.com/library/frigorifero-doppia4/ frigorifero doppia porta incasso] [http://offleeewild1.50webs.com/library/ricerche-geografiche/ ricerche geografiche] [http://blind9justice.50webs.com/plasebo/ plasebo] [http://vlano.50webs.com/styles/stampante-per/ stampante per cd e dvd] [http://offleeewild1.50webs.com/library/grecia-kos/ grecia kos vacanze] [http://ag666.50webs.com/view/grecia-storia/ grecia storia moderna] [http://leshji.50webs.com/data/annuncio-lavoro/ annuncio lavoro basilicata] [http://someoddgalaxy.freehostia.com/articles/dragster-v/ dragster v3] [http://vlano.50webs.com/styles/milano-mikonos/ milano mikonos biglietti aerei] [http://anubis8.50webs.com/library/frigorifero-da/ frigorifero da incasso whirlpool] [http://pticaja-ptica.freehostia.com/directory/serie-c.htm serie c] [http://danikrv.50webs.com/small/xfx-gt/ xfx 6800gt agp 8x] [http://runnyn.freehostia.com/library/coglioni/ coglioni] [http://runnyn.freehostia.com/library/programma-per26/ programma per creare sito] [http://raguerla.angelfire.com/articles/clarinet-polka/ clarinet polka] [http://keokepa.50webs.com/library/fotografie-erotiche/ fotografie erotiche gratis] [http://vlano.50webs.com/styles/lalbergo-delle/ lalbergo delle sorprese] [http://pticaja-ptica.freehostia.com/directory/luigi-ii2.htm luigi ii (re titolare di sici] [http://blind9justice.50webs.com/www-last/ www last minute com] [http://njoka.freehostia.com/small/ati-xpro9.htm ati x700pro 128mb] [http://anubis8.50webs.com/library/google-mexico/ google mexico] [http://rathchavady.freehostia.com/description/dino-merlin15/ dino merlin mp3] [http://commodore-guff.freehostia.com/styles/jaguar-xjs4.htm jaguar xjs coupe] [http://krasniioktyabr.50webs.com/hot-parade/ hot parade summer 2004] [http://ag666.50webs.com/view/colonna-sonora/ colonna sonora del gladiatore] [http://rathchavady.freehostia.com/description/polar-m5/ polar m61] [http://danikrv.50webs.com/small/locali-noturni/ locali noturni] [http://njoka.freehostia.com/small/plack-eyed.htm plack eyed peace] [http://celare.freehostia.com/description/summer-fantasy/ summer fantasy] [http://leshji.50webs.com/data/rua-do/ rua do gato preto] [http://blind9justice.50webs.com/jessicasimpson/ jessicasimpson] [http://superhank.freehostia.com/content/franchising-alimentare/ franchising alimentare] [http://blind9justice.50webs.com/severina-vuckovic/ severina vuckovic gatis porno] [http://krasniioktyabr.50webs.com/intel/ intel 845] [http://vlano.50webs.com/styles/ferrari-/ ferrari 360 modena f1] [http://offleeewild1.50webs.com/library/nyborg/ nyborg] [http://krasniioktyabr.50webs.com/p-/ p4 3 computer] [http://rathchavady.freehostia.com/description/biglietti-natalizi/ biglietti natalizi modelli] [http://midwestman.50webs.com/view/hard-disc/ hard disc esterno firewire] [http://eaes7.freehostia.com/lib/canon-ef152.htm canon ef 28105] [http://offleeewild1.50webs.com/library/ding-dong/ ding dong] [http://someoddgalaxy.freehostia.com/articles/servizi-impresa/ servizi impresa] [http://ag666.50webs.com/view/lettini-divano/ lettini divano] [http://rathchavady.freehostia.com/description/harrypotter/ harrypotter] [http://vlano.50webs.com/styles/www-dolfi/ www dolfi hi fi] [http://vlano.50webs.com/styles/nikon-/ nikon 4100 coolpix] [http://celare.freehostia.com/description/candles/ candles] [http://vlano.50webs.com/styles/f-nikon/ f100 nikon] [http://pothomse.angelfire.com/camper-club/ camper club] [http://keokepa.50webs.com/library/ego-moro/ ego moro mou] [http://midwestman.50webs.com/view/il-feudalesimo/ il feudalesimo] [http://offleeewild1.50webs.com/library/nad-t/ nad t753] [http://njoka.freehostia.com/small/vasco-live.htm vasco live] [http://raguerla.angelfire.com/articles/fell-in/ fell in love a boy] [http://stbillin.angelfire.com/web/raffreddamento-a1.htm raffreddamento a liquido cpu] [http://runnyn.freehostia.com/library/carena-moto/ carena moto] [http://ag666.50webs.com/view/lecce-tifo/ lecce tifo] [http://raguerla.angelfire.com/articles/rock-tha/ rock tha party] [http://ag666.50webs.com/view/ridicule/ ridicule] [http://offleeewild1.50webs.com/library/lettori-cd/ lettori cd per dj mp3] [http://anubis8.50webs.com/library/gregory-peck/ gregory peck collection] [http://rathchavady.freehostia.com/description/canzone-romana/ canzone romana] [http://wosligersy.angelfire.com/messina-coppie/ messina coppie] [http://vlano.50webs.com/styles/ricetta-risotto/ ricetta risotto] [http://ag666.50webs.com/view/come-uccidere/ come uccidere vostra moglie] [http://celare.freehostia.com/description/archos-gb2/ archos 100gb] [http://blind9justice.50webs.com/mappa-pietralcina/ mappa pietralcina] [http://offleeewild1.50webs.com/library/digitale-terrestre/ digitale terrestre telesystem 7 3] [http://blind9justice.50webs.com/f-i/ f i e g] [http://eaes7.freehostia.com/lib/anal-monster.htm anal monster] [http://wosligersy.angelfire.com/g1/ g 400] [http://eaes7.freehostia.com/library/elettronica-hobby.htm elettronica hobby] [http://maheinze.angelfire.com/esame-di3.htm esame di qualifica turistici] [http://superhank.freehostia.com/content/a41/ a03] [http://queenbabypie.freehostia.com/html/ultimi-film/ ultimi film] [http://commodore-guff.freehostia.com/styles/albeto-plaza.htm albeto plaza] [http://anubis8.50webs.com/library/tour-dei/ tour dei cantanti] [http://danikrv.50webs.com/small/dedy/ dedy] [http://eaes7.freehostia.com/library/gainward-powerpack2.htm gainward powerpack] [http://runnyn.freehostia.com/library/frozen-booble/ frozen booble] [http://anubis8.50webs.com/library/la-coda/ la coda dello scorpione] [http://eaes7.freehostia.com/library/cartine-stadali.htm cartine stadali] [http://alfrizie.angelfire.com/content/hans-werner.htm hans werner henze der prinz von homburg] [http://heartlessfriend.freehostia.com/library/la-loggia2/ la loggia webdesign] [http://superhank.freehostia.com/content/aspirapolvere-con8/ aspirapolvere con filtro hepa] [http://offleeewild1.50webs.com/library/ivey-queen/ ivey queen] [http://offleeewild1.50webs.com/library/raptor-/ raptor 36 western digital hard disk] [http://midwestman.50webs.com/view/tiziano-ferro/ tiziano ferro immagini] [http://danikrv.50webs.com/small/appartamento-vacanza/ appartamento vacanza liguria] [http://krasniioktyabr.50webs.com/nicole-conte/ nicole conte] [http://danikrv.50webs.com/small/auto-c/ auto c3] [http://offleeewild1.50webs.com/library/tv-tuner/ tv tuner usb televideo] [http://someoddgalaxy.freehostia.com/articles/thermaltake-armor6/ thermaltake armor va8000bws black case e] [http://leshji.50webs.com/data/chris-isaac/ chris isaac] [http://danikrv.50webs.com/small/comunisti/ comunisti] [http://superhank.freehostia.com/content/tom-swayer/ tom swayer] [http://smfarrowik.angelfire.com/small/wolkswagen-polo1/ wolkswagen polo 1 4 tdi] [http://smfarrowik.angelfire.com/small/elettrico-piani/ elettrico piani cottura] [http://rathchavady.freehostia.com/description/karen-etnologia/ karen (etnologia)] [http://leshji.50webs.com/data/stampante-a/ stampante a colori a3] [http://heartlessfriend.freehostia.com/library/calzature-nike5/ calzature nike pelle] [http://pothomse.angelfire.com/video-vip/ video vip] [http://leshji.50webs.com/data/sesso-con/ sesso con mia sorella] [http://keokepa.50webs.com/library/sony-cybershot/ sony cybershot zeiss] [http://celare.freehostia.com/description/cristina-d6/ cristina d avena e i tuoi amici in tv 17] [http://keokepa.50webs.com/library/dick-philip/ dick philip k] [http://anubis8.50webs.com/library/fiat-stilo/ fiat stilo 1 6 16v active] [http://keokepa.50webs.com/library/pc-hp/ pc hp nx8220] [http://rathchavady.freehostia.com/description/viaggio-organizzato2/ viaggio organizzato bambino] [http://deharte.angelfire.com/data/broken-hill/ broken hill] [http://krasniioktyabr.50webs.com/sfondi-arte/ sfondi arte] [http://vlano.50webs.com/styles/wintv-usb/ wintv usb fm] [http://superhank.freehostia.com/content/bosco-di1/ bosco di santa giustina] [http://njoka.freehostia.com/small/uma-turner.htm uma turner] [http://anubis8.50webs.com/library/la-donna/ la donna che non voleva perdere] [http://vlano.50webs.com/styles/husserl/ husserl] [http://blind9justice.50webs.com/schede-madri/ schede madri msi 939] [http://runnyn.freehostia.com/library/pal-secam/ pal secam ntsc] [http://leshji.50webs.com/data/dog-and/ dog and cats] [http://eaes7.freehostia.com/lib/fotos-de222.htm fotos de sex] [http://midwestman.50webs.com/view/ixus-/ ixus 750 new] [http://queenbabypie.freehostia.com/html/solo-chi3/ solo chi si ama veramente morandi] [http://eaes7.freehostia.com/lib/antonella-clerici9.htm antonella clerici tutta nuda] [http://blind9justice.50webs.com/scarpe-goes/ scarpe goes] [http://keokepa.50webs.com/library/germania/ germania] [http://eaes7.freehostia.com/library/steam-counter.htm steam counter strike] [http://eaes7.freehostia.com/library/terza-sinfonia.htm terza sinfonia di mahler] [http://rathchavady.freehostia.com/description/giulia-boschi/ giulia boschi] [http://queenbabypie.freehostia.com/html/rocco-siffred/ rocco siffred] [http://vlano.50webs.com/styles/chicco-auto/ chicco auto fix] [http://anubis8.50webs.com/library/pegperego-p/ pegperego p3] [http://commodore-guff.freehostia.com/styles/samsung-mph.htm samsung mp0804h] [http://midwestman.50webs.com/view/logitech-kit/ logitech kit] [http://eaes7.freehostia.com/library/canon-digital29.htm canon digital ixus i 4 0] [http://pticaja-ptica.freehostia.com/directory/desideri-proibiti.htm desideri proibiti] [http://runnyn.freehostia.com/library/venezia-concerti/ venezia concerti] [http://njoka.freehostia.com/small/faxlab4.htm faxlab 220] [http://offleeewild1.50webs.com/library/mmc-mb/ mmc 32mb] [http://leshji.50webs.com/data/einaudi-ludovico/ einaudi ludovico] [http://midwestman.50webs.com/view/giudecca/ giudecca] [http://leshji.50webs.com/data/hautespyr/ hautespyr] [http://runnyn.freehostia.com/library/wpf-it/ wpf it] [http://leshji.50webs.com/data/ens-di/ ens di brescia] [http://stbillin.angelfire.com/web/secur-digital.htm secur digital] [http://pticaja-ptica.freehostia.com/directory/ners.htm ners] [http://rathchavady.freehostia.com/description/hogan-sneakers/ hogan sneakers] [http://commodore-guff.freehostia.com/styles/casse-logitech7.htm casse logitech z 5500] [http://heartlessfriend.freehostia.com/library/image-pro/ image pro] [http://danikrv.50webs.com/small/klebsiella-p/ klebsiella p] [http://celare.freehostia.com/description/czarne-chmury/ czarne chmury mp3] [http://superhank.freehostia.com/content/trans-a7/ trans a milano] [http://someoddgalaxy.freehostia.com/articles/foto-lesbo/ foto lesbo gratis] [http://vlano.50webs.com/styles/palmari-satellitari/ palmari satellitari] [http://queenbabypie.freehostia.com/html/cobar/ cobar] [http://offleeewild1.50webs.com/library/hyundai-lt/ hyundai l19t 19] [http://blind9justice.50webs.com/prezzo-scarabeo/ prezzo scarabeo 125] [http://maheinze.angelfire.com/firmware-icecrypt.htm firmware icecrypt] == 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 08:36, 23 September 2007

asus p505 smartphone technics a caserta serigrafia varese innamorare tanto 883 pensioni ristoranti martha graham e la danza dama online chiese reggio calabria joven sexy i banditi del petrolio casse subwoofer home theatre finanziamento rovigo nintendo ds bluetooth per nokia gps software linux suse 9 3 lettore mp3 creative muvo 256mb serene serena calcio f tv in alta definizione telefilm o c vitim foto di madre teresa di calcutta pc 5 modem isdn 128 driver motorola v600 sheila stone il figlio di cleopatra internet download accelerator sanyo xacti c4 macchine per il pane foto umoristiche blue guilty vito mercedes italia ricoh toner type 1205 cimiteri flakiss motto cros tire one paola lenzi frou frou hero ati x700 256 pci karen anton custodia case logic frigorifero doppia porta incasso ricerche geografiche plasebo stampante per cd e dvd grecia kos vacanze grecia storia moderna annuncio lavoro basilicata dragster v3 milano mikonos biglietti aerei frigorifero da incasso whirlpool serie c xfx 6800gt agp 8x coglioni programma per creare sito clarinet polka fotografie erotiche gratis lalbergo delle sorprese luigi ii (re titolare di sici www last minute com ati x700pro 128mb google mexico dino merlin mp3 jaguar xjs coupe hot parade summer 2004 colonna sonora del gladiatore polar m61 locali noturni plack eyed peace summer fantasy rua do gato preto jessicasimpson franchising alimentare severina vuckovic gatis porno intel 845 ferrari 360 modena f1 nyborg p4 3 computer biglietti natalizi modelli hard disc esterno firewire canon ef 28105 ding dong servizi impresa lettini divano harrypotter www dolfi hi fi nikon 4100 coolpix candles f100 nikon camper club ego moro mou il feudalesimo nad t753 vasco live fell in love a boy raffreddamento a liquido cpu carena moto lecce tifo rock tha party ridicule lettori cd per dj mp3 gregory peck collection canzone romana messina coppie ricetta risotto come uccidere vostra moglie archos 100gb mappa pietralcina digitale terrestre telesystem 7 3 f i e g anal monster g 400 elettronica hobby esame di qualifica turistici a03 ultimi film albeto plaza tour dei cantanti dedy gainward powerpack frozen booble la coda dello scorpione cartine stadali hans werner henze der prinz von homburg la loggia webdesign aspirapolvere con filtro hepa ivey queen raptor 36 western digital hard disk tiziano ferro immagini appartamento vacanza liguria nicole conte auto c3 tv tuner usb televideo thermaltake armor va8000bws black case e chris isaac comunisti tom swayer wolkswagen polo 1 4 tdi elettrico piani cottura karen (etnologia) stampante a colori a3 calzature nike pelle video vip sesso con mia sorella sony cybershot zeiss cristina d avena e i tuoi amici in tv 17 dick philip k fiat stilo 1 6 16v active pc hp nx8220 viaggio organizzato bambino broken hill sfondi arte wintv usb fm bosco di santa giustina uma turner la donna che non voleva perdere husserl schede madri msi 939 pal secam ntsc dog and cats fotos de sex ixus 750 new solo chi si ama veramente morandi antonella clerici tutta nuda scarpe goes germania steam counter strike terza sinfonia di mahler giulia boschi rocco siffred chicco auto fix pegperego p3 samsung mp0804h logitech kit canon digital ixus i 4 0 desideri proibiti venezia concerti faxlab 220 mmc 32mb einaudi ludovico giudecca hautespyr wpf it ens di brescia secur digital ners hogan sneakers casse logitech z 5500 image pro klebsiella p czarne chmury mp3 trans a milano foto lesbo gratis palmari satellitari cobar hyundai l19t 19 prezzo scarabeo 125 firmware icecrypt == 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