On Mon, 26 Oct 2009, Kenneth Lee wrote:
> So, if I have a Live CD, and the backup.gz file on a flashdrive, what
> command would extract and write the backup.gz to a hard drive?  My
> confusion is that I don't really understand what is in the backup.gz
> file that g4u created with uploaddisk.  Running something similar to
> Knoppix live cd, would dd be used, or am I simply running tar -xzvf
> backup.gz - would overwrite the target disk?

Unix 101... :)
run something like "zcat backup.gz | file -" and you'll probably see that 
it's a full disk image - from the first byte (MBR...) to the last byte of 
the harddisk, including MBR, partition table, etc.

You'd write that back with dd, maybe with something like

        zcat backup.gz | dd of=/dev/rsd0d bs=1m progress=1

on NetBSD, or

                   ... | dd of=/dev/sda bs=1m

on Linux.


  - Hubert

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
g4u-help mailing list
g4u-help@feyrer.de
https://lists.sourceforge.net/lists/listinfo/g4u-help

Reply via email to