10/06/2007

Splitting a large disk image.

The Problem: You have a disk image (or any file) that is too big to write to a DVD.

The Solution: Split the image file into smaller files that you can save to multiple DVDs.

To Split the file:

$ cat mydisk.dd |gzip -c| split -a 3 -d -b 4500m - mydisk.dd

To restore, use a command similar to the following:

$ cat mydisk.dd.* | gzip -dc| dd of=/outdir/mydisk.dd

No comments: