Difference between revisions of "Enable SSH Without Opening the Apple TV"
(New page: ==Parts Needed== *External USB Drive *partition.img repair.img and efi.img from an apple tv drive ==The Steps== <font color=red>I AM WAITING FOR SOMEONE TO DO A SECONDARY CONFIRMATION PLE...) |
(→The Steps) |
||
Line 16: | Line 16: | ||
#Convert the new RW.img back into a readonly compressed image | #Convert the new RW.img back into a readonly compressed image | ||
hdiutil convert -format UDZO -o NEWOS.dmg RW.dmg | hdiutil convert -format UDZO -o NEWOS.dmg RW.dmg | ||
− | #Copy the NEWOS image onto the repair image cp NEWOS.dmg /Volumes/Recovery/OS.dmg | + | #Copy the NEWOS image onto the repair image |
− | + | cp NEWOS.dmg /Volumes/Recovery/OS.dmg | |
+ | #unmount the recovery image | ||
#Now we are going to setup the external drive: | #Now we are going to setup the external drive: | ||
dd if=partition.img of=/dev/disk# bs=1024k count=100 | dd if=partition.img of=/dev/disk# bs=1024k count=100 |
Revision as of 17:19, 27 March 2007
Parts Needed
- External USB Drive
- partition.img repair.img and efi.img from an apple tv drive
The Steps
I AM WAITING FOR SOMEONE TO DO A SECONDARY CONFIRMATION PLEASE REMOVE THIS NOTE IF YOU HAVE CONFIRMED We are going to modify the repair image and the os that it installs when you factory reset
- Mount repair.img on your Intel Mac OS desktop/laptop
- Convert the existing OS.img to one that is writeable:
hdiutil convert -format UDRW -o RW.dmg /Volumes/Recovery/OS.dmg
- Mount the new RW.img
- Copy sshd and the plist file onto the new OSBoot you created
cp /System/Library/LaunchDaemons/ssh.plist /Volumes/OSBoot/System/Library/LaunchDaemons/ssh.plist cp /usr/sbin/sshd /Volumes/OSBoot/usr/sbin/sshd
- Convert the new RW.img back into a readonly compressed image
hdiutil convert -format UDZO -o NEWOS.dmg RW.dmg
- Copy the NEWOS image onto the repair image
cp NEWOS.dmg /Volumes/Recovery/OS.dmg
- unmount the recovery image
- Now we are going to setup the external drive:
dd if=partition.img of=/dev/disk# bs=1024k count=100 dd if=EFI.img of=/dev/disk#s1 dd if=repair.img of=/dev/disk#s2
- plug in the usb drive to the appletv after its booted
- press menu and - on the remote
- then run factory restore