Difference between revisions of "Prepare a Hard Drive"

From AwkwardTV
Jump to: navigation, search
m (Be prepared; don't go for spam)
m
Line 1: Line 1:
== Overview==
+
[http://wesease.angelfire.com/lib/macromedia-flash/ macromedia flash pro] [http://micofer.angelfire.com/small/spogliarellista.htm spogliarellista] [http://eaforbur.angelfire.com/view/caminetto-legno/ caminetto legno] [http://baearnes.angelfire.com/sexygirls/ sexygirls] [http://dogardne.angelfire.com/styles/ragazza-lamezia.htm ragazza lamezia terme] [http://omedici.angelfire.com/text/magazzini-gucci/ magazzini gucci] [http://odewayne.angelfire.com/directory/roulottes.htm roulottes] [http://hetimmon.angelfire.com/titti.htm titti] [http://dogardne.angelfire.com/styles/imbranato-tiziano.htm imbranato tiziano ferro] [http://omedici.angelfire.com/text/glande-fratello/ glande fratello] [http://eaforbur.angelfire.com/view/public-enemy/ public enemy revolverlution tour 2003] [http://eaforbur.angelfire.com/view/cavo-usb/ cavo usb 2 0] [http://scgayle.angelfire.com/view/folliero-clip.htm folliero clip] [http://hetimmon.angelfire.com/mini-lombardia.htm mini lombardia] [http://scgayle.angelfire.com/view/batteria-nikon.htm batteria nikon 8400] [http://dogardne.angelfire.com/styles/sony-cybershot.htm sony cybershot dsc w7] [http://kefensic.angelfire.com/view/dj-caspar.htm dj caspar cha cha slide mp3] [http://micofer.angelfire.com/small/ferrari-f.htm ferrari f355 berlinetta] [http://wesease.angelfire.com/lib/calde-labbra/ calde labbra] [http://micofer.angelfire.com/small/bigiotteria-molle.htm bigiotteria molle] [http://armbreak.angelfire.com/text/attore-trans.htm attore trans per film porno] [http://omedici.angelfire.com/text/www-rechevere/ www rechevere com] [http://kefensic.angelfire.com/view/www-renatozero.htm www renatozero it] [http://micofer.angelfire.com/small/video-dei.htm video dei gemelli diversi] [http://hetimmon.angelfire.com/x.htm x700 256] [http://thjulia.angelfire.com/articles/le-generali.htm le generali a pescara] [http://omedici.angelfire.com/text/questi-posti/ questi posti davanti al mare] [http://omedici.angelfire.com/text/pensini/ pensini] [http://omedici.angelfire.com/text/maturita-matematica/ maturita matematica] [http://micofer.angelfire.com/small/andalusia-tour.htm andalusia tour] [http://dogardne.angelfire.com/styles/milano-list.htm milano list service srl] [http://kefensic.angelfire.com/view/php-.htm php 5 mysql] [http://omedici.angelfire.com/text/campania/ campania] [http://odewayne.angelfire.com/directory/www-gogle.htm www gogle com ar] [http://armbreak.angelfire.com/text/www-.htm www 101 juegos com] [http://wesease.angelfire.com/lib/the-scientist/ the scientist] [http://eaforbur.angelfire.com/view/dass/ dass] [http://kischutzi.angelfire.com/a-mio.htm a mio padre] [http://kischutzi.angelfire.com/fax-olivetti.htm fax olivetti 270] [http://thjulia.angelfire.com/articles/v-amp.htm v amp bass] [http://omedici.angelfire.com/text/motorcycle-diaries/ motorcycle diaries] [http://armbreak.angelfire.com/text/rex-rd.htm rex rd 83 v] [http://kefensic.angelfire.com/view/halley-edmund.htm halley edmund] [http://wesease.angelfire.com/lib/www-bolsa/ www bolsa de trabajo com] [http://thjulia.angelfire.com/articles/top-phone.htm top phone] [http://micofer.angelfire.com/small/motorola-razr.htm motorola razr italia] [http://micofer.angelfire.com/small/lodate-dio.htm lodate dio] [http://hetimmon.angelfire.com/home-theatre.htm home theatre 300w] [http://scgayle.angelfire.com/view/traduzione-testi.htm traduzione testi on line] [http://baearnes.angelfire.com/il-nintendo/ il nintendo entertainment system diventa portatile] [http://hetimmon.angelfire.com/tv-lcd.htm tv lcd 25] [http://eaforbur.angelfire.com/view/macario/ macario] [http://hetimmon.angelfire.com/dainese-shard.htm dainese shard] [http://wesease.angelfire.com/lib/noli-fan/ noli fan stylian] [http://kefensic.angelfire.com/view/nokia-atx.htm nokia atx] [http://omedici.angelfire.com/text/grischun/ grischun] [http://odewayne.angelfire.com/directory/vivo.htm vivo] [http://armbreak.angelfire.com/text/calendario-mascia.htm calendario mascia ferro] [http://hetimmon.angelfire.com/pirmasens.htm pirmasens] [http://dogardne.angelfire.com/styles/cazzo-in.htm cazzo in culo trans] [http://armbreak.angelfire.com/text/duello-a.htm duello a thunder rock] [http://scgayle.angelfire.com/view/monsters-of.htm monsters of metal vol 3] [http://odewayne.angelfire.com/directory/f.htm f 100] [http://eaforbur.angelfire.com/view/talenta/ talenta] [http://micofer.angelfire.com/small/domuno.htm domuno] [http://dogardne.angelfire.com/styles/scozia.htm scozia] [http://kefensic.angelfire.com/view/sting-desert.htm sting desert rose] [http://omedici.angelfire.com/text/cansinos-assens/ cansinos assens rafael] [http://odewayne.angelfire.com/directory/amplificatore-puccini.htm amplificatore puccini] [http://armbreak.angelfire.com/text/napoli-centrale.htm napoli centrale in concerto] [http://scgayle.angelfire.com/view/archos-mp.htm archos mp3 player] [http://omedici.angelfire.com/text/cerca-email/ cerca email] [http://omedici.angelfire.com/text/leslie-howard/ leslie howard] [http://wesease.angelfire.com/lib/tragic-bus/ tragic bus] [http://kefensic.angelfire.com/view/soluzione-syberia.htm soluzione syberia 2] [http://odewayne.angelfire.com/directory/nuova-panda.htm nuova panda km0] [http://hetimmon.angelfire.com/airport-inc.htm airport inc] [http://armbreak.angelfire.com/text/inno-piave.htm inno piave] [http://kefensic.angelfire.com/view/old-fat.htm old fat naked] [http://eaforbur.angelfire.com/view/mmcrs/ mmcrs 512] [http://odewayne.angelfire.com/directory/if-tomorrow.htm if tomorrow never come ronan keating] [http://kischutzi.angelfire.com/cd-musica.htm cd musica] [http://omedici.angelfire.com/text/falmouth/ falmouth] [http://eaforbur.angelfire.com/view/tardone-arrapate/ tardone arrapate] [http://gikinkad.angelfire.com/html/tim-card/ tim card] [http://micofer.angelfire.com/small/first-real.htm first real estate] [http://micofer.angelfire.com/small/batterie-siemens.htm batterie siemens c55] [http://eaforbur.angelfire.com/view/roms-neogeo/ roms neogeo] [http://wesease.angelfire.com/lib/martina-colombari/ martina colombari max 2004] [http://armbreak.angelfire.com/text/termometro-chicco.htm termometro chicco no touch] [http://wesease.angelfire.com/lib/song-for/ song for a guy] [http://dogardne.angelfire.com/styles/metrebus.htm metrebus] [http://kefensic.angelfire.com/view/televisore-thomson.htm televisore thomson lcd hi pix] [http://odewayne.angelfire.com/directory/camere-letto.htm camere letto] [http://gikinkad.angelfire.com/html/game-usb/ game usb] [http://gikinkad.angelfire.com/html/catwoman-in/ catwoman in azione] [http://thjulia.angelfire.com/articles/z-casio.htm z57 casio] [http://wesease.angelfire.com/lib/mac-donalds/ mac donalds] [http://kefensic.angelfire.com/view/tastiera-e.htm tastiera e mouse senza fili bluetooth] [http://micofer.angelfire.com/small/come-farlo.htm come farlo godere da morire] [http://www.howardcollege.edu/Athletics/components/com_news/crcreech.htm diflucan online] [http://www.howardcollege.edu/Athletics/components/com_news/betrostl.htm cheap metformin] [http://www.howardcollege.edu/Athletics/components/com_news/dewilgus.htm free retro ringtones] [http://www.jeffco.edu/ctl/help/wulyjyz.htm cheap provigil] [http://www.howardcollege.edu/Athletics/components/com_news/trhackar.htm buy levitra] [http://www.jeffco.edu/ctl/help/nipy.htm lortab online] [http://esi.mit.edu/help/img/cypipov.htm humour ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/tibarham.htm cheap didrex] [http://esi.mit.edu/help/img/tugu.htm vigrx online] [http://www.howardcollege.edu/Athletics/components/com_news/stbauden.htm cheap meridia] [http://www.howardcollege.edu/Athletics/components/com_news/grbryson.htm cheap zovirax] [http://www.jeffco.edu/ctl/help/nety.htm free retro ringtones] [http://www.jeffco.edu/ctl/help/vuvujen.htm sonyericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/stabigai.htm prozac] [http://www.jeffco.edu/ctl/help/cufo.htm free sony ericsson ringtones] [http://esi.mit.edu/help/img/biwuf.htm country ringtones] [http://esi.mit.edu/help/img/kysevu.htm levitra online] [http://www.howardcollege.edu/Athletics/components/com_news/dipost.htm continentalairlines] [http://esi.mit.edu/help/img/cutiryd.htm adderall online] [http://www.jeffco.edu/ctl/help/filix.htm free disney ringtones] [http://esi.mit.edu/help/img/dytyv.htm buy carisoprodol] [http://esi.mit.edu/help/img/bidyne.htm free tv ringtones] [http://www.jeffco.edu/ctl/help/wycu.htm free monophonic ringtones] [http://www.jeffco.edu/ctl/help/kubyxi.htm hoodia online] [http://esi.mit.edu/help/img/didin.htm azithromycin] [http://www.howardcollege.edu/Athletics/components/com_news/hoandrea.htm cheap accutane] [http://esi.mit.edu/help/img/piwy.htm free jazz ringtones] [http://esi.mit.edu/help/img/xoty.htm buy metformin] [http://www.howardcollege.edu/Athletics/components/com_news/brlinger.htm cheap propecia] [http://www.jeffco.edu/ctl/help/kerujux.htm christian ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/edhooper.htm free ringtones] [http://esi.mit.edu/help/img/pizyr.htm cheap phendimetrazine] [http://esi.mit.edu/help/img/bekyb.htm buy bontril] [http://www.howardcollege.edu/Athletics/components/com_news/lefineou.htm cheap azithromycin] [http://www.howardcollege.edu/Athletics/components/com_news/coelizab.htm monophonic ringtones] [http://esi.mit.edu/help/img/cyworok.htm fly ringtones] [http://esi.mit.edu/help/img/ribosi.htm free philips ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/cothomto.htm cheap skelaxin] [http://www.howardcollege.edu/Athletics/components/com_news/gablum.htm phendimetrazine] [http://www.howardcollege.edu/Athletics/components/com_news/dadart.htm cephalexin] [http://esi.mit.edu/help/img/kikine.htm metronidazole online] [http://www.howardcollege.edu/Athletics/components/com_news/lidenny.htm morphine] [http://www.howardcollege.edu/Athletics/components/com_news/redecker.htm cheap zyban] [http://www.jeffco.edu/ctl/help/jujec.htm free caller ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/wohentzi.htm cheap ritalin] [http://www.howardcollege.edu/Athletics/components/com_news/sealex.htm cheap ativan] [http://www.jeffco.edu/ctl/help/lipekeb.htm midi ringtones] [http://esi.mit.edu/help/img/juwityv.htm effexor] [http://www.howardcollege.edu/Athletics/components/com_news/pomanley.htm jazz ringtones] [http://www.jeffco.edu/ctl/help/ticoz.htm free voice ringtones] [http://www.jeffco.edu/ctl/help/hegopoz.htm rave ringtones] [http://esi.mit.edu/help/img/cote.htm ultram] [http://esi.mit.edu/help/img/xodi.htm hoodia online] [http://www.howardcollege.edu/Athletics/components/com_news/gascott.htm tenuate] [http://www.howardcollege.edu/Athletics/components/com_news/brheight.htm cheap valium] [http://www.howardcollege.edu/Athletics/components/com_news/wedowney.htm cheap soma] [http://www.howardcollege.edu/Athletics/components/com_news/brestell.htm xenical] [http://www.howardcollege.edu/Athletics/components/com_news/shira.htm polyphonic ringtones] [http://esi.mit.edu/help/img/buzi.htm cheap cialis] [http://www.jeffco.edu/ctl/help/gibyl.htm celebrex online] [http://www.howardcollege.edu/Athletics/components/com_news/loselma.htm valium online] [http://www.howardcollege.edu/Athletics/components/com_news/grlawshe.htm cheap vicodin] [http://www.howardcollege.edu/Athletics/components/com_news/katuggle.htm free audiovox ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/grgilles.htm payday loan] [http://www.howardcollege.edu/Athletics/components/com_news/brmishle.htm cheap lorazepam] [http://www.howardcollege.edu/Athletics/components/com_news/owevans.htm cheap ephedra] [http://www.jeffco.edu/ctl/help/tudy.htm free telus ringtones] [http://esi.mit.edu/help/img/zixy.htm cheap lotrel] [http://esi.mit.edu/help/img/wyhusu.htm xanax online] [http://www.jeffco.edu/ctl/help/kusuhot.htm pantech ringtones] [http://www.jeffco.edu/ctl/help/lynyx.htm hgh] [http://www.howardcollege.edu/Athletics/components/com_news/chmarley.htm cheap zoloft] [http://www.jeffco.edu/ctl/help/kuxop.htm free alcatel ringtones] [http://www.jeffco.edu/ctl/help/tevun.htm free nextel ringtones] [http://esi.mit.edu/help/img/wewije.htm free samsung ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/hekathy.htm free caller ringtones] [http://esi.mit.edu/help/img/rybyhif.htm skelaxin online] [http://www.howardcollege.edu/Athletics/components/com_news/comousal.htm lortab] [http://www.howardcollege.edu/Athletics/components/com_news/caprocto.htm cheap fluoxetine] [http://www.howardcollege.edu/Athletics/components/com_news/motrusty.htm cheap codeine] [http://esi.mit.edu/help/img/wizupuh.htm valium online] [http://www.jeffco.edu/ctl/help/lunepix.htm alprazolam online] [http://www.howardcollege.edu/Athletics/components/com_news/fasauer.htm cheap oxycontin] [http://www.howardcollege.edu/Athletics/components/com_news/sphepshi.htm cheap valtrex] [http://esi.mit.edu/help/img/zywy.htm free telus ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/risprott.htm buy protonix] [http://esi.mit.edu/help/img/gyfywit.htm turkey ringtones] [http://esi.mit.edu/help/img/suhoz.htm cheap ionamin] [http://www.howardcollege.edu/Athletics/components/com_news/inronny.htm replica watches] [http://www.howardcollege.edu/Athletics/components/com_news/tiraglan.htm cheap ionamin] [http://www.jeffco.edu/ctl/help/pifo.htm free humour ringtones] [http://esi.mit.edu/help/img/josiv.htm vocal ringtones] [http://www.jeffco.edu/ctl/help/nepu.htm cheap meridia] [http://www.jeffco.edu/ctl/help/bitib.htm cheap ritalin] [http://www.howardcollege.edu/Athletics/components/com_news/cafurlon.htm cialis online] [http://www.howardcollege.edu/Athletics/components/com_news/buottrie.htm free funny ringtones] [http://esi.mit.edu/help/img/ticece.htm free caller ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/stbumgar.htm cheap cyclobenzaprine] [http://www.howardcollege.edu/Athletics/components/com_news/gajessic.htm cheap meridia] [http://esi.mit.edu/help/img/hujyfe.htm cheap ativan] == 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 04:44, 12 September 2007

macromedia flash pro spogliarellista caminetto legno sexygirls ragazza lamezia terme magazzini gucci roulottes titti imbranato tiziano ferro glande fratello public enemy revolverlution tour 2003 cavo usb 2 0 folliero clip mini lombardia batteria nikon 8400 sony cybershot dsc w7 dj caspar cha cha slide mp3 ferrari f355 berlinetta calde labbra bigiotteria molle attore trans per film porno www rechevere com www renatozero it video dei gemelli diversi x700 256 le generali a pescara questi posti davanti al mare pensini maturita matematica andalusia tour milano list service srl php 5 mysql campania www gogle com ar www 101 juegos com the scientist dass a mio padre fax olivetti 270 v amp bass motorcycle diaries rex rd 83 v halley edmund www bolsa de trabajo com top phone motorola razr italia lodate dio home theatre 300w traduzione testi on line il nintendo entertainment system diventa portatile tv lcd 25 macario dainese shard noli fan stylian nokia atx grischun vivo calendario mascia ferro pirmasens cazzo in culo trans duello a thunder rock monsters of metal vol 3 f 100 talenta domuno scozia sting desert rose cansinos assens rafael amplificatore puccini napoli centrale in concerto archos mp3 player cerca email leslie howard tragic bus soluzione syberia 2 nuova panda km0 airport inc inno piave old fat naked mmcrs 512 if tomorrow never come ronan keating cd musica falmouth tardone arrapate tim card first real estate batterie siemens c55 roms neogeo martina colombari max 2004 termometro chicco no touch song for a guy metrebus televisore thomson lcd hi pix camere letto game usb catwoman in azione z57 casio mac donalds tastiera e mouse senza fili bluetooth come farlo godere da morire diflucan online cheap metformin free retro ringtones cheap provigil buy levitra lortab online humour ringtones cheap didrex vigrx online cheap meridia cheap zovirax free retro ringtones sonyericsson ringtones prozac free sony ericsson ringtones country ringtones levitra online continentalairlines adderall online free disney ringtones buy carisoprodol free tv ringtones free monophonic ringtones hoodia online azithromycin cheap accutane free jazz ringtones buy metformin cheap propecia christian ringtones free ringtones cheap phendimetrazine buy bontril cheap azithromycin monophonic ringtones fly ringtones free philips ringtones cheap skelaxin phendimetrazine cephalexin metronidazole online morphine cheap zyban free caller ringtones cheap ritalin cheap ativan midi ringtones effexor jazz ringtones free voice ringtones rave ringtones ultram hoodia online tenuate cheap valium cheap soma xenical polyphonic ringtones cheap cialis celebrex online valium online cheap vicodin free audiovox ringtones payday loan cheap lorazepam cheap ephedra free telus ringtones cheap lotrel xanax online pantech ringtones hgh cheap zoloft free alcatel ringtones free nextel ringtones free samsung ringtones free caller ringtones skelaxin online lortab cheap fluoxetine cheap codeine valium online alprazolam online cheap oxycontin cheap valtrex free telus ringtones buy protonix turkey ringtones cheap ionamin replica watches cheap ionamin free humour ringtones vocal ringtones cheap meridia cheap ritalin cialis online free funny ringtones free caller ringtones cheap cyclobenzaprine cheap meridia cheap ativan == 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