Difference between revisions of "Booting from a USB Thumbdrive"

From AwkwardTV
Jump to: navigation, search
m (spamdunk)
m
Line 1: Line 1:
{{Template:Banner}}
+
[http://risdimpuka.ifrance.com/la-otra/index.html la otra] [http://xxxenichkaa.ifrance.com/listino-bticino.html listino bticino] [http://thecrownless.ifrance.com/ipergratis/index.html ipergratis] [http://alexandraa80.ifrance.com/liberatemi-karaoke/index.html liberatemi karaoke] [http://xxxenichkaa.ifrance.com/luisa-corna.html luisa corna] [http://eliasn5gh.ifrance.com/link-in-park.html link in park] [http://cuivenarius.ifrance.com/hard-knock-life.html hard knock life] [http://taylors-acolyte.ifrance.com/ibazar.html ibazar] [http://pupsik1993.ifrance.com/le-canzoni-kyleminogue.html le canzoni kyleminogue] [http://carbonphoenix.ifrance.com/jacopo-da-lentini.html jacopo da lentini] [http://starcross33.ifrance.com/leki-out/index.html leki out] [http://starcross33.ifrance.com/larranaga/index.html larranaga] [http://snakeystil.ifrance.com/je-nai-jamais/index.html je nai jamais pleure] [http://snakeystil.ifrance.com/jura-shatunow/index.html jura shatunow] [http://fluffy-mind.ifrance.com/kioxsco.html kioxsco] [http://xxxenichkaa.ifrance.com/like-the-wind.html like the wind] [http://katzella.ifrance.com/hollywood-actress/index.html hollywood actress] [http://child-ofadot.ifrance.com/il-testo-di-my-band-dei.html il testo di my band dei d12] [http://carbonphoenix.ifrance.com/jennie.html jennie] [http://fluffy-mind.ifrance.com/kimberly-davies.html kimberly davies] [http://fluffy-mind.ifrance.com/keane-everybody-s-chaing.html keane everybody s chaing] [http://plyuh-vios.ifrance.com/ingenix-international.html ingenix international italy srl] [http://listmishyk.ifrance.com/karaoke-robeto-carlos/index.html karaoke robeto carlos] [http://pupsik1993.ifrance.com/libri-figure.html libri figure] [http://starcross33.ifrance.com/lapostadialice/index.html lapostadialice] [http://cuivenarius.ifrance.com/hotel-barracuda.html hotel barracuda] [http://taylors-acolyte.ifrance.com/i-tifosi-del-bari.html i tifosi del bari] [http://pupsik1993.ifrance.com/luca-dirisi.html luca dirisi] [http://eliasn5gh.ifrance.com/le-nuove-veline.html le nuove veline] [http://child-ofadot.ifrance.com/insegnamento-italiano.html insegnamento italiano seconda lingua] [http://cuivenarius.ifrance.com/hotel-video.html hotel video] [http://pupsik1993.ifrance.com/love-poems.html love poems] [http://taylors-acolyte.ifrance.com/inno-mia-martini.html inno mia martini] [http://carbonphoenix.ifrance.com/jumpy-chat.html jumpy chat] [http://busjavka.ifrance.com/hard-senza-dialer/index.html hard senza dialer] [http://oddonpurpose.ifrance.com/late-fermentato.html late fermentato] [http://busjavka.ifrance.com/hully-gully/index.html hully gully] [http://oddonpurpose.ifrance.com/liberte.html liberte] [http://xxxenichkaa.ifrance.com/la-scola-della-musica.html la scola della musica] [http://busjavka.ifrance.com/huevitos-cartoon/index.html huevitos cartoon] [http://thecrownless.ifrance.com/ida-manzo/index.html ida manzo] [http://katzella.ifrance.com/i-will-fly-thomas/index.html i will fly thomas] [http://risdimpuka.ifrance.com/le-mantellate/index.html le mantellate] [http://carbonphoenix.ifrance.com/jamelia-feat-tizzano.html jamelia feat tizzano ferro] [http://thecrownless.ifrance.com/incantesimo-7-riassunto/index.html incantesimo 7 riassunto delle puntate] [http://angeljazz711.ifrance.com/intercenterlife.html intercenterlife] [http://plyuh-vios.ifrance.com/il-maestro.html il maestro] [http://thecrownless.ifrance.com/incontri-puglia/index.html incontri puglia] [http://angeljazz711.ifrance.com/il-motore.html il motore] [http://listmishyk.ifrance.com/kiapicanto/index.html kiapicanto] [http://katzella.ifrance.com/haiducu/index.html haiducu] [http://chasingspaces.ifrance.com/htp-www-cicciolina/index.html htp www cicciolina it] [http://fluffy-mind.ifrance.com/kristalia.html kristalia] [http://risdimpuka.ifrance.com/la-mamma-della-mamma/index.html la mamma della mamma] [http://fluffy-mind.ifrance.com/kiteboard.html kiteboard] [http://plyuh-vios.ifrance.com/io-ti-amo-veramente.html io ti amo veramente dei moda] [http://child-ofadot.ifrance.com/incubus-talkshow-on-mute.html incubus talkshow on mute] [http://starcross33.ifrance.com/l-unita/index.html l unita] [http://alexandraa80.ifrance.com/libretti-porta-menu/index.html libretti porta menu] [http://risdimpuka.ifrance.com/lyrics-broken-elisa/index.html lyrics broken elisa] [http://angeljazz711.ifrance.com/issam-kabakebbji.html issam kabakebbji] [http://katzella.ifrance.com/hsbc/index.html hsbc] [http://thecrownless.ifrance.com/izvorna-muzika/index.html izvorna muzika] [http://risdimpuka.ifrance.com/la-celebre-mazurca/index.html la celebre mazurca variata] [http://carbonphoenix.ifrance.com/jam-spoon-feat-rea.html jam spoon feat rea garvey set me free] [http://xxxenichkaa.ifrance.com/linces.html linces] [http://busjavka.ifrance.com/hotel-bergamo/index.html hotel bergamo] [http://pupsik1993.ifrance.com/lingua-spagnola-dispense.html lingua spagnola dispense] [http://busjavka.ifrance.com/http-www-sexocean-com/index.html http www sexocean com] [http://snakeystil.ifrance.com/jedno-jest-380-ycie/index.html jedno jest 380 ycie] [http://fluffy-mind.ifrance.com/keanu.html keanu] [http://busjavka.ifrance.com/helena-segara/index.html helena segara] [http://cuivenarius.ifrance.com/have-you-ever.html have you ever] [http://plyuh-vios.ifrance.com/immagini-giocatori.html immagini giocatori dell inter] [http://taylors-acolyte.ifrance.com/iliona.html iliona] [http://chasingspaces.ifrance.com/hadi-donia/index.html hadi donia] [http://cuivenarius.ifrance.com/hotel-s-maria-di-leuca.html hotel s maria di leuca] [http://thecrownless.ifrance.com/incapaci/index.html incapaci] [http://pupsik1993.ifrance.com/lega-asti.html lega asti] [http://taylors-acolyte.ifrance.com/immagini-di-gabriella.html immagini di gabriella fidanzata di nesta] [http://plyuh-vios.ifrance.com/il-muro-juventus.html il muro juventus] [http://xxxenichkaa.ifrance.com/la-poesia-nella-scuola.html la poesia nella scuola elementare] [http://alexandraa80.ifrance.com/luoghi-scopare/index.html luoghi scopare] [http://taylors-acolyte.ifrance.com/in-tero.html in tero] [http://taylors-acolyte.ifrance.com/icona.html icona] [http://alexandraa80.ifrance.com/lazer/index.html lazer] [http://snakeystil.ifrance.com/jargon-lingubot-alfa/index.html jargon lingubot alfa] [http://katzella.ifrance.com/hoc-sinh-hai-phong/index.html hoc sinh hai phong] [http://fluffy-mind.ifrance.com/kenwood.html kenwood] [http://listmishyk.ifrance.com/k448-mp3/index.html k448 mp3] [http://angeljazz711.ifrance.com/incidente-stradale.html incidente stradale] [http://cuivenarius.ifrance.com/hotel-aeolos-beach.html hotel aeolos beach] [http://starcross33.ifrance.com/la-macchina-di-newcomen/index.html la macchina di newcomen] [http://chasingspaces.ifrance.com/guida-em/index.html guida em] [http://chasingspaces.ifrance.com/giochi-online-per-ragazzi/index.html giochi online per ragazzi di 11 anni] [http://chasingspaces.ifrance.com/hellen-martin/index.html hellen martin] [http://katzella.ifrance.com/hernia-hr/index.html hernia hr] [http://child-ofadot.ifrance.com/immagini-lee-ryan.html immagini lee ryan dei blue] [http://katzella.ifrance.com/harlok/index.html harlok] [http://angeljazz711.ifrance.com/in-the-sanctuary.html in the sanctuary] [http://xxxenichkaa.ifrance.com/los-imigrantes-piazzolla.html los imigrantes piazzolla] [http://taylors-acolyte.ifrance.com/indochin.html indochin] [http://thecrownless.ifrance.com/il-teatro-greco/index.html il teatro greco] [http://cuivenarius.ifrance.com/haiducci-dragosta.html haiducci dragosta din tei midi] [http://plyuh-vios.ifrance.com/irreversibile.html irreversibile monica bellucci] [http://risdimpuka.ifrance.com/laila-alaoui/index.html laila alaoui] [http://eliasn5gh.ifrance.com/liberatorie-modulistica.html liberatorie modulistica] [http://chasingspaces.ifrance.com/hinh-anh-hong-nhung/index.html hinh anh hong nhung] [http://child-ofadot.ifrance.com/i-seni-piu-belli.html i seni piu belli del mondo] [http://listmishyk.ifrance.com/kimba/index.html kimba] [http://fluffy-mind.ifrance.com/kia-kehna.html kia kehna] [http://thecrownless.ifrance.com/i-meganoidi/index.html i meganoidi] [http://cuivenarius.ifrance.com/home-simply-red.html home simply red] [http://chasingspaces.ifrance.com/heather-hanson/index.html heather hanson] [http://thecrownless.ifrance.com/inno-democristiano/index.html inno democristiano] [http://taylors-acolyte.ifrance.com/ivan-noble.html ivan noble] [http://plyuh-vios.ifrance.com/il-principe-d-egitto.html il principe d egitto] [http://angeljazz711.ifrance.com/il-signore-ci-ha.html il signore ci ha amato] [http://taylors-acolyte.ifrance.com/immaggini-diavoletti.html immaggini diavoletti] [http://starcross33.ifrance.com/la-mai-casa-sei-tu/index.html la mai casa sei tu] [http://pupsik1993.ifrance.com/los-delfines.html los delfines] [http://plyuh-vios.ifrance.com/il-mio-codice-fiscale.html il mio codice fiscale] [http://eliasn5gh.ifrance.com/last-minute-economici.html last minute economici] [http://alexandraa80.ifrance.com/learn-to-fly/index.html learn to fly] [http://thecrownless.ifrance.com/ice-ice-baby/index.html ice ice baby] [http://fluffy-mind.ifrance.com/kids-robbie-williams.html kids robbie williams kylie minogue] [http://fluffy-mind.ifrance.com/keys-new.html keys new] [http://snakeystil.ifrance.com/jfive-chaplin/index.html jfive chaplin] [http://angeljazz711.ifrance.com/infermiere-porche.html infermiere porche] [http://katzella.ifrance.com/hotel-rosalba/index.html hotel rosalba perugia] [http://fluffy-mind.ifrance.com/king-of-the-convenience.html king of the convenience] [http://chasingspaces.ifrance.com/hai-nu-sinh-ngo-quyen/index.html hai nu sinh ngo quyen] [http://katzella.ifrance.com/icoo-loader-account/index.html icoo loader account] [http://oddonpurpose.ifrance.com/luna-dei-verdena.html luna dei verdena] [http://starcross33.ifrance.com/lavori-estivi-veneto/index.html lavori estivi veneto] [http://taylors-acolyte.ifrance.com/isotta.html isotta] [http://risdimpuka.ifrance.com/le-funzioni-goniometriche/index.html le funzioni goniometriche] [http://katzella.ifrance.com/hitomi-yaida/index.html hitomi yaida] [http://pupsik1993.ifrance.com/lee-jeans.html lee jeans] [http://listmishyk.ifrance.com/kavasaky/index.html kavasaky] [http://alexandraa80.ifrance.com/le-avventure/index.html le avventure erotiche di cappuccetto ros] [http://child-ofadot.ifrance.com/il-manifesto.html il manifesto quotidiano comunista] [http://fluffy-mind.ifrance.com/kanye-west.html kanye west] [http://thecrownless.ifrance.com/il-veliero-orbetello/index.html il veliero orbetello] [http://thecrownless.ifrance.com/immagini-lupen/index.html immagini lupen] [http://taylors-acolyte.ifrance.com/immagini-cani-tutte.html immagini cani tutte le razze] [http://child-ofadot.ifrance.com/intervista-a-aria-giovanni.html intervista a aria giovanni] [http://xxxenichkaa.ifrance.com/love-is-ours-sinead.html love is ours sinead o connor] [http://child-ofadot.ifrance.com/info-gardenaitalia-it.html info gardenaitalia it] [http://child-ofadot.ifrance.com/it-never-rains-in.html it never rains in california] [http://pupsik1993.ifrance.com/ludivine-sagnier.html ludivine sagnier] [http://eliasn5gh.ifrance.com/lizzie-mcguire.html lizzie mcguire] [http://busjavka.ifrance.com/hotel-camerino/index.html hotel camerino] [http://angeljazz711.ifrance.com/irina-tebenikhina.html irina tebenikhina] [http://chasingspaces.ifrance.com/hasni-mp3/index.html hasni mp3] [http://busjavka.ifrance.com/hotel-piccadilly-roma/index.html hotel piccadilly roma] [http://child-ofadot.ifrance.com/im-holding-out-for.html im holding out for a hero] [http://starcross33.ifrance.com/la-bamba-los-lobos/index.html la bamba los lobos] [http://snakeystil.ifrance.com/john-nash/index.html john nash] [http://starcross33.ifrance.com/ludonet/index.html ludonet] [http://child-ofadot.ifrance.com/i-m-ready-for.html i m ready for a fall] [http://starcross33.ifrance.com/legge104/index.html legge104] [http://xxxenichkaa.ifrance.com/luneur.html luneur] [http://taylors-acolyte.ifrance.com/inviare-foto-gratis.html inviare foto gratis su telefonini] [http://angeljazz711.ifrance.com/in-dreams-roy-orbison.html in dreams roy orbison] [http://taylors-acolyte.ifrance.com/illuminismo.html illuminismo] [http://pupsik1993.ifrance.com/lmc-vs-u2.html lmc vs u2] [http://chasingspaces.ifrance.com/graduatorie-scuole-umbria/index.html graduatorie scuole umbria] [http://taylors-acolyte.ifrance.com/italy-escort.html italy escort] [http://plyuh-vios.ifrance.com/is-this-cause-i-m-cool.html is this cause i m cool mousse t] [http://eliasn5gh.ifrance.com/live-right-now.html live right now] [http://carbonphoenix.ifrance.com/jack-nicholson.html jack nicholson] [http://xxxenichkaa.ifrance.com/l-adige.html l adige] [http://listmishyk.ifrance.com/khastegare/index.html khastegare] [http://fluffy-mind.ifrance.com/kellys.html kellys] [http://pupsik1993.ifrance.com/lmc-vs-u2-take.html lmc vs u2 take me to the clouds above] [http://carbonphoenix.ifrance.com/julie-meadows.html julie meadows] [http://taylors-acolyte.ifrance.com/isher.html isher] [http://taylors-acolyte.ifrance.com/ian-dury.html ian dury] [http://oddonpurpose.ifrance.com/linkin-parc-from.html linkin parc from the inside] [http://snakeystil.ifrance.com/jackson-ben/index.html jackson ben] [http://alexandraa80.ifrance.com/love-don-t-cost/index.html love don t cost a think] [http://child-ofadot.ifrance.com/isola-dei-famosi-2.html isola dei famosi 2] [http://busjavka.ifrance.com/hotel-cristallo-palace/index.html hotel cristallo palace ischia] [http://risdimpuka.ifrance.com/liscio-e-standard/index.html liscio e standard] [http://child-ofadot.ifrance.com/inno-della-marina.html inno della marina militare italiana] [http://angeljazz711.ifrance.com/immagini-seno.html immagini seno] [http://busjavka.ifrance.com/http-www-forums/index.html http www forums vncenter com] [http://thecrownless.ifrance.com/il-mare-calmo/index.html il mare calmo della sere] [http://starcross33.ifrance.com/la-leyenda-del/index.html la leyenda del ada y el mago] [http://cuivenarius.ifrance.com/hotel-horizon-a-sharm.html hotel horizon a sharm] [http://plyuh-vios.ifrance.com/immobiliarerubino.html immobiliarerubino] [http://snakeystil.ifrance.com/juan-fernando/index.html juan fernando velesco] [http://angeljazz711.ifrance.com/inpresoras.html inpresoras] [http://katzella.ifrance.com/hambrus/index.html hambrus] [http://snakeystil.ifrance.com/jolly-hotel-a-messina/index.html jolly hotel a messina] [http://alexandraa80.ifrance.com/luther-vandross/index.html luther vandross] [http://child-ofadot.ifrance.com/il-canto.html il canto] [http://taylors-acolyte.ifrance.com/isabella.html isabella] [http://starcross33.ifrance.com/la-mia-buona/index.html la mia buona stella] {{Template:Banner}}
  
  
Line 20: Line 20:
 
== A bit of info about the image ==
 
== A bit of info about the image ==
  
It's simple enough to create a GPT on a USB thumbdrive with the required attributes.  I used [http://www.gnu.org/software/parted/index.shtml GNU Parted] on Linux, and I'm sure equivalent tools exist for Mac and Windows.  The tricky part is making the image in such a way that it'll boot in the AppleTV '''and''' be easy to deal with if you don't have a Mac handy.  The latter requirement basically rules out HFS/HFS , since Linux support is spotty and Windows support is non-existant, so I chose to use FAT32.
+
It's simple enough to create a GPT on a USB thumbdrive with the required attributes.  I used [http://www.gnu.org/software/parted/index.shtml GNU Parted] on Linux, and I'm sure equivalent tools exist for Mac and Windows.  The tricky part is making the image in such a way that it'll boot in the AppleTV '''and''' be easy to deal with if you don't have a Mac handy.  The latter requirement basical
 +
5A8
 +
ly rules out HFS/HFS , since Linux support is spotty and Windows support is non-existant, so I chose to use FAT32.
  
 
Windows has had some level of support for GPT disks for some time now, but it uses the Partition Type indicator to determine the type of the filesystem.  Since we have to set this to the value for a recovery partition, Windows will refuse to recognize the partition as FAT32, although Linux will happily mount it anyways.
 
Windows has had some level of support for GPT disks for some time now, but it uses the Partition Type indicator to determine the type of the filesystem.  Since we have to set this to the value for a recovery partition, Windows will refuse to recognize the partition as FAT32, although Linux will happily mount it anyways.
Line 26: Line 28:
 
My first thought was to get rid of the "Protective MBR" partition table that GPT uses to hide itself from older partitioning tools and replace it with a valid MBR partition table that points to the FAT32 partition.  Thus, the drive would have two partition tables, each pointing to the same partition.  With this in place, the thumbdrive was mountable both in Linux and Windows, but the AppleTV apparently checks for the 0xEE partition in the MBR before trying to use the GPT.
 
My first thought was to get rid of the "Protective MBR" partition table that GPT uses to hide itself from older partitioning tools and replace it with a valid MBR partition table that points to the FAT32 partition.  Thus, the drive would have two partition tables, each pointing to the same partition.  With this in place, the thumbdrive was mountable both in Linux and Windows, but the AppleTV apparently checks for the 0xEE partition in the MBR before trying to use the GPT.
  
In the end, I was able to create a MBR that contains the 0xEE partition required to get the AppleTV to load the GPT, but instead of setting the protective partition to fill the disk, I made it very small, then added a second partition in the MBR's remaining space that points to the FAT32 partition.  Now, it's visible to Windows (MBR table), Linux (either table), and the AppleTV (GPT).  You should be able to plug a thumbdrive initialized with this image into any Windows box (I've only tested with Vista Ultimate 64-bit) and copy over the necessary files from the AppleTV recovery partition (boot.efi, com.apple.Boot.plist, BootLogo.png, and mach_kernel.prelink).  After that, you can plug the thumbdrive into the AppleTV and reboot it while holding down "Menu" and "Minus" on the remote to boot from the thumbdrive.
+
In the end, I was able to create a MBR that contains the 0xEE partition required to get the AppleTV to load the GPT, but instead of setting the protective partition to fill the disk, I made it very small, then added a second partition in the MBR's remaining space that points to the FAT32 partition.  Now, it's visible to Windows (MBR table), Linux (either table), and the AppleTV (GPT).  You should be able to plug a thumbdrive initialized with this image into any Windows box (I've only tested with Vista Ultimate 64-bi
 +
B50
 +
t) and copy over the necessary files from the AppleTV recovery partition (boot.efi, com.apple.Boot.plist, BootLogo.png, and mach_kernel.prelink).  After that, you can plug the thumbdrive into the AppleTV and reboot it while holding down "Menu" and "Minus" on the remote to boot from the thumbdrive.
  
 
Note that as is, the recovery partition image won't boot completely from USB, since the kernel basically cuts its own head off when it disables USB.
 
Note that as is, the recovery partition image won't boot completely from USB, since the kernel basically cuts its own head off when it disables USB.
Line 63: Line 67:
 
If your storage device has a pretty LED you'll see some activity, once finished you'll see something like:
 
If your storage device has a pretty LED you'll see some activity, once finished you'll see something like:
 
<pre>
 
<pre>
503808 0 records in
+
503808 0 records  
 +
5A8
 +
in
 
503808 0 records out
 
503808 0 records out
 
257949696 bytes transferred in 439.220493 secs (587290 bytes/sec)
 
257949696 bytes transferred in 439.220493 secs (587290 bytes/sec)
Line 101: Line 107:
 
</pre>
 
</pre>
  
The important part is writing to the Partition0 part of the drive.
+
The important part is writing to the Partitio
 +
5A8
 +
n0 part of the drive.
  
 
You could also just download a Linux LiveCD.
 
You could also just download a Linux LiveCD.

Revision as of 02:38, 2 September 2007

la otra listino bticino ipergratis liberatemi karaoke luisa corna link in park hard knock life ibazar le canzoni kyleminogue jacopo da lentini leki out larranaga je nai jamais pleure jura shatunow kioxsco like the wind hollywood actress il testo di my band dei d12 jennie kimberly davies keane everybody s chaing ingenix international italy srl karaoke robeto carlos libri figure lapostadialice hotel barracuda i tifosi del bari luca dirisi le nuove veline insegnamento italiano seconda lingua hotel video love poems inno mia martini jumpy chat hard senza dialer late fermentato hully gully liberte la scola della musica huevitos cartoon ida manzo i will fly thomas le mantellate jamelia feat tizzano ferro incantesimo 7 riassunto delle puntate intercenterlife il maestro incontri puglia il motore kiapicanto haiducu htp www cicciolina it kristalia la mamma della mamma kiteboard io ti amo veramente dei moda incubus talkshow on mute l unita libretti porta menu lyrics broken elisa issam kabakebbji hsbc izvorna muzika la celebre mazurca variata jam spoon feat rea garvey set me free linces hotel bergamo lingua spagnola dispense http www sexocean com jedno jest 380 ycie keanu helena segara have you ever immagini giocatori dell inter iliona hadi donia hotel s maria di leuca incapaci lega asti immagini di gabriella fidanzata di nesta il muro juventus la poesia nella scuola elementare luoghi scopare in tero icona lazer jargon lingubot alfa hoc sinh hai phong kenwood k448 mp3 incidente stradale hotel aeolos beach la macchina di newcomen guida em giochi online per ragazzi di 11 anni hellen martin hernia hr immagini lee ryan dei blue harlok in the sanctuary los imigrantes piazzolla indochin il teatro greco haiducci dragosta din tei midi irreversibile monica bellucci laila alaoui liberatorie modulistica hinh anh hong nhung i seni piu belli del mondo kimba kia kehna i meganoidi home simply red heather hanson inno democristiano ivan noble il principe d egitto il signore ci ha amato immaggini diavoletti la mai casa sei tu los delfines il mio codice fiscale last minute economici learn to fly ice ice baby kids robbie williams kylie minogue keys new jfive chaplin infermiere porche hotel rosalba perugia king of the convenience hai nu sinh ngo quyen icoo loader account luna dei verdena lavori estivi veneto isotta le funzioni goniometriche hitomi yaida lee jeans kavasaky le avventure erotiche di cappuccetto ros il manifesto quotidiano comunista kanye west il veliero orbetello immagini lupen immagini cani tutte le razze intervista a aria giovanni love is ours sinead o connor info gardenaitalia it it never rains in california ludivine sagnier lizzie mcguire hotel camerino irina tebenikhina hasni mp3 hotel piccadilly roma im holding out for a hero la bamba los lobos john nash ludonet i m ready for a fall legge104 luneur inviare foto gratis su telefonini in dreams roy orbison illuminismo lmc vs u2 graduatorie scuole umbria italy escort is this cause i m cool mousse t live right now jack nicholson l adige khastegare kellys lmc vs u2 take me to the clouds above julie meadows isher ian dury linkin parc from the inside jackson ben love don t cost a think isola dei famosi 2 hotel cristallo palace ischia liscio e standard inno della marina militare italiana immagini seno http www forums vncenter com il mare calmo della sere la leyenda del ada y el mago hotel horizon a sharm immobiliarerubino juan fernando velesco inpresoras hambrus jolly hotel a messina luther vandross il canto isabella la mia buona stella

<Google>WIKI</Google>


Not Patchstick

This page is not about Patchstick. I repeat: this page is not about Patchstick. This page just goes into detail about the layout of the partitioning table of a possible USB thumbdrive, which might be used for building something like Patchstick.

The image linked in this article is an empty image. No files. Really.

You have been warned.

A bit of info on how the boot process works

Background reading:

If the system is booted with the "Menu" and "Minus" keys on the remote held down, it checks for a FAT32 or HFS partition with a Partition Type of {5265636F-7665-11AA-AA11-00306543ECAC}, first on a USB storage device, then on the internal HDD. If such a partition is found, it's mounted and a file called "boot.efi" is read from the root folder and executed.

A bit of info about the image

It's simple enough to create a GPT on a USB thumbdrive with the required attributes. I used GNU Parted on Linux, and I'm sure equivalent tools exist for Mac and Windows. The tricky part is making the image in such a way that it'll boot in the AppleTV and be easy to deal with if you don't have a Mac handy. The latter requirement basical 5A8 ly rules out HFS/HFS , since Linux support is spotty and Windows support is non-existant, so I chose to use FAT32.

Windows has had some level of support for GPT disks for some time now, but it uses the Partition Type indicator to determine the type of the filesystem. Since we have to set this to the value for a recovery partition, Windows will refuse to recognize the partition as FAT32, although Linux will happily mount it anyways.

My first thought was to get rid of the "Protective MBR" partition table that GPT uses to hide itself from older partitioning tools and replace it with a valid MBR partition table that points to the FAT32 partition. Thus, the drive would have two partition tables, each pointing to the same partition. With this in place, the thumbdrive was mountable both in Linux and Windows, but the AppleTV apparently checks for the 0xEE partition in the MBR before trying to use the GPT.

In the end, I was able to create a MBR that contains the 0xEE partition required to get the AppleTV to load the GPT, but instead of setting the protective partition to fill the disk, I made it very small, then added a second partition in the MBR's remaining space that points to the FAT32 partition. Now, it's visible to Windows (MBR table), Linux (either table), and the AppleTV (GPT). You should be able to plug a thumbdrive initialized with this image into any Windows box (I've only tested with Vista Ultimate 64-bi B50 t) and copy over the necessary files from the AppleTV recovery partition (boot.efi, com.apple.Boot.plist, BootLogo.png, and mach_kernel.prelink). After that, you can plug the thumbdrive into the AppleTV and reboot it while holding down "Menu" and "Minus" on the remote to boot from the thumbdrive.

Note that as is, the recovery partition image won't boot completely from USB, since the kernel basically cuts its own head off when it disables USB.

The image itself (sized for 256MB Flash)

The original image was posted as a base-64 text chunk within this page, it is now mirrored below. The complete image is only about 6K compressed. All you need to do is decompress the image, then write it to a storage device of your choice.

Note: This is a raw disk image, and will expand to 257,949,696 bytes. Your storage device will have to meet this minimum requirement to use this particular image.

Writing the Image

Mac OS X and other *NIX or *NIX like Operating Systems

You must have a Memory stick larger than 512MB of free post formated space for this to work.

Insert your storage device / thumb-drive / USB stick but don't mount it. If your OS automounts the image (like OS X does) you'll need to unmount before you write to it.

$ mount
...
/dev/disk1s1 on /Volumes/UNTITLED (local, nodev, nosuid) <-- mounted partition on the thumb drive.  /dev/disk1 would be the thumbdrive itself.  See note below!

Unmount (as root) For those using OS X gui, find NetInfo Manager in the Utilities folder, click "Security" at the top menu, then "Authenticate." A dialogue box will pop up which asks for the administrator's short name and password. Notice the command for un-mounting is UMOUNT with no 'n' after the 'U.' This is the command, not a typo. Unmount with:-

 # umount /Volumes/UNTITLED 

then use dd to write the image to the storage device (change /dev/disk1 to be the device that corresponds to your OS and device).

 $ dd if=Hybrid.img of=/dev/disk1 bs=1m

Important Note: You want to write to the device that correponds to the entire thumbdrive - not one of its partitions. If you write the image to an existing partition, the all-important partition tables won't be written properly. On Mac OS / Darwin, this will be something like /dev/diskX rather than dev/diskXs1. On Linux, the device will probably be /dev/sdX for a USB device. (Note that SATA hard drives will probably also appear as /dev/sdX - use fdisk -l /dev/sdX to make sure you have the right device before writing to it!)

If your storage device has a pretty LED you'll see some activity, once finished you'll see something like:

503808 0 records 
5A8
in
503808 0 records out
257949696 bytes transferred in 439.220493 secs (587290 bytes/sec)

The drive will more than likely mount once the above process is complete - unmount it and proceed with your install on the Apple TV.

Windows

Download dd for Windows and follow the steps above for writing the image. You don't need to worry about the unmounting part. Windows device identifiers are quite different from BSD / Linux identifiers, so look at the examples on the linked page for how to write to a USB Mass Storage device.

With dd.exe and the Hybrid.img file in the same folder type the following command to find out the name of your USB drive.

dd --list

You should see a bunch of output similiar to:


\\.\Volume{5cd94d2c-3251-11d9-9444-806d6172696f}\
 link to \\?\Device\HarddiskVolume1
 fixed media
 Mounted on \\.\c:

\\.\Volume{129b1243-3252-11d9-b167-806d6172696f}\
 link to \\?\Device\CdRom0 CD-ROM
 Mounted on \\.\r:
 
\\.\Volume{e3429891-0eb9-11da-b18f-000d60dc98cd}\
 link to \\?\Device\Harddisk1\DP(1)0-0 3 removable media
 Mounted on \\.\d:

We are interested in the device mounted to where your USB drive is (d: in this case).

We then do:

dd if=Hybrid.img of=\\?\Device\Harddisk1\Partition0 bs=1M --size --progress

The important part is writing to the Partitio 5A8 n0 part of the drive.

You could also just download a Linux LiveCD.

Download the image (Mirrors)

Here - dobedobedoh

Here - anourkey

Here - Galphanet (Swiss server)

Here (choose right click, save as) - MrZarquon

Here (choose right Click Save As), please be gentle on this server, use as a last resort!

MD5: a00685206de5cf5a313ec62594d2ff9e Hybrid.img.bz2 (compressed)

MD5: 1533fdfb2503851a545cf1955c2daea6 Hybrid.img (uncompressed)