Nils Kassube kassube at
Tue Mar 18 08:46:21 UTC 2014

kbun at wrote:
> Does KDE/Kubuntu/Linux have a util that will
> copy every last byte of a drive or partition
> to a file? I guess that would be something
> to make .img files with?

Use the dd command in a terminal (konsole):

sudo dd if=/dev/sdg of=sdg.img
sudo dd if=/dev/sdg1 of=sdg1.img

Be careful not to mix up the if= and of= options because otherwise you 
would overwrite the contents of the disk or partition.

As an extension you could gzip the images on the fly to save some space 
like this:

sudo dd if=/dev/sdg | gzip >sdg.img.gz


More information about the kubuntu-users mailing list