@rmz weBLOG

@rmz weBLOG

Apple ‘aficionados’

@rmz weBLOG RSS Feed
 
 
 
 

Build AppleTV Take2 harddrive

For someone who accidentally formatted or bricked TV hard drive (like I did), here are steps that work for me on Leopard (10.5.4)

  • Either you got new hard drive or bricked hard drive, you got to connect hard drive to you mac
  • Use diskutil list to see your disk partition (we need to know where an TV hard drive is)
  • Here is what proper partitions should look like when you finish (please note /dev/disk1 as you TV hard drive)

  • Then delete and re-create partition table using command below in Terminal

gpt destroy /dev/disk1

gpt create /dev/disk1

  • Now we need to partition harddrive, first create EFI partition

gpt add -b 40 -i 1 -s 409600 -t efi /dev/disk1

  • Then create Apple_Recovery partition

gpt add -b 409640 -i 2 -s 819200 -t 5265636F-7665-11AA-AA11-00306543ECAC /dev/disk1

  • Next is OSBoot which is where the OSX fit in

gpt add -b 819240 -i 3 -s 1843200 -t hfs /dev/disk1

  • The last partition is Media which is all the movies and songs are located. This partition you need to fill in the *size* part your self by looking at the end size using command

diskutil unmountDisk /dev/disk1sudo gpt show /dev/disk1
gpt add -b 1843240 -i 4 -s *size* -t hfs /dev/disk1

  • After partitioning, we need to format OSBoot and Media partition in HFS+ Format

diskutil eraseVolume "Journaled HFS+" OSBoot /dev/disk1s3

diskutil eraseVolume "Journaled HFS+" Media /dev/disk1s4

diskutil unmountDisk /dev/disk1

  • Now you ready to restore OSBoot partition to working state. Download the latest AppleTV Take 2 software by checking link here http://mesu.apple.com/version.xml
  • Then you can use Disk Utility to easily restore OSBoot partition
  • Set the source to the newly AppleTV image that you just downloaded (2Z694-5428-3.dmg), and drag the OSBoot partition to Destination. After that press “Restore” button.

Picture 1.jpg

  • This process took about 3 minutes, after this step you’re done.
  • Connect TV hard drive back to TV
  • Once you startup the TV, it will create EFI image in TV automatically
  • I did the Factory restore to make sure that everything is working fine.
  • Now your TV is ready to use (and to be hacked ^_^)

Thanks for http://wiki.awkwardtv.org/wiki/Prepare_a_Hard_Drive and http://smallnum.blogspot.com/2008/02/re-creating-apple-tv-from-scratch.html for a very useful information.

8 Responses to “Build AppleTV Take2 harddrive”

  1. 1
    Neil O'Connor:

    Awesome guide! I just recovered my apple TV after some wreckless hackery pokery. I think your block counts are a little out for the last two gpt adds though. Should be:

    gpt add -b 1228840 -i 3 -s 1843200 -t hfs /dev/disk1
    gpt add -b 3072040 -i 4 -s -t hfs /dev/disk1

  2. 2
    Niels Baudewig:

    great guide!!! perfect!! keep up the good work!!!

  3. 3
    creat card:

    Very Nice Site! Thanx!
    http://excellent-credit-card.blogspot.com

  4. 4
    Andrew:

    LOL
    that doesn’t even make any sense!

  5. 5
    Glenn:

    gpt add -b 819240 -i 3 -s 1843200 -t hfs /dev/disk1 returns

    “gpt add: /dev/disk1: error: no space available on device”

    Which is odd, its the original 160GB HDD that came with the AppleTV.

  6. 6
    Glenn:

    Looks like you need to unmount the disk after each step to avoid that “no space available” message.

    # sudo diskutil unmountDisk /dev/disk1
    Unmount of all volumes on disk1 was successful

    # gpt add -b 888872 -i 3 -s 1843200 -t hfs /dev/disk1
    /dev/disk1s3 added

  7. 7
    Brian P:

    Every time I try to execute a command in Terminal I get an “Permission Denied” Error. How do I fix that?

  8. 8
    Admin:

    Try using ’su’ in front of the command to gain root access.

Leave a Reply

Tags

My Network

Twitter

    Google Ads

    Recent Posts

    Archives

     

    July 2008
    M T W T F S S
    « May   Aug »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  

    Recent Posts

    Live Feed

    Google Connect