Apple TV - Recover from nothing Take 2

Comments

I keep getting "gpt add: /dev/disk1: error: entry at index 1 is not free" at step #9 any ideas why?
I actually am having trouble with several parts of this tutorial. At step 7, I can get the first step to work but the second gives "Disk Utility Tool
Usage:
After you get to step 7, please post the result of your partition status by running:
gpt show /dev/disk1

We should be able to figure something out from that. Make sure the disk is unmounting prior to this and that you used the correct numbers in step 6. You should probably make sure spotlight is disabled as well.

Ok first off... this will NOT work in Leopard! I have much more success not that I have run this in Tiger however I still am having a few problems first I want to make sure that step 10 should be executed like this...
sudo bless --folder=/Volumes/OSBoot/System/Library/CoreServices --file=/Volumes/OSBoot/System/Library/CoreServices/boot.efi --setBoot
(all on one line) if so I receive in response,
No mount point for /Volumes/OSBoot/System/Library/CoreServices
Can't determine mount point of '/Volumes/OSBoot/System/Library/CoreServices' and ''

Any ideas what this could mean?

[this is good]
Thanks for all your hard work in putting together this great article.
I am also having the same problem as chris.

Thanks in advance

ASHman
I hope we didn't scare you off, I just hope to get a better idea of how you got these steps to work on you system... any help would be greatly appreciated...
Apparently the OSBoot partition disappears when doing step 9.
Does anyone have an idea why?

/Marcus
Thank you all for your comments. I am going to go back through, except this time using the Take2 image and doing this on Leopard. I will update this as I proceeed.

[this is good]
Any update on Take 2 and Leopard? My ATV bit the dust (flashing question mark) when I tried to run the Take 2 upgrade, and now I'm just trying to restore it from nothing but I have Leopard. What needs to be done differently?
Well, I've been at this for hours and have gotten nowhere. The real problems (doing this with Leopard) start in step #7. When I run eraseVolume, diskutility for some reason starts moving partitions around. The OSBoot and Media partitions you've created at s3 and s4 get moved to s2 and s3. It also creates its own EFI partition at s1. The rest of the guide, even if I adjust for the new partition numbers and try to stick the recovery partition out in s4, just won't work. The OSBoot loses it's label at some point and I'm so tired that I'm starting to lose track of what I have/haven't done. Hopefully someone can offer some pointers really soon...I miss my Apple TV already!!
[this is good]
I posted a draft update to the original article that will hopefully help out a bit for doing this on Leopard and using the Take 2 image.
[this is good]
Ok I think I'm close, few questions...
1."sudo dd if=/Users/username/Desktop/OS.dmg of=/dev/disk1s3 bs=1m"
The file downloaded is actually named, 2Z694-5274-109.dmg, I take it you have renamed the file to OS.dmg?
2. the last step failed, "Can't determine mount point of..." although, it is difficult from the blog to tell if "bless --folder="/Volumes/OSBoot 1/System/Library/CoreServices" --file="/Volumes/OSBoot 1/System/Library/CoreServices/boot.efi" --setBoot" is all one line I believe it is.
I think we are close!

Chris,

1. Yes, sorry I renamed my dmg to OS.dmg.
2. This is all one line. You may want to double check that OSBoot 1 is correct for your AppleTV drive, but also check that the disk is mounted at the time you do this. I think I said to unmount it after doing the Media partition, but forgot to mention you need to mount it again.


Ok I also renamed the .dmg so that must have executed correctly, on my system it is disk 1 so it should be OSBoot 1 as well correct? and as far as formatting the media partition, it should be journaled? I also thought it shoud be mounted so i unplugged the external drive and then tried to bless it but no dice, but to mount correctly would I issue "diskutil mountDisk /dev/disk1" right after "sudo dd if=/Users/username/Desktop/OS.dmg of=/dev/disk1s3 bs=1m" ?
thanks again for all your help!

so close I can taste it!
That sounds right, but you should be ok if you can just unplug / plug the drive back in and the OSBoot and Media partitions should both mount to the desktop.

When (if) they do, see if you can click through the finder and see the System/Library/CoreServices/boot.efi file on your OSBoot partition.

Also, in the terminal, if you type "cd /Volumes" and then do an "ls" you should see the "MAC" volume (your Intel Mac) and the other Volumes of which OSBoot 1 is in the list for me, maybe something else for you.
Ok I'm still having a problem, when is a good time to find you online to be able to chat with you?
[this is good]
Beau, followed your tips here and all work except when you copy over the OS.dmg. Changes partition name from OSBoot to disk1s2 and will not mount. Any suggestions?
[this is good]
I found a good resource that has aided me in a complete factory restore where everything works, including the recovery partition. It's not the best organized article, but it does work if you follow it precisely.

http://code.google.com/p/atv-bootloader/wiki/ATVBackup

Post a comment

Already a Vox member? Sign in