[CentOS] imaging a drive with dd

Fri Mar 3 17:31:00 UTC 2017
Styma, Robert (Nokia - US) <robert.styma at nokia.com>

On 3/3/2017 5:34 AM, Robert Moskowitz wrote:
> Well, I only wanted to copy the used part of the drive which I try to 
> keep small so I can still copy the image to an mSD card if I wish.  So 
> I have to supply the amount of the drive to copy.  The bs=512 went 
> fast enough, but then I was only copying 3.2GB.
> thanks for the help. 

Have you considered looking at Clonezilla?  It does a nice job of imaging a disk and only saves the used part.  It creates an image which can be restored and is bootable.  

CentOS mailing list
CentOS at centos.org