Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HolyJaw

macrumors newbie
Original poster
Sep 27, 2007
11
0
Today, 9/27/07, I bought an AppleTV, software version 1.0, (yes, zero). I wanted to play AVI and DIVX, etc., so I did some research, leading me to some modding/hacking guides.

I followed Engadgets guide here:

http://www.engadget.com/2007/03/23/how-to-upgrade-the-drive-in-your-apple-tv/

On how to open up the ATV, connected the HD to my MBP via IDE>USB that I bought at Fry's, and did some work on it...

http://www.engadget.com/2007/04/10/how-to-play-divx-and-xvid-on-your-apple-tv/

Code:
Enable SSH on the Apple TV (requires a Mac)

Remove the drive the same way we did to expand the drive and plug it into a Mac, then launch Terminal. Our first command is going to copy the Intel version of ssh daemon from our Mac to the ATV drive. If you are on a Intel Mac copy it from your sbin directory to the ATV's OSBoot/usr/sbin/ directory. If your browser causes the line to wrap be sure to enter it on one line in the Terminal.

sudo cp /usr/sbin/sshd /Volumes/OSBoot/usr/sbin/

You can also copy it from your downloads directory:

cp /Users/Engadget/Downloads/sshd /Volumes/OSBoot/usr/sbin/

Make sure sshd is executable
sudo chmod +x /Volumes/OSBoot/usr/sbin/sshd

Backup the original ssh.plist to our home directory:

cp /Volumes/OSBoot/System/Library/LaunchDaemons/ssh.plist ~

Now copy the new one from our downloads directory to the Apple TV drive:

cp /Users/Engadget/Downloads/ssh.plist /Volumes/OSBoot/System/Library/LaunchDaemons/

Before we dismount the drive to reinstall into the Apple TV, let us see if we need to clean up after Spotlight again.
Perform these command and check if the .Spotlight files are on the partitions by typing:

ls -a /Volumes/Media

and

ls -a /Volumes/OSBoot

Now, if you do see those .Spotlight files, use the following command to remove them. But be careful, this is the dreaded rm -rf command, which has the potential to ruin everything.

sudo rm -rf /Volumes/OSBoot/.Spotlight-V100

or

sudo rm -rf /Volumes/Media/.Spotlight-V100

Now dismount the drive and install it in your Apple TV. If you need to give your friend's Mac back, feel free. From here on out you can fly PC on this op, if you so choose.

Three things:

When I first did the sudo command I got a prompt telling me sudo could fubar everything and asked for my admin password, so I gave it. Then terminal gave me a new empty line without confirmation (as I'm used to) so I repeated the command again and once more, only to realize that it wouldn't give me confirmation. I assume this would not harm my ATV.

I got halfway through the instructions to

Before we dismount the drive to reinstall into the Apple TV, let us see if we need to clean up after Spotlight again.
Perform these command and check if the .Spotlight files are on the partitions by typing:

ls -a /Volumes/Media

and

ls -a /Volumes/OSBoot

Now, if you do see those .Spotlight files, use the following command to remove them. But be careful, this is the dreaded rm -rf command, which has the potential to ruin everything.

sudo rm -rf /Volumes/OSBoot/.Spotlight-V100

or

sudo rm -rf /Volumes/Media/.Spotlight-V100

I did see the .Spotlight folders in both partitions, so I followed the instructions with the rm -rf commands.. the potentially dangerous ones. I believe this might be where I bricked it.

Then after following the rest of the instructions I got to the

Now dismount the drive and install it in your Apple TV.

I was unsure as to HOW to dismount, so I looked up some terminal/bash commands and found that

diskutil unmount disk1 (it was /dev/disk1/) should cover it. So I typed that, and to ensure that it was unmounted, i did

diskutil list.

It showed disk1 and it's partitions as still being there as if the command didn't work. So I tried

diskutil eject disk1 and
diskutil list

with the same result. I tried this over and over unsure of how to proceed until finally my stupid little brain said, hey it must be OK now, go ahead and just disconnect. THIS I figure is wherein the problem lies.

Once I put everything back together properly (all scews in the exact placement as they were before, even) I plugged in the ATV... now the light is flashing

blank, white, blank, yellow, repeat.

The TV is receiving no signal, and I can't

ssh -1 frontrow@AppleTV.local

I figure this is sign 1 of Brick-Town.

I hope to get an answer soon, otherwise... well I hate to have anyone know that I just bought a $300 brick.
 
Only problem is ATV is completely off the grid. I copy/pasted it exactly but to make sure I checked the ssh usage in bash... -1 is the first flag... but -L is there too... except -L only returns a usage error... -1 returns...

ssh: AppleTV.local: No address associated with nodename
 
ssh -l frontrow@AppleTV.local

returns...

holyjaw:~ HolyJaw$ ssh -l frontrow@AppleTV.local
usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]

It says right on the fifth line that -l followed by a login name (frontrow@AppleTV.local?) should be acceptable... so why does it return a usage error?

And why is my ATV still blinking white and yellow? =[
 
Thanks so far--

I went in today and retraced all my steps, found that the .Spotlight- folders were still there so I got rid of 'em using the "dangerous" method. Put everything back together and voila, perfect!
 
Have you tried to run a diagnostic on it yet? Push and hold menu and the (-) button for 10 seconds. This should force it to boot on the other partition which holds a factory restore OS.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.