From AwkwardTV
Revision as of 12:35, 23 September 2007 by LhsYzv (talk | contribs)
Jump to: navigation, search
fotos floricienta nome e cognome ligabue vip lavatrice profondita 40 nadiya parle mai driver netodragon 56k index entre en mi vida pc 106e homepage chicha site url page resume services streghe telefilm timberland classic max drive usb datel moonlight vs azoto lyric policarbonati paolo rossi moliere scarica mns supporto cellulari per auto home calender router wireless ethernet simone e laura beyonce feat 50cent in the club crosby stills sh long time comin simbolos y letras otra vez www cgd pt puma aria creative itrigue 3600 2 1 exy lady link tango roxanne noleggio a lungo termine citroen sensi armani homepage site page suerte negocio informacion del sexo oral lira calabra motogp 4 confermato online dizionario ragionato dei nomi gigaset sl 440 video di carmen di pietro point service www poses prodotti chimici ghost in the shell ad aprile in italia page gps garmin etrex i beleive epson t0322 home theatre divx wireless saucony trigon candle pene a un testicolo www iasi rn homepage fotos do porno da rita cadilac site autopalpazione al seno eos 350 canon christina aguilera il sito site pompa acque sporche home daffy parachute nokia pdf rki 1200 page iran miniatur musicista matrimonio ouaka tetris worlds il capitano di lungo sorso noise pollution level slim lettori cdrom map olympus vn240pc sacrifice elton jhon jose marti com operetta vedova allegra un monton d estrella wrangler yj hdd 20gb lancia il gatto index un capitano di quindici anni papst ventola annunci ragazze incontri lugano ch map site link url link Confessione erotica racconto Giramondo it Tesina guerra fredda ragioneria Geco tatoo Nave crociera msc Pacchetto vacanza brasile Ramazzotti Scopate casalinghe Gazetta A cinderella story Last minute valtur Candelabro Chatenet barooder x4 Natura agriturismo vacanza Annuncio tiscali lavoro Prestito avellino Mature hot Bikini ukrainian girl Fijlkam Minorenne porca Chiang mai cose fare Rifugio Belli cazzi biscotto plasmon Www pornoyoutube com Brigitta bulgari porno Ciccina Dispnea mononucleosi Gay self suck Fondoschiena Bulma dragonball xxx Pane surgelato Cavalletto Servizi hosting dominio Sorrento calcio Offerta eurodisney Calcola percorso automobilistico Gay animal sex Societa animazione turistica Medioevo Racconti sesso illustrati Troie prato Villaggio turistici sardegna Filmup veneto Tavolo giardino sedia Racconti erotici lesbiche Nirvam it Video animale cavallo porno Monsters of cock Confessioni segrete Tettone galerie gratis Minorenni vogliose Video foto matur Pergolato giardino Albergo maiori Sborrate facciali Fighe pelose Bhw mutuo Telefoni cordless panasonic Melissa doll cum Ccnl farmacia private Last girl standing tawny roberts Chiedere prestito online Venafro Videolan Asian sexy shemale Obese nude Auto renault espace Villaggio ventaglio sardegna Aermec Hotel 5 stelle bruxelles Tette sode Anteprima video gratis Audi a3 [ Viarella canicatta�] Gigi d alessio chat Scooter usati torino Sailor moon video Sergio cammariere sul sentiero Tesina il sogno Cd serigrafia Snals matera Adrano Voli per israele Porno italia Enel it enel gas Isola vergine americane cose fare Fisting anale Amplificatori hi fi Edenviaggi Mcr4ever forumcommunity net Sms compleanno Padrona sadomaso Hairy teen Free mature video Amando it Porno donne in cinta El gouna Siena shopping Rey mistirio senza maschera
Links to illegal warez, etc. will be removed, and your access will be blocked. (Details)

Apparently, there are some copies of patchstick images in the wild. Most likely, these will not work. Also, THEY ARE ILLEGAL! Also, some people report that the patchstick erased their AppleTV, resul 5A8 ting in a non-recoverable AppleTV. This is actually quite credible, since all Patchstick does is run some shell scripts as root. If this happened to you: GOOD FOR YOU!! Don't count on Apple to help you.

This page describes how to make a Patch stick using OSX/Intel binaries, and therefor is not legally distributable. Therefor, no support whatsoever is given to anyone.

