Linux – using dd command to get hard drive image

backuphard drivelinux

Is there a way to use 'dd' command to get a hard drive image that ignores the free space on the hard drive?

Best Answer

No. dd is a block-by-block copy that ignores content (nothing is ever free, just not yet overwritten). If you want to ignore free space you have to use a logical imaging tool such as Ghost, Acronis or similar.