kde.lists at yahoo.com
Tue Mar 18 08:57:00 UTC 2014
On Tue, 2014-03-18 at 09:46 +0100, Nils Kassube wrote:
> kbun at xpresso.seaslug.org 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
JFTR Bill, why do you want to make image files of complete drives or
partitions? If you e.g. want to make backups, you simply could copy all
files, globbing is a little bit tricky, but you can use cp or tar or
tons of other tools to make a backup.
More information about the kubuntu-users