Difference between revisions of "Backup your original Hard Drive"

From AwkwardTV
Jump to: navigation, search
Line 1: Line 1:
[http://lucornew.ifrance.com/articles/appartamento-mare/ appartamento mare] [http://stormclouds13.ifrance.com/description/microsoft-office37.htm microsoft office small business edition] [http://wagreenw.ifrance.com/text/baciami-meneguzzi.htm baciami meneguzzi] [http://stasenka.ifrance.com/lib/tecnocasa-milano/ tecnocasa milano] [http://stormclouds13.ifrance.com/description/haicom.htm haicom] [http://xbr00t4lx.ifrance.com/directory/kres.htm kres] [http://afreelancespork.ifrance.com/text/yuki/ yuki0] [http://xbr00t4lx.ifrance.com/directory/ex-casio.htm ex casio] [http://poriddle.ifrance.com/articles/notebook-vgnam/ notebook vgna417m] [http://mctungat.ifrance.com/text/algoritmi-genetici/ algoritmi genetici] [http://sckieffe.ifrance.com/content/dnb-mp/ dnb mp3] [http://lamalone.ifrance.com/web/vasco-rossi58/ vasco rossi musica cd] [http://kialford.ifrance.com/directory/forno-nardi/ forno nardi da cm 90] [http://nereinig.ifrance.com/styles/schiller-mit.htm schiller mit] [http://paheidi.ifrance.com/blog/jhonny-angel/ jhonny angel] [http://stormclouds13.ifrance.com/description/pensiero-stupendo.htm pensiero stupendo] [http://pulema.ifrance.com/small/vorrei-dei.htm vorrei dei lunapop] [http://stasenka.ifrance.com/lib/newsletter-porno/ newsletter porno] [http://anskaggs.ifrance.com/resources/magnifico-turbolentza.htm magnifico turbolentza] [http://drgreghousemd.ifrance.com/library/cucina-country/ cucina country] [http://lucornew.ifrance.com/articles/apple-computer/ apple computer macintosh] [http://kialford.ifrance.com/directory/rex/ rex 80] [http://hapierce.ifrance.com/text/saro-bellissima/ saro bellissima] [http://poriddle.ifrance.com/articles/porsche-cayenne/ porsche cayenne 32 v6] [http://qizzlary.ifrance.com/resources/www-pass.htm www 69pass it] [http://sckieffe.ifrance.com/content/canon-ef100/ canon ef 100mm 2 8] [http://mctungat.ifrance.com/text/tu-nem/ tu nem ai di luka] [http://lamalone.ifrance.com/web/tutto-il/ tutto il mondo ride  allegri ragazzi] [http://xbr00t4lx.ifrance.com/directory/ripetitore-cordles.htm ripetitore cordles] [http://kialford.ifrance.com/directory/mercedes-sl/ mercedes sl disponibili] [http://sonicmaind.ifrance.com/styles/ossidiana.htm ossidiana] [http://lamalone.ifrance.com/web/horse-with/ horse with no name] [http://qizzlary.ifrance.com/resources/porno-siti.htm porno siti] [http://stormclouds13.ifrance.com/description/hi-fi40.htm hi fi bang olufsen bergamo] [http://hapierce.ifrance.com/text/giorgia-palmas/ giorgia palmas in perizoma] [http://poriddle.ifrance.com/articles/tenda-guru/ tenda guru] [http://sckieffe.ifrance.com/content/video-di121/ video di the oc] [http://kialford.ifrance.com/directory/condorelli-catania/ condorelli catania] [http://paheidi.ifrance.com/blog/istituti-padova/ istituti padova] [http://kemenke.ifrance.com/directory/adidas-contry.htm adidas contry] [http://poriddle.ifrance.com/articles/vedetes-peruanas/ vedetes peruanas] [http://lamalone.ifrance.com/web/stampante-canon/ stampante canon ip 2000] [http://mctungat.ifrance.com/text/lai-chau/ lai chau] [http://poriddle.ifrance.com/articles/rume-e/ rume e cocaina mp3] [http://anskaggs.ifrance.com/resources/novita-grande.htm novita grande fratello 5] [http://lucornew.ifrance.com/articles/albergo-economico/ albergo economico venezia] [http://stormclouds13.ifrance.com/description/mercedes-km.htm mercedes km0] [http://romonjon.ifrance.com/directory/soluzione-silent/ soluzione silent hill] [http://wagreenw.ifrance.com/text/tshirt-frankie.htm tshirt frankie morello] [http://mctungat.ifrance.com/text/legami-di/ legami di sangue] [http://lucornew.ifrance.com/articles/nicole-neuman/ nicole neuman] [http://scalek.ifrance.com/styles/marietta/ marietta] [http://romonjon.ifrance.com/directory/ibm-x/ ibm x206 server] [http://stasenka.ifrance.com/lib/maddalena-corvaglia2/ maddalena corvaglia] [http://wagreenw.ifrance.com/text/lcd-.htm lcd 27 thes] [http://xbr00t4lx.ifrance.com/directory/majoral.htm majoral] [http://drgreghousemd.ifrance.com/library/cerca-in/ cerca in gogle] [http://lucornew.ifrance.com/articles/tu-si/ tu si na malatia] [http://romonjon.ifrance.com/directory/airattack/ airattack] [http://nakramer.ifrance.com/small/video-mezz.htm video mezz ora] [http://romonjon.ifrance.com/directory/rischio-da/ rischio da amitriptilina] [http://lamalone.ifrance.com/web/gta-my/ gta my siti] [http://drgreghousemd.ifrance.com/library/scan-tab/ scan tab] [http://xbr00t4lx.ifrance.com/directory/tiro-a.htm tiro a segno per uccidere] [http://qizzlary.ifrance.com/resources/pane-e.htm pane e salame] [http://lucornew.ifrance.com/articles/anno/ anno 80] [http://sckieffe.ifrance.com/content/epilatore-philips/ epilatore philips] [http://sonicmaind.ifrance.com/styles/kalcic.htm kalcic] [http://romonjon.ifrance.com/directory/elettrico-forno/ elettrico forno grill] [http://paheidi.ifrance.com/blog/schiavo-piedi/ schiavo piedi femminili] [http://chelsxd.ifrance.com/directory/packard-bell98.htm packard bell audiodream] [http://sckieffe.ifrance.com/content/bmw-e/ bmw e30] [http://sckieffe.ifrance.com/content/il-sottomarino/ il sottomarino fantasma] [http://drgreghousemd.ifrance.com/library/huangyuan/ huangyuan] [http://poriddle.ifrance.com/articles/il-leone/ il leone di s marco] [http://afreelancespork.ifrance.com/text/denham-john/ denham john] [http://scalek.ifrance.com/styles/hillarie-burton/ hillarie burton] [http://lucornew.ifrance.com/articles/www-estas/ www estas muerto cl] [http://stasenka.ifrance.com/lib/barbecue-carbone/ barbecue carbone e accessori] [http://kialford.ifrance.com/directory/imago/ imago] [http://stormclouds13.ifrance.com/description/benq-pb.htm benq pb8220] [http://wagreenw.ifrance.com/text/corsera.htm corsera] [http://qizzlary.ifrance.com/resources/www-belgacom.htm www belgacom com] [http://flella.ifrance.com/styles/smart-annunci.htm smart annunci] [http://chelsxd.ifrance.com/directory/compaq-amd.htm compaq amd 64] [http://poriddle.ifrance.com/articles/ava-qh/ a6va q021h] [http://flella.ifrance.com/styles/guglielmini.htm guglielmini] [http://afreelancespork.ifrance.com/text/yet/ yet] [http://kemenke.ifrance.com/directory/segreteria-win.htm segreteria win] [http://chelsxd.ifrance.com/directory/la-tortura.htm la tortura della freccia] [http://paheidi.ifrance.com/blog/lg-lcd20/ lg lcd tv 15] [http://xbr00t4lx.ifrance.com/directory/earth-wind.htm earth wind] [http://drgreghousemd.ifrance.com/library/dvb-t/ dvb t pvr] [http://nakramer.ifrance.com/small/sankt-pankraz.htm sankt pankraz] [http://sckieffe.ifrance.com/content/lettori-dvd99/ lettori dvd surround 5 1] [http://pulema.ifrance.com/small/tema-svolto.htm tema svolto diritto amministrativo] [http://kemenke.ifrance.com/directory/foto-ragazze.htm foto ragazze sexy] [http://paheidi.ifrance.com/blog/prezzo-oro/ prezzo oro] [http://kialford.ifrance.com/directory/grand-hotel/ grand hotel des anglais] [http://pulema.ifrance.com/small/worm-blaster.htm worm blaster] [http://rosencrantz319.freehostia.com/data/colin-mcrea.htm colin mcrea rally 2] [http://bugge.freehostia.com/nikon-mh/ nikon mh60] [http://shusik.freehostia.com/styles/nokia-con.htm nokia con fotocamera e lettore mp3] [http://tapeshoes.freehostia.com/blog/www-oratorio/ www oratorio s gervasio e protasio it] [http://chipper2007.freehostia.com/styles/donne-over.htm donne over 60] [http://dano-mano.freehostia.com/html/www-jahoo/ www jahoo fr] [http://shusik.freehostia.com/styles/rcm.htm rcm] [http://muddernh.freehostia.com/small/jaguar-s/ jaguar s type 42] [http://superchet.freehostia.com/www-gas/ www gas it] [http://tapeshoes.freehostia.com/blog/comuna-di/ comuna di altofonte] [http://bushidobrown.freehostia.com/directory/endeavour-trasporti.htm endeavour (trasporti)] [http://chipper2007.freehostia.com/styles/frank-avalon.htm frank avalon] [http://chipper2007.freehostia.com/styles/calinti.htm calinti] [http://czalex.freehostia.com/articles/kiler/ kiler] [http://dano-mano.freehostia.com/html/gigi-d/ gigi d agostino datura summer of energy] [http://lordavon.freehostia.com/resources/la-badante.htm la badante] [http://shusik.freehostia.com/styles/la-guerra.htm la guerra di troia] [http://rosencrantz319.freehostia.com/data/nortek-active.htm nortek active] [http://chipper2007.freehostia.com/styles/neo.htm neo] [http://czalex.freehostia.com/articles/lamenace/ lamenace] [http://muddernh.freehostia.com/small/milhaud-darius/ milhaud darius] [http://muddernh.freehostia.com/small/alimentazione-bambino/ alimentazione bambino] [http://liilliil.freehostia.com/small/sbloccare.htm sbloccare] [http://rosencrantz319.freehostia.com/data/eight-wonder.htm eight wonder] [http://yuki-yusia.freehostia.com/chupeta/ chupeta] [http://bigtyma.freehostia.com/description/teen-russian/ teen russian boys] [http://shusik.freehostia.com/styles/valladolid-provincia.htm valladolid (provincia)] [http://bigtyma.freehostia.com/description/illustration-l/ illustration l] [http://yuki-yusia.freehostia.com/sql-server/ sql server 2000 standard] [http://liilliil.freehostia.com/small/i-don.htm i don t wanna kow] [http://cute-krissie.freehostia.com/blog/knights-of.htm knights of the temple] [http://cute-krissie.freehostia.com/blog/istanbul-volo.htm istanbul volo hotel] [http://pilarcruz.freehostia.com/data/tavolo-console.htm tavolo console] [http://lombax.freehostia.com/description/vrangel.htm vrangel] [http://bushidobrown.freehostia.com/directory/angela-fiorella.htm angela fiorella] [http://pilarcruz.freehostia.com/data/multichannel-plugin.htm multichannel plugin nero] [http://cute-krissie.freehostia.com/blog/lavasciuga-ariston.htm lavasciuga ariston] [http://czalex.freehostia.com/articles/stay-ce/ stay ce ce roger] [http://muddernh.freehostia.com/small/chiaraluna/ chiaraluna] [http://dano-mano.freehostia.com/html/metal-slug/ metal slug advance] [http://muddernh.freehostia.com/small/amp-com/ amp69 com] [http://yuki-yusia.freehostia.com/the-microphones/ the microphones] [http://shusik.freehostia.com/styles/lg-rw.htm lg rw200] [http://bushidobrown.freehostia.com/directory/chat-c.htm chat c6] [http://tapeshoes.freehostia.com/blog/romanzo-storico/ romanzo storico] [http://czalex.freehostia.com/articles/ksyrium-elite/ ksyrium elite] [http://lordavon.freehostia.com/resources/why-don.htm why don t you] [http://rosencrantz319.freehostia.com/data/televisori-jvc.htm televisori jvc lcd 26] [http://pilarcruz.freehostia.com/data/crt.htm crt 21] [http://koopochka.freehostia.com/directory/figc-veneto/ figc veneto] [http://cute-krissie.freehostia.com/blog/matri.htm matri] [http://muddernh.freehostia.com/small/server-hp/ server hp raid xeon] [http://elita793.freehostia.com/web/comprare-e/ comprare e vendere case] [http://yuki-yusia.freehostia.com/nuova-canzone/ nuova canzone evanescense] [http://mesteno.freehostia.com/flinstones-b/ flinstones b] [http://bushidobrown.freehostia.com/directory/ibiza-solo.htm ibiza solo volo] [http://chipper2007.freehostia.com/styles/testi-musicali.htm testi musicali baglioni] [http://bushidobrown.freehostia.com/directory/bilancia-professionale.htm bilancia professionale] [http://dano-mano.freehostia.com/html/batterie-ricaricabili/ batterie ricaricabili nimh] [http://liilliil.freehostia.com/small/opere-politiche.htm opere politiche e filosofiche di seneca] [http://shusik.freehostia.com/styles/tv-sharp.htm tv sharp 15 pollici] [http://bushidobrown.freehostia.com/directory/fomen.htm fomen] [http://tapeshoes.freehostia.com/blog/dvd-inuyasha/ dvd inuyasha] [http://lordavon.freehostia.com/resources/tartarughe-ninja.htm tartarughe ninja alla riscossa] [http://tapeshoes.freehostia.com/blog/la-notte/ la notte degli sciacalli] [http://czalex.freehostia.com/articles/maddona/ maddona] [http://dano-mano.freehostia.com/html/televisore-mivar/ televisore mivar 28] [http://yuki-yusia.freehostia.com/toyota-celica/ toyota celica 91] [http://czalex.freehostia.com/articles/testo-scritto/ testo scritto di vasco rossi buoni o c] [http://elita793.freehostia.com/web/gateway-linksys/ gateway linksys wag54gs wireless] [http://czalex.freehostia.com/articles/reflex-digitali/ reflex digitali memory card] [http://muddernh.freehostia.com/small/film-download/ film download gratis] [http://bigtyma.freehostia.com/description/amministratori-condominiali/ amministratori condominiali] [http://shusik.freehostia.com/styles/il-grande.htm il grande mcginty] [http://cute-krissie.freehostia.com/blog/ati-radeon.htm ati radeon 7000 pci] [http://yuki-yusia.freehostia.com/video-f/ video f f f falling] [http://bushidobrown.freehostia.com/directory/hp-officejet.htm hp officejet psc1350] [http://pilarcruz.freehostia.com/data/oakley-zero.htm oakley zero s] [http://rosencrantz319.freehostia.com/data/samsung-le.htm samsung le 20] [http://bugge.freehostia.com/www-grecia/ www grecia com] [http://bugge.freehostia.com/storia-della/ storia della letteratura bizantina] [http://bugge.freehostia.com/lcd-tv/ lcd tv 17 samsung 710] [http://chipper2007.freehostia.com/styles/finanziamento-lisboa.htm finanziamento lisboa] [http://cute-krissie.freehostia.com/blog/my-x.htm my x1] [http://bigtyma.freehostia.com/description/anagramma/ anagramma] [http://lordavon.freehostia.com/resources/tom-tom.htm tom tom mobile 5 nokia 6630] [http://pilarcruz.freehostia.com/data/couperus-louis.htm couperus louis marie anne] [http://bugge.freehostia.com/offerte-cd/ offerte cd vergini] [http://liilliil.freehostia.com/small/tutti-morimmo.htm tutti morimmo a stento] [http://bigtyma.freehostia.com/description/satellite-mx/ satellite m40x122] [http://bushidobrown.freehostia.com/directory/rexton-.htm rexton 27 xdi] [http://yuki-yusia.freehostia.com/digitale-terrestre/ digitale terrestre decoder mhp] [http://elita793.freehostia.com/web/abit-ic/ abit ic7 schede madri] [http://mesteno.freehostia.com/inspire-t/ inspire t7900] [http://superchet.freehostia.com/tritecnica/ tritecnica] [http://superchet.freehostia.com/darby/ darby] [http://lordavon.freehostia.com/resources/caricabatterie-auto.htm caricabatterie auto per fotocamera] [http://tapeshoes.freehostia.com/blog/foto-pamela/ foto pamela andersson] [http://liilliil.freehostia.com/small/del-piero.htm del piero nudo] [http://bigtyma.freehostia.com/description/nina-williams/ nina williams in sala giochi e in ritardo] {{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 18:24, 18 September 2007

appartamento mare microsoft office small business edition baciami meneguzzi tecnocasa milano haicom kres yuki0 ex casio notebook vgna417m algoritmi genetici dnb mp3 vasco rossi musica cd forno nardi da cm 90 schiller mit jhonny angel pensiero stupendo vorrei dei lunapop newsletter porno magnifico turbolentza cucina country apple computer macintosh rex 80 saro bellissima porsche cayenne 32 v6 www 69pass it canon ef 100mm 2 8 tu nem ai di luka tutto il mondo ride allegri ragazzi ripetitore cordles mercedes sl disponibili ossidiana horse with no name porno siti hi fi bang olufsen bergamo giorgia palmas in perizoma tenda guru video di the oc condorelli catania istituti padova adidas contry vedetes peruanas stampante canon ip 2000 lai chau rume e cocaina mp3 novita grande fratello 5 albergo economico venezia mercedes km0 soluzione silent hill tshirt frankie morello legami di sangue nicole neuman marietta ibm x206 server maddalena corvaglia lcd 27 thes majoral cerca in gogle tu si na malatia airattack video mezz ora rischio da amitriptilina gta my siti scan tab tiro a segno per uccidere pane e salame anno 80 epilatore philips kalcic elettrico forno grill schiavo piedi femminili packard bell audiodream bmw e30 il sottomarino fantasma huangyuan il leone di s marco denham john hillarie burton www estas muerto cl barbecue carbone e accessori imago benq pb8220 corsera www belgacom com smart annunci compaq amd 64 a6va q021h guglielmini yet segreteria win la tortura della freccia lg lcd tv 15 earth wind dvb t pvr sankt pankraz lettori dvd surround 5 1 tema svolto diritto amministrativo foto ragazze sexy prezzo oro grand hotel des anglais worm blaster colin mcrea rally 2 nikon mh60 nokia con fotocamera e lettore mp3 www oratorio s gervasio e protasio it donne over 60 www jahoo fr rcm jaguar s type 42 www gas it comuna di altofonte endeavour (trasporti) frank avalon calinti kiler gigi d agostino datura summer of energy la badante la guerra di troia nortek active neo lamenace milhaud darius alimentazione bambino sbloccare eight wonder chupeta teen russian boys valladolid (provincia) illustration l sql server 2000 standard i don t wanna kow knights of the temple istanbul volo hotel tavolo console vrangel angela fiorella multichannel plugin nero lavasciuga ariston stay ce ce roger chiaraluna metal slug advance amp69 com the microphones lg rw200 chat c6 romanzo storico ksyrium elite why don t you televisori jvc lcd 26 crt 21 figc veneto matri server hp raid xeon comprare e vendere case nuova canzone evanescense flinstones b ibiza solo volo testi musicali baglioni bilancia professionale batterie ricaricabili nimh opere politiche e filosofiche di seneca tv sharp 15 pollici fomen dvd inuyasha tartarughe ninja alla riscossa la notte degli sciacalli maddona televisore mivar 28 toyota celica 91 testo scritto di vasco rossi buoni o c gateway linksys wag54gs wireless reflex digitali memory card film download gratis amministratori condominiali il grande mcginty ati radeon 7000 pci video f f f falling hp officejet psc1350 oakley zero s samsung le 20 www grecia com storia della letteratura bizantina lcd tv 17 samsung 710 finanziamento lisboa my x1 anagramma tom tom mobile 5 nokia 6630 couperus louis marie anne offerte cd vergini tutti morimmo a stento satellite m40x122 rexton 27 xdi digitale terrestre decoder mhp abit ic7 schede madri inspire t7900 tritecnica darby caricabatterie auto per fotocamera foto pamela andersson del piero nudo nina williams in sala giochi e in ritardo


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