Results 1 to 5 of 5
Discuss Problems with 2.3.1 and Patchstick after HDD upgrade at the AppleTV 1 - Hackint0sh.org; I'm new here, and I've done some searching, but I can't seem to figure out ...
  1. #1
    Newbie Array

    Join Date
    Apr 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Problems with 2.3.1 and Patchstick after HDD upgrade

    I'm new here, and I've done some searching, but I can't seem to figure out this problem.

    I bought a 40GB ATV not too long ago. I successfully "patchsticked" using 1.0b10, played around with some of the cool things available, then decided to upgrade the HDD to 160gb.

    The upgrade didn't go smoothly - after piecing together steps from a few different online step-by-steps, I was up and running, and re-syncing my iTunes library.

    So, my HDD upgrade is good enough for basic functionality, though I suspect an issue exists.

    I cannot upgrade from 2.3 to 2.3.1. I get the "fuel gauge" but nothing happens, it just says upgrade failed. Diagnostics are clean.

    Since everything else seemed ok, I thought I'd update via patchstick again, if for no other reason to enable ssh, and silence the 2.3.1 upgrade (whenever it prompts for upgrade, I lose "remote" control via my phone).

    Now the patchstick won't work! I used the same USB stick I used last time, and the same version of atvusb-creator from Google Code. The error I get, right at the end, is "could not mount /OSBoot".

    I'm suspect that this issue is related to my inability to upgrade to 2.3.1, that somehow my partitioning scheme isn't matching up to what Apple's (or patchstick's) process is looking for.

    When I can, I'll post gpt/diskutil info from both the original and the new larger HDD, but in the meantime, maybe someone has an idea?

    Thanks in advance...



  2. #2
    ash
    ash is offline
    Senior Professional Array

    Join Date
    Mar 2008
    Posts
    273
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    20

    Default

    Try to use nito's AtvPwn to patch your ATV with the 2.3.1 update.

  3. #3
    Newbie Array

    Join Date
    Apr 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Doesn't atvpwn require ssh? I can't get there yet.

    Anyway, I think I've found the problem, though I don't yet know how to fix it.

    Here is what my original 40GB drive looks like via diskutil:

    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *37.3 Gi disk3
    1: EFI 34.0 Mi disk3s1
    2: Apple_Recovery 400.0 Mi disk3s2
    3: Apple_HFS OSBoot 900.0 Mi disk3s3
    4: Apple_HFS Media 35.8 Gi disk3s4

    Here is what my modified 160GB (bad) drive looks like via diskutil:

    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *149.1 Gi disk3
    1: Apple_Recovery 400.0 Mi disk3s1 <-- Should be disk3s2
    2: Apple_HFS OSBoot 900.0 Mi disk3s2 <-- Should be disk3s3
    3: EFI 200.0 Mi disk3s3 <-- Should be disk3s1
    4: Apple_HFS Media 147.4 Gi disk3s4

    I think the problem is due to the reordered partitions (note my <-- notes). How did this happen? I've just rebuilt a couple of times, so now I know.

    After using the guide here (Prepare a Hard Drive - AwkwardTV), my drive (new 160) looks like this:

    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *149.1 Gi disk3
    1: EFI 34.0 Mi disk3s1
    2: Apple_Recovery 400.0 Mi disk3s2
    3: Apple_HFS OSBoot 900.0 Mi disk3s3
    4: Apple_HFS 147.7 Gi disk3s4

    Note that partition #4 (disk3s4) has no NAME. I theorized that this was the problem, and named it via Disk Utility (the GUI app). It turns out that's what reordered my partitions.

    Here's the trouble, though. The 160GB drive, as seen above, will not "recover" in my AppleTV. I try to do the factory restore, and it won't work. If I "name" the unnamed partition Media, I know that I will be able to complete the factory restore, but won't be able to upgrade to 2.3.1 or use the patchstick, likely due to the reordered partitions.

    I'm going to keep looking for the fix, but in the meantime thought I'd post my findings here...

  4. #4
    Newbie Array

    Join Date
    Apr 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    When I do the 'gpt add' on i -3, OSX mounts OSBoot. When I do the 'gpt add' on i -4, it doesn't mount Media. As best as I can figure, that's my problem, though I could be off.

    Here are the commands I used to build it the first time:

    diskutil unmountDisk /dev/disk3
    sudo gpt destroy /dev/disk3
    sudo gpt create /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt add -b 40 -i 1 -s 69632 -t efi /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt add -b 69672 -i 2 -s 819200 -t 5265636F-7665-11AA-AA11-00306543ECAC /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt add -b 888872 -i 3 -s 1843200 -t hfs /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt show /dev/disk3

    start size index contents
    0 1 PMBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 69632 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    69672 819200 2 GPT part - 5265636F-7665-11AA-AA11-00306543ECAC
    888872 1843200 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
    2732072 309849703
    312581775 32 Sec GPT table
    312581807 1 Sec GPT header

    diskutil unmountDisk /dev/disk3
    gpt add -b 2732072 -i 4 -s 309849703 -t hfs /dev/disk3

    sudo dd if=efi.dmg of=/dev/disk3s1 bs=1m
    sudo dd if=recovery.dmg of=/dev/disk3s2 bs=1m

    I built it again, keeping the "start" and "size" values exactly the same as the original 40G drive (as opposed to following the doc):

    diskutil unmountDisk /dev/disk3
    sudo gpt destroy /dev/disk3
    sudo gpt create /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt add -b 40 -i 1 -s 69632 -t efi /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt add -b 69672 -i 2 -s 819152 -t 5265636F-7665-11AA-AA11-00306543ECAC /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt add -b 888824 -i 3 -s 1843192 -t hfs /dev/disk3
    diskutil unmountDisk /dev/disk3
    sudo gpt show /dev/disk3

    start size index contents
    0 1 PMBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 69632 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    69672 819200 2 GPT part - 5265636F-7665-11AA-AA11-00306543ECAC
    888872 1843200 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
    2732072 309849703
    312581775 32 Sec GPT table
    312581807 1 Sec GPT header

    diskutil unmountDisk /dev/disk3
    gpt add -b 2732016 -i 4 -s 309849759 -t hfs /dev/disk3

    sudo dd if=efi.dmg of=/dev/disk3s1 bs=1m
    sudo dd if=recovery.dmg of=/dev/disk3s2 bs=1m

    After the 2nd build, this was the "info" from the disk:

    david-moores-macbook:AppleTV Dave$ sudo gpt show /dev/disk3 start size index contents
    0 1 PMBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 69632 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    69672 819152 2 GPT part - 5265636F-7665-11AA-AA11-00306543ECAC
    888824 1843192 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
    2732016 309849759 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
    312581775 32 Sec GPT table
    312581807 1 Sec GPT header

    and:

    /dev/disk3
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *149.1 Gi disk3
    1: EFI 34.0 Mi disk3s1
    2: Apple_Recovery 400.0 Mi disk3s2
    3: Apple_HFS 900.0 Mi disk3s3
    4: Apple_HFS 147.7 Gi disk3s4


    After ejecting, unplugging, and plugging in the disk again, "3" mounted as OSBoot (again), but still no Media. As mentioned, this drive will not "factory restore" in my AppleTV.

    HELP!

  5. #5
    Newbie Array

    Join Date
    Apr 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Got it fixed. After using so many guides that broke at different points, I went back to the first (Easier Way To Upgrade Your Apple TV Hard Drive | DIY Spirit). This guide neglects to tell you that you must eject, or unmount, before using gpt, but once you know that (which you learn from the other guides), this guide works. That's why I like this stuff!


 

 

Similar Threads

  1. Help problems after try upgrade to 3.13
    By hotwheels in forum iPhone 3GS
    Replies: 4
    Last Post: 02-09-2010, 04:23 AM
  2. Replies: 0
    Last Post: 03-08-2008, 08:01 PM
  3. problems with patchstick install
    By winstonhouse in forum AppleTV 1
    Replies: 4
    Last Post: 02-27-2008, 03:09 AM
  4. Replies: 1
    Last Post: 02-18-2008, 06:51 PM
  5. Problems with creating patchstick
    By jaoa49 in forum AppleTV 1
    Replies: 0
    Last Post: 12-27-2007, 10:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 03:33 AM.
twitter, follow us!