Talk:Create Patchstick in Tiger
Prepare Patchstick on ATV1.1?
I've since lost access to my friend's MAC that I made the patchstick for 1.1 on. Is it possible to create the patchstick for 2.0.2 on a patched ATV 1.1?
Requires Intel Mac?
Looks like this requires it be run on an Intel Mac? When I ran it on a PPC G5 I got:
Copying System Extentions... cp: /System/Library/Extensions/AppleACPIPlatform.kext: No such file or directory cp: /System/Library/Extensions/IOPlatformPluginFamily.kext: No such file or directory cp: /System/Library/Extensions/IOACPIFamily.kext: No such file or directory cp: /System/Library/Extensions/IO80211Family.kext: No such file or directory cp: /System/Library/Extensions/AppleSMC.kext: No such file or directory cp: /System/Library/Extensions/AppleSMBIOS.kext: No such file or directory cp: /System/Library/Extensions/AppleRTC.kext: No such file or directory cp: /System/Library/Extensions/AppleHPET.kext: No such file or directory cp: /System/Library/Extensions/AppleHDA.kext: No such file or directory cp: /System/Library/Extensions/AppleEFIRuntime.kext: No such file or directory cp: /System/Library/Extensions/AppleAPIC.kext: No such file or directory cp: /System/Library/Extensions/AppleIntelCPUPowerManagement.kext: No such file or directory
This isn't surprising, but assuming it is the case, it should probably say as much in the article?
--Kazoolist 05:58, 24 February 2008 (CET)
Change partition size?
I ran the script as is, and got this error:
cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/Resources/pt.lproj/InfoPlist.strings: No space left on device cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/Resources/pt_PT.lproj/InfoPlist.strings: No space left on device cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/Resources/ru.lproj/InfoPlist.strings: No space left on device cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/Resources/Spanish.lproj/InfoPlist.strings: No space left on device cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/Resources/ko.lproj/InfoPlist.strings: No space left on device cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/CodeResources: No space left on device cp: /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/A/Kerberos: No space left on device cp: symlink: A: No space left on device cp: symlink: Versions/A/CodeResources: No space left on device cp: symlink: Versions/Current/Headers: No space left on device cp: symlink: Versions/Current/Kerberos: No space left on device cp: symlink: Versions/Current/Resources: No space left on device
SOOOO....I changed the line in the script from: diskutil partitionDisk $THEDISK 2 GPTFormat HFS+ Patchstick-root 80M HFS+ Patchstick 40M TO: diskutil partitionDisk $THEDISK 2 GPTFormat HFS+ Patchstick-root 120M HFS+ Patchstick 80M
Re-ran, and all was good!
Until I got to my appletv. When I boot up, I get an error about loading this extension: com.apple.driver.AppleACPIPlatform
this comes after a slew of acpi undefined errors...
"Find which disk number the thumbdrive is. THIS IS IMPORTANT, SELECTION OF WRONG DRIVE COULD ERASE DATA."
Great. Now how do I find out what disk it is? Maury Markowitz 21:16, 27 February 2008 (CET)
In Terminal/iTerm, run the df command. The disk name is on the left and the volume name is on the right. The disk name will be something like /dev/disk8s1. You want just the /dev/disk8 part. — Reid 01:37, 5 March 2008 (EST)
Here is another option which is even easier
1) Unplug the USB drive
2) Run the script, note what drives it finds
3) Plug in the USB drive
4) Run the script, look for the new one, that is the one you want.
Referred Files don't give a working Patchstick for me
I used an Intel Mac-mini and a 1GB USB-Stick and followed the suggested procedure
- 2.0 Firmwareupdate on a stock ATV
- made a patchstick using the files mentioned in this article (the procedure worked though)
- Booting with the patchstick
- on of the error-messages told something like "com.apple.drivers.AppleTVRTL8139 not mach-o"
- ended up in "waiting for root"
I also tried Patchstick1.0.zip (MD5 Checksum: 3d9fdb1eb7adc7615f920d046d8caf11) which is mentioned here, with the same result.
Does the Patchstick work at all with Take2 ?
Mz 15:48, 4 March 2008 (CET)
Where does "/stuff" come from?
I tried booting from the patchstick, got the service menu, restarted. But alas, no ssh goodness.
I notices in the scripts many references to "/stuff" — how does this get mounted? It isn't the patchstick, is it? When it's booted, wouldn't it just be "/"?
Reid Wed Mar 5 2008 01:41 -0500
The "stuff" folder is in the 80M Patchstick-root partition. Like you, I saw references to it on the screen when my Patchstick was booting but all it was doing was complaining about not finding files for ssh, etc. Turns out the patchstick/leopard creation script didn't copy them there for some reason, so I had to do it manually.
The tricky part though, is the script changes the GUID on the Patchstick-root partition so OS X no longer recognizes it as mountable. What I did was use mount_nfs from the terminal to mount it and then I manually copied all the files needed for SSH into stuff/ssh. Unmounted it, and booted it on the Apple TV and it worked. Hope that helps.
Lostorbit 16:31, 14 March 2008 (CET)
I can't seem to get the instructions to work. See the terminal output below. This is on intel mac mini:
--- Generation of Apple TV Patchstick ---
Created by Marook. Thanks to: MacTijn, Alan_Quatermain & ericIII
Are you sure you want to partition disk /dev/disk1? [yes|no]yes
Started partitioning on disk disk1 Creating Partition Map
5% ..Formatting Disk 10% ..Formatting Disk 100% ..
Finished partitioning on disk disk1 /dev/disk1
#: type name size identifier 0: GUID_partition_scheme *480.4 MB disk1 1: Apple_HFS Patchstick-root 80.0 MB disk1s1 2: Apple_HFS Patchstick 400.3 MB disk1s2 Patitions done.
Creating System folders... mkdir: /Volumes/Patchstick-root/sbin: File exists mkdir: /Volumes/Patchstick-root/etc: File exists mkdir: /Volumes/Patchstick-root/dev: File exists mkdir: /Volumes/Patchstick-root/OSBoot: File exists mkdir: /Volumes/Patchstick-root/stuff: File exists ln: /Volumes/Patchstick-root/bin/sbin: File exists Copying System Extentions... cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/IOKit.framework/Versions/Current with non-directory /System/Library/Frameworks/IOKit.framework/Versions/Current cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/IOKit.framework/Resources with non-directory /System/Library/Frameworks/IOKit.framework/Resources cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/CoreFoundation.framework/Versions/Current with non-directory /System/Library/Frameworks/CoreFoundation.framework/Versions/Current cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/CoreFoundation.framework/Resources with non-directory /System/Library/Frameworks/CoreFoundation.framework/Resources Copying System files... Adding Kerberos... cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Versions/Current with non-directory /System/Library/Frameworks/Kerberos.framework/Versions/Current cp: cannot overwrite directory /Volumes/Patchstick-root/System/Library/Frameworks/OSXFrames/Kerberos.framework/Resources with non-directory /System/Library/Frameworks/Kerberos.framework/Resources Copying Patchstick files...
- Perian not found in /Library/QuickTime. Skipping...
Changing Patchstick-root to Apple TV Mode... Disk /dev/disk1 unmounted gpt remove: /dev/disk1: 1 partition(s) removed Disk /dev/disk1 unmounted Disk /dev/disk1 unmounted
Your disk /dev/disk1 is now unmounted and ready to patch your AppleTV. Enjoy... :-)
What's the deal with the boot.efi dmg?
After waiting for months, I decided today to take the plunge and build a Take 2 patch stick. However, as I was going through the instructions, I found that th link to the boot.efi disk image on Apple's servers no longer works. I tired searching for it, but no dice. Where might I find it now? Is there some other workaround?
-- all releases before 2.0.2 have been removed. 2.0.2 can be found here: http://mesu.apple.com/data/OS/061-4632.2080414.gt5rW/2Z694-5428-3.dmg