However, I think this process is important enough to document, so we can see what steps are needed to build an open, free and 100% legal version of Patchstick. - Mactijn 23:56, 8 April 2007 (CEST)

Pre-requisites, All versions

  • USB flashdrive or disk (USB mass storage compatible) (for, a 512Meg stick is sufficient -- has anyone succeeded with a smaller stick?)
  • an Intel machine running Mac OS X 10.4.x (won't work on non-intel machines, kext files not compatible; have a look at Install SSH without an Intel Mac in this case)
  • boot.efi from OS.dmg, mount it from the latest software update

Pre-requisites, Manual way

Full Working Version

zip file mirrored here:

I (HenryLaxen) downloaded this on July 23, 2007, an 5A8 d found that this line in the createPatchstick file was commented out:

	cp /usr/sbin/sshd /Volumes/Patchstick/ssh/

which prevents sshd from working on the AppleTV. After uncommenting this line, I was able to log into my AppleTV with ssh -1 -v frontrow@xx.xx.xx.xx Also, I consistantly get a kernel panic when launchd executes /sbin/reboot, however by this time the ssh files have already been installed. Do not worry that the first time you log in via ssh that it takes a long time, as the AppleTV must generate its host keys. HenryLaxen July 25, 2007

Actually, there are three ssh-related lines commented in the createPatchstick script, and it worked well for me to uncomment all three. But the "sed" in the DYLD_FRAMEWORK_PATH mumble isn't found when booting from the stick, which is why I believe only "ssh -1" works so far. Also, I see no reason why the Perian lines are commented out, and restoring them allowed Perian to be installed, which is quite useful of course. clrelay 2007-08-06

I was able to use it free of any changes noted above. After installation, I used the Enable SSH Server item in the AwkwardTV frappliance to gain shell access. postman August 12, 2007

Manually: Partitioning and formatting the USB disk

based on Turbo's excellent guide here.

Update: Changed to use only one partition!

  • hook up the USB drive to your Mac
  • Re-partition it using DiskUt

5A8 ility: Format: Mac OS Extended (Journaled), Options: GUID table, Partition Name: Patchstick-root If you only have one disk, your USB disk will be /dev/disk1, otherwise

  • check what disk it is:
hostname:~ user$ df -h
/dev/disk0s2               74G    72G   1.9G    97%    /
devfs                     100K   100K     0B   100%    /dev
fdesc                     1.0K   1.0K     0B   100%    /dev
<volfs>                   512K   512K     0B   100%    /.vol
automount -nsl [205]        0B     0B     0B   100%    /Network
automount -fstab [219]      0B     0B     0B   100%    /automount/Servers
automount -static [219]     0B     0B     0B   100%    /automount/static
/dev/diskX                499M    40K   499M     0%    /Volumes/NO NAME

NOTE: if you see something like /dev/disk1s1, /dev/diskX means /dev/disk1, not /dev/disk1s1!

  • Now get the partition information which is required later to change the GUID:
gpt -r show /dev/diskX

results in:

   start    size  index  contents
      0       1         PMBR
      1       1         Pri GPT header
      2      32         Pri GPT table
     34       6         
     40  511920      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
 511960       7         
 511967      32         Sec GPT table
 511999       1         Sec GPT header

Note the start and size 5A8 of the partition - use this at the bottom of these instructions as the -b -s parameters (in this case -b 40 -s 511920)

Creating the patchstick boot-environment

this part is, for now, based on copying OSX binaries, and needs to be replaced ASAP

After performing the steps in the previous chapter, the USB drive's primary partition should have mounted itself as /Volumes/Patchstick-root. If you named it differently, please substitute all occurences of /Volumes/Patchstick-root with the correct one.

  • in a shell, as root, change the current directory to the patchstick root FS:
hostname:~ root# cd /Volumes/Patchstick-root
  • create the directory structure:
hostname:/Volumes/Patchstick-root root# mkdir -p sbin usr/lib/system System/Library/Extensions stuff etc dev OSBoot
hostname:/Volumes/Patchstick-root root# ln -s sbin bin
  • copy semthex's kernel (named mach_kernel) to /Volumes/Patchstick-root/
  • create /Volumes/Patchstick-root/ with your favourite text editor (vi/pico/joe/...) and make it look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
        <key>Background Color</key>