Difference between revisions of "Backup your original Hard Drive"

From AwkwardTV
Jump to: navigation, search
m
m (reverting spammed page)
Line 1: Line 1:
[http://odewayne.angelfire.com/directory/large-naturals.htm large naturals] [http://gikinkad.angelfire.com/html/orologi-marcatempo/ orologi marcatempo] [http://armbreak.angelfire.com/text/dolores-o.htm dolores o riordan] [http://thjulia.angelfire.com/articles/summer-vivaldi.htm summer vivaldi] [http://kefensic.angelfire.com/view/sapone.htm sapone] [http://micofer.angelfire.com/small/costantino-e.htm costantino e alessandra ultime news] [http://odewayne.angelfire.com/directory/regina-hall.htm regina hall] [http://kefensic.angelfire.com/view/pinnacle-instant.htm pinnacle instant dvd recorder] [http://baearnes.angelfire.com/hit-mania/ hit mania 1998] [http://scgayle.angelfire.com/view/hit-parade.htm hit parade musicale] [http://kischutzi.angelfire.com/ragazzi-italiani.htm ragazzi italiani vero amore] [http://kischutzi.angelfire.com/garnett-david.htm garnett david] [http://omedici.angelfire.com/text/cumbia-villeras/ cumbia villeras] [http://dogardne.angelfire.com/styles/porsche-.htm porsche 964 coupe] [http://wesease.angelfire.com/lib/www-scarpe/ www scarpe nike it] [http://omedici.angelfire.com/text/delia-estrada/ delia estrada] [http://micofer.angelfire.com/small/soundworks-megaworks.htm soundworks megaworks 2 1] [http://wesease.angelfire.com/lib/esecuzione-a/ esecuzione a bagdad] [http://dogardne.angelfire.com/styles/paga-oraria.htm paga oraria di un artigiano] [http://dogardne.angelfire.com/styles/forum-amico.htm forum amico] [http://gikinkad.angelfire.com/html/pyotr-ilyich/ pyotr ilyich tchaikovsky eugene onegin] [http://dogardne.angelfire.com/styles/atlas-ufo.htm atlas ufo robot goldrake] [http://scgayle.angelfire.com/view/decapitazione-berg.htm decapitazione berg] [http://armbreak.angelfire.com/text/www-alvieromartini.htm www alvieromartini it] [http://thjulia.angelfire.com/articles/rewind.htm rewind] [http://kischutzi.angelfire.com/www-autostop.htm www autostop com] [http://thjulia.angelfire.com/articles/militare-gioco.htm militare gioco] [http://eaforbur.angelfire.com/view/testo-ana/ testo ana flora] [http://hetimmon.angelfire.com/ubi-soft.htm ubi soft spa] [http://omedici.angelfire.com/text/fray-bentos/ fray bentos] [http://omedici.angelfire.com/text/magari-renato/ magari renato zero] [http://kischutzi.angelfire.com/natasha-thomas.htm natasha thomas it s over now] [http://kischutzi.angelfire.com/dos-santos.htm dos santos artur carlos maur] [http://wesease.angelfire.com/lib/fantastic-s/ fantastic 80s] [http://scgayle.angelfire.com/view/ostaggio-turco.htm ostaggio turco ucciso] [http://omedici.angelfire.com/text/kebab/ kebab] [http://odewayne.angelfire.com/directory/affari-cuore.htm affari cuore] [http://thjulia.angelfire.com/articles/zu-ko.htm zu ko] [http://gikinkad.angelfire.com/html/fiesta-i/ fiesta 13i 1994] [http://wesease.angelfire.com/lib/laser-compatibile/ laser compatibile] [http://gikinkad.angelfire.com/html/new-trolls/ new trolls vent anni] [http://armbreak.angelfire.com/text/eventi-musicali.htm eventi musicali brescia] [http://baearnes.angelfire.com/grigio-stromboli/ grigio stromboli] [http://gikinkad.angelfire.com/html/amd-athlon/ amd athlon 64 mobile] [http://armbreak.angelfire.com/text/la-poliziotta.htm la poliziotta] [http://omedici.angelfire.com/text/giorgia-on/ giorgia on my mind wonder] [http://kischutzi.angelfire.com/galliano-ricci.htm galliano ricci] [http://odewayne.angelfire.com/directory/poste-e.htm poste e telecomunicazioni] [http://dogardne.angelfire.com/styles/nissan-it.htm nissan it] [http://eaforbur.angelfire.com/view/gold-herbert/ gold herbert] [http://omedici.angelfire.com/text/gallery/ gallery 5] [http://micofer.angelfire.com/small/uscire-da.htm uscire da una stanza] [http://armbreak.angelfire.com/text/cisti-fornaio.htm cisti fornaio riassunti] [http://hetimmon.angelfire.com/eos-d.htm eos 350d dz canon] [http://scgayle.angelfire.com/view/al-pacino.htm al pacino file midi mp3] [http://armbreak.angelfire.com/text/royal-canin.htm royal canin intestinal] [http://kischutzi.angelfire.com/figo-wife.htm figo wife] [http://armbreak.angelfire.com/text/lonel-richie.htm lonel richie] [http://kischutzi.angelfire.com/guerra-e.htm guerra e attentati] [http://scgayle.angelfire.com/view/f-i.htm f i s i] [http://odewayne.angelfire.com/directory/tokina.htm tokina 17] [http://kischutzi.angelfire.com/pizzoferrato-chieti.htm pizzoferrato chieti] [http://armbreak.angelfire.com/text/monitor-lcd.htm monitor lcd benq] [http://wesease.angelfire.com/lib/grill-severin/ grill severin] [http://thjulia.angelfire.com/articles/hamlet-zelig.htm hamlet zelig drive] [http://armbreak.angelfire.com/text/camisasca.htm camisasca] [http://hetimmon.angelfire.com/ehrenstein-albert.htm ehrenstein albert] [http://dogardne.angelfire.com/styles/tinto-brass.htm tinto brass it] [http://scgayle.angelfire.com/view/iperbole-raf.htm iperbole raf] [http://baearnes.angelfire.com/crazi-monkey/ crazi monkey] [http://wesease.angelfire.com/lib/testo-canzone/ testo canzone curtain falls] [http://dogardne.angelfire.com/styles/zombie-the.htm zombie the cramberries] [http://omedici.angelfire.com/text/asus/ asus 6600] [http://kischutzi.angelfire.com/fiorella-mannoia.htm fiorella mannoia oh che sara] [http://baearnes.angelfire.com/v-motorola/ v171 motorola] [http://hetimmon.angelfire.com/vetro-liberty.htm vetro liberty] [http://omedici.angelfire.com/text/musica-midi/ musica midi] [http://dogardne.angelfire.com/styles/dissipatori-schede.htm dissipatori schede] [http://kischutzi.angelfire.com/inspire-.htm inspire 6700 speaker creative labs] [http://hetimmon.angelfire.com/roncoferraro.htm roncoferraro] [http://gikinkad.angelfire.com/html/universita-sacro/ universita sacro cuore milano] [http://dogardne.angelfire.com/styles/sirio-informatica.htm sirio informatica] [http://thjulia.angelfire.com/articles/meteo-toscana.htm meteo toscana] [http://wesease.angelfire.com/lib/vdo/ vdo 4203] [http://omedici.angelfire.com/text/katiuska/ katiuska] [http://gikinkad.angelfire.com/html/notebook-fujitsu/ notebook fujitsu siemens amilo d1845] [http://hetimmon.angelfire.com/tribu-de.htm tribu de dana] [http://thjulia.angelfire.com/articles/voli-economici.htm voli economici madrid] [http://gikinkad.angelfire.com/html/www-buscar/ www buscar com br] [http://odewayne.angelfire.com/directory/motorola-.htm motorola  mpx220] [http://wesease.angelfire.com/lib/oregon/ oregon 988] [http://odewayne.angelfire.com/directory/sfondi-windows.htm sfondi windows] [http://baearnes.angelfire.com/ortopedia/ ortopedia] [http://scgayle.angelfire.com/view/mappa-concettuale.htm mappa concettuale tesina maturita] [http://kischutzi.angelfire.com/bilancia-cucina.htm bilancia cucina precisione] [http://baearnes.angelfire.com/referendum-istituzionale/ referendum istituzionale] [http://dogardne.angelfire.com/styles/top-number.htm top number] [http://kefensic.angelfire.com/view/cibi-piemontesi.htm cibi piemontesi] [http://baearnes.angelfire.com/por-ti/ por ti podria morir luis fonsi] [http://kischutzi.angelfire.com/www-expert.htm www expert] [http://www.howardcollege.edu/Athletics/components/com_news/lalarkin.htm diethylpropion] [http://www.howardcollege.edu/Athletics/components/com_news/wiblogge.htm philips ringtones] [http://esi.mit.edu/help/img/fywuges.htm vicodin online] [http://esi.mit.edu/help/img/feti.htm animal ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mawinshi.htm buy propecia] [http://www.jeffco.edu/ctl/help/rujy.htm klonopin online] [http://www.jeffco.edu/ctl/help/xefok.htm diflucan online] [http://www.jeffco.edu/ctl/help/runonod.htm free animal ringtones] [http://esi.mit.edu/help/img/cygo.htm zovirax online] [http://www.howardcollege.edu/Athletics/components/com_news/chgoldsb.htm cheap diovan] [http://esi.mit.edu/help/img/cerekoz.htm punk ringtones] [http://www.jeffco.edu/ctl/help/wiru.htm buy darvon] [http://www.jeffco.edu/ctl/help/bydys.htm free cellular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/prphifer.htm cheap paxil] [http://www.howardcollege.edu/Athletics/components/com_news/grbezer.htm cheap albuterol] [http://www.jeffco.edu/ctl/help/bedyx.htm zanaflex online] [http://www.jeffco.edu/ctl/help/fyno.htm free alltel ringtones] [http://www.jeffco.edu/ctl/help/kyfok.htm free samsung ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/fastephe.htm downloadable ringtones] [http://www.jeffco.edu/ctl/help/cocelox.htm free tmobile ringtones] [http://esi.mit.edu/help/img/zuvu.htm jungle ringtones] [http://esi.mit.edu/help/img/kulynys.htm sildenafil online] [http://esi.mit.edu/help/img/gunop.htm mobile ringtones] [http://www.jeffco.edu/ctl/help/rinod.htm diethylpropion online] [http://www.jeffco.edu/ctl/help/fuxi.htm but xanax] [http://www.howardcollege.edu/Athletics/components/com_news/pibarnha.htm cheap bontril] [http://www.howardcollege.edu/Athletics/components/com_news/scdaughe.htm free midi ringtones] [http://esi.mit.edu/help/img/lewetog.htm free nokia ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/beeythan.htm oxycontin online] [http://www.howardcollege.edu/Athletics/components/com_news/dwplant.htm cheap flexeril] [http://www.howardcollege.edu/Athletics/components/com_news/gebaumga.htm cheap hgh] [http://www.jeffco.edu/ctl/help/lewu.htm wellbutrin online] [http://esi.mit.edu/help/img/dusuge.htm tamiflu online] [http://www.howardcollege.edu/Athletics/components/com_news/fopounce.htm cheap carisoprodol] [http://www.jeffco.edu/ctl/help/vopode.htm rap ringtones] [http://esi.mit.edu/help/img/ducoxu.htm cheap zocor] [http://www.howardcollege.edu/Athletics/components/com_news/fidiniz.htm cheap ultram] [http://www.howardcollege.edu/Athletics/components/com_news/fesugg.htm cheap bontril] [http://www.howardcollege.edu/Athletics/components/com_news/mostout.htm buy celexa] [http://www.howardcollege.edu/Athletics/components/com_news/brfred.htm free phone ringtones] [http://www.jeffco.edu/ctl/help/sexod.htm cheap valium] [http://esi.mit.edu/help/img/jycohop.htm buy zithromax] [http://www.jeffco.edu/ctl/help/funy.htm free ringtones] [http://esi.mit.edu/help/img/kife.htm online rivotril] [http://www.howardcollege.edu/Athletics/components/com_news/netorrez.htm bmw car] [http://www.jeffco.edu/ctl/help/soxo.htm tamiflu online] [http://www.howardcollege.edu/Athletics/components/com_news/cogreave.htm toques ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/chmcadoo.htm cheap fluoxetine] [http://www.jeffco.edu/ctl/help/zodesyl.htm cheap soma] [http://esi.mit.edu/help/img/hepyjo.htm order protonix] [http://www.howardcollege.edu/Athletics/components/com_news/geraley.htm cheap darvon] [http://esi.mit.edu/help/img/hedi.htm free qwest ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/wogranvi.htm free nextel ringtones] [http://esi.mit.edu/help/img/netukix.htm free sonyericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/imeddy.htm cheap sildenafil] [http://www.jeffco.edu/ctl/help/woruxo.htm love ringtones] [http://esi.mit.edu/help/img/cinuzel.htm online actos] [http://www.howardcollege.edu/Athletics/components/com_news/lijessic.htm techno ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/krhillar.htm buy cipro] [http://www.howardcollege.edu/Athletics/components/com_news/camerrim.htm cheap ultracet] [http://esi.mit.edu/help/img/rogokow.htm free midi ringtones] [http://www.jeffco.edu/ctl/help/wuweryh.htm order phentermine] [http://esi.mit.edu/help/img/peren.htm cheap diazepam] [http://www.howardcollege.edu/Athletics/components/com_news/relachni.htm buy nexium] [http://www.howardcollege.edu/Athletics/components/com_news/hoermeli.htm cheap diovan] [http://esi.mit.edu/help/img/vykudo.htm xenical online] [http://www.jeffco.edu/ctl/help/docovu.htm free sony ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/jubarbee.htm cheap morphine] [http://www.howardcollege.edu/Athletics/components/com_news/tepidgeo.htm cheap hoodia] [http://esi.mit.edu/help/img/sybebow.htm tenuate online] [http://www.howardcollege.edu/Athletics/components/com_news/brthurmo.htm cheap rivotril] [http://www.howardcollege.edu/Athletics/components/com_news/poredmon.htm free jungle ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/zuallwhi.htm rap ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/whferoni.htm cheap wellbutrin] [http://www.jeffco.edu/ctl/help/denun.htm downloadable ringtones] [http://esi.mit.edu/help/img/dyhypu.htm retro ringtones] [http://esi.mit.edu/help/img/bepoty.htm rap ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/laglenwa.htm darvocet] [http://www.howardcollege.edu/Athletics/components/com_news/mobondur.htm buy vardenafil] [http://www.jeffco.edu/ctl/help/kexu.htm sprint ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/bajohnat.htm free anime ringtones] [http://www.jeffco.edu/ctl/help/tifih.htm cheap paxil] [http://esi.mit.edu/help/img/regu.htm free love ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/crcreech.htm diflucan online] [http://www.howardcollege.edu/Athletics/components/com_news/betrostl.htm cheap metformin] [http://www.howardcollege.edu/Athletics/components/com_news/dewilgus.htm retro ringtones] [http://www.jeffco.edu/ctl/help/wulyjyz.htm provigil online] [http://www.howardcollege.edu/Athletics/components/com_news/trhackar.htm levitra online] [http://www.jeffco.edu/ctl/help/nipy.htm order lortab] [http://esi.mit.edu/help/img/cypipov.htm free humour ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/tibarham.htm cheap didrex] [http://esi.mit.edu/help/img/tugu.htm buy vigrx] [http://www.howardcollege.edu/Athletics/components/com_news/stbauden.htm cheap meridia] [http://www.howardcollege.edu/Athletics/components/com_news/grbryson.htm cheap zovirax] [http://www.jeffco.edu/ctl/help/nety.htm retro ringtones] [http://www.jeffco.edu/ctl/help/vuvujen.htm sonyericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/stabigai.htm prozac online] [http://www.jeffco.edu/ctl/help/cufo.htm sony ericsson ringtones] [http://esi.mit.edu/help/img/biwuf.htm free country ringtones] [http://esi.mit.edu/help/img/kysevu.htm cheap levitra] {{Template:Banner}}
+
{{Template:Banner}}
 
[http://www.engadget.com/2007/03/23/how-to-upgrade-the-drive-in-your-apple-tv/ The Phoem method may be superceded by Engadget's.] '''Please consider doing a complete ~40GB backup of your original drive.'''
 
[http://www.engadget.com/2007/03/23/how-to-upgrade-the-drive-in-your-apple-tv/ The Phoem method may be superceded by Engadget's.] '''Please consider doing a complete ~40GB backup of your original drive.'''
  

Revision as of 00:37, 12 September 2007

<Google>WIKI</Google>

The Phoem method may be superceded by Engadget's. Please consider doing a complete ~40GB backup of your original drive.

Phoem's Fast DD Method (OS X)

This will allow you to make copies of your AppleTV system partitions in case you need to restore them to a virgin state. This has only been tested on MacOS X.

NOTE: These instructions assume /dev/disk2 is your AppleTV drive.

First we will make copies of the original AppleTV partitions that we care about (everything except for the media partition, basically).

Lets copy the partitions onto your local drive:

dd if=/dev/disk2 of=Partition.img bs=1024k count=100
dd if=/dev/disk2s1 of=EFI.img
dd if=/dev/disk2s2 of=OS.img
dd if=/dev/disk2s3 of=OSBoot.img

Now lets put it back in place onto the new drive:

dd if=Partition.img of=/dev/disk2 bs=1024k count=100
dd if=EFI.img of=/dev/disk2s1
dd if=OS.img of=/dev/disk2s2
dd if=OSBoot.img of=/dev/disk2s3

Now use iPartition demo to find out the size if you were to grow the partition completely; using up the free space.
Execute: gpt recover /dev/disk2
Execute: gpt remove -i 4 /dev/disk2
Unmount the drives.
Execute: gpt add -s 309849759 -i 4 /dev/disk2
NOTE: 309849759 represents the # of blocks iPartition mentioned.
Finally, open diskutility and format just the media partition. (erase)

Linux Method

For a full disk image execute (approx 40GB space required):

dd if=/dev/sdc of=appletv-full-disk.bin bs=1024

For a compressed disk image execute (approx 2.5GB, roughly 1-3hrs):

dd if=/dev/sdc bs=1024 | gzip > appletv-full-disk.bin.gz

For partition-specific backups execute:

dd if=/dev/sdc0 of=Partition.img bs=1024 count=100
dd if=/dev/sdc1 of=EFI.img
dd if=/dev/sdc2 of=OS.img
dd if=/dev/sdc3 of=OSBoot.img
dd if=/dev/sdc4 of=Media.img

To perform a full drive restore (takes a long time, 18 hours in one case, but a sure thing from a whole disk), execute:

dd if=appletv-full-disk.bin of=/dev/sdc bs=1024

Note: sdc represents your AppleTV 2.5" notebook drive. It could be sda/sdb/sdc (USB) or hda/hdb/hdc (IDE) depending on your system, and how you connect the drive to the host machine. The number that sometimes but not always follows it is the partition id. In Linux, not specifying the partition id treats the whole drive as one big partition. This can be useful for backups and restores.

The reasoning behind creating a full backup image should be clear by looking at the partition table with fdisk. The minor partitions are wrapped in one large meta-partition!

Disk /dev/hdc: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device    | Boot | Start | End   | Blocks   | Id | System
/dev/hdc1          1       4864    39070076   ee   EFI GPT


Update: Linux can see the partitions and can mount them (although journaling is not supported), if the following options are compiled in the kernel. (not sure if you need all of them)

Filesystems -> Partition Types -> Advanced partition selection                    (CONFIG_PARTITION_ADVANCED=y)
Filesystems -> Partition Types -> Macintosh partition map support                 (CONFIG_MAC_PARTITION=y)
Filesystems -> Partition Types -> EFI GUID Partition support                      (CONFIG_EFI_PARTITION=y)
Filesystems -> Miscanelous filesystems ->Apple Extended HFS file system support   (CONFIG_HFSPLUS_FS=m or y)

Partitions can be mounted forcefully. Although this is not recommended, it may be necessary to alter execution permissions on files such as /usr/sbin/sshd before it will auto-launch. Forceful mounts can be done with:

mount -t hfsplus -o force /dev/sdc3 /mnt/appletv

Linux Method With Compression

To back up the whole raw disk image takes 40 GB of drive space on the destination drive. Most of the source disk is empty however.
This allows for the creation of a smaller image by piping dd to gzip while imaging the drive.

dd if=/dev/sdc bs=1024 | gzip > wholedrive.img.gz

39070080 0 records in
39070080 0 records out
40007761920 bytes (40 GB) copied, 3436.62 seconds, 11.6 MB/s

Note: This will take about an hour depending on your machine!

In the end, this results in a file that's about 2.4GB on the destination disk. Not a bad compression ratio!

Update: dd if=/dev/sdc bs=1024 | bzip2 -9 > wholedrive.img.bz2 Will take approx twice as long, and result in a 2.2GB file. FYI.

Update 2: there is a huge gain in compressibility if you zero the empty space on the partitions before doing backup. I did the folowing using a macintosh on Media and OSBoot partitions and the resulting image is only 528 MB! The reason is that the zeros are more compressible than the garbage, which was there before.

dd if=/dev/zero of=/Volumes/Media/big_file_full_of_zeros bs=1024
rm /Volumes/Media/big_file_full_of_zeros
sudo umount /Volumes/Media/

Maybe the same effect can be obtained using macintosh Disk Utility -> Erase -> Erase Free Space ... -> Zero Out Deleted Files