Talk:Create Patchstick in Leopard

From AwkwardTV
Revision as of 20:18, 7 September 2008 by Pb30 (talk | contribs) (Talk:Patchstick/Leopard moved to Talk:Create Patchstick in Leopard)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Maybe IOACPIFamily.kext and OSvKernDSPLib.kext come from a previous combo update? I'm downloading 10.4.8, 10.4.6, and 10.4.5 to dig around in. (10.4.4 and prior were PPC-only as far as I can tell)

well shit... nothing in either of those three updates. -ProfessaFresh 15:02, 20 February 2008 (CET)

That was to be foreseen: a combo updates makes the update from a base version (10.4.0)... so a 10.4.9 combo has everything from 10.4.0 onwards. --Tego 20:28, 20 February 2008 (CET)

I'm guessing that the errors below shouldn't happen?

Changing Patchstick-root to Apple TV Mode...
gpt show: unable to open device '/dev/disk2s1': No such file or directory
gpt show: unable to open device '/dev/disk2s1': No such file or directory
Unmount of all volumes on disk2s1 was successful
gpt remove: /dev/disk2s1: error: no primary GPT header; run create or recover
Unmount of all volumes on disk2s1 was successful
usage: gpt add [-b lba] [-i index] [-s lba] [-t uuid] device ...
Unmount of all volumes on disk2s1 was successful

And I did try with the USB mounted AND unmounted to see if it made a difference. --Magu 23:37, 21 February 2008 (CET)

Turns out you SHOULDN'T use /dev/diskXsY. I was referring to the partition instead of the whole disk. Honest mistake. --Magu 23:53, 21 February 2008 (CET)

Question about steps 3&4. The instructions say to place the items from the install disk in a temporary folder 'somewhere'. Does this temp folder need to be in the directory where I unzipped the or can it be a temp folder on my desktop? I've done steps 1-6, but it seems like all of the files I saved in a temp folder on my desktop should be in a different location. Thanks--Cgates30 09:25, 22 February 2008 (CET)

Has anyone tried this on a PPC Mac? I have a PowerBook G4 running Leopard and also have an Intel 10.4 install disc (from an old roommate). I will attempt it later today unless anyone can confirm it won't work. Seems like if all the files are coming from the Intel disc it shouldn't be a problem.

FYI, I just successfully followed these instructions using my intel iMac with Leopard and my Tiger install disc. However, I did see quite a few script errors. Including one which is an oversight in the directions: the ssh install script wants to use sed but it doesn't exist. I would add it to the list, but I'm not sure where it's supposed to go. --Globalreset 23:31, 22 February 2008 (CET)

Globalreset, Since you've gone through the procedure, where did you put all the files you copied from you Tiger install disk?--Cgates30 23:50, 22 February 2008 (CET)

Cgates30 - It doesn't matter where you put them initially as long as you follow the instructions to put them in the right folders after.

After collecting all the files and the scripts, I get the following error when I try to run createPatchstick:

  1. bad interpreter: No such file or directoryatePatchstick: /bin/bash


I assume this is just a stupid error, but I'm not sure how to fix it.

Leopard automation

While trying to use the script to automatically copy the files for steps 1-5, the script failed with this error message:

Patchstick Seb$ cd Files; sudo sh
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory line 102: ./sbin/.: is a directory

I had my original OS X 10.4 recovery disc, 10.4.9 Combo Update, and AppleTV 1.1 Update mounted. For now I will just follow the guide without using the script. --SebF 10:48, 22 March 2008 (CET)

I had the same problem mentioned above. On line 102 mentioned in the script, there is an extra space which is causing the error. The line reads:

"$OSDISK/usr/bin/sed" \

Just remove extra space from this line and the script should work.

I ran this script to automate building my patchstick multiple times, but ssh was never enabled on the AppleTV. After comparing the resulting /Patchstick directory tree to what the manual instructions say to construct, it looks like there's an error in the script in that the script doesn't put the ssh files into the /Patchstick/ssh folder as instructed to do in the Step 5 of the manual instructions. The script is putting the ssh files into the /Files/ssh folder, causing them to never be copied over during the patchstick installation process.

Since the is ran from the /Patchstick/Files folder, should the lines that read:

mv ./usr/bin/* ./ssh/.;
mv ./usr/libexec/* ./ssh/.;

actually read:

mv ./usr/bin/* ../patchstick/ssh/.;
mv ./usr/libexec/* ../patchstick/ssh/.;

? --Distortedloop 06:59, 2 May 2008 (CEST)

I just made the two changes mentioned above to the main wiki page, and also added the ../Patchstick/ssh folder to the last two change permissions and chmod lines. If this was bad, please undo. --Distortedloop 20:58, 2 May 2008 (CEST)

  • The SSH fix above doesn't seem to be fully working. It's still copying sshd to the wrong path. Line 133 should be changed from mv ./usr/sbin/* ./ssh/.; to mv ./usr/sbin/* ../Patchstick/ssh/.;. --Magu 23:29, 14 July 2008 (CEST)

Managed to get this to work (still panics but works).

Had to chmod 755 the boot.efi Also copy the ssh files to the /Volumes/Patchstick-root/stuff folder as well as /Volumes/Patchstick