Posted: Mon Oct 09, 2017 7:33 am
I'm trying to use your DD to save a disk image with compression, it seems that saving with compression is working as I see the result image with 'gz' suffix and the file size is really compressed.
But When I'll try to restore/reapply the image into another system It is unable to boot, process is not working when I put the 'decomp' option.
To GET the image I'm using this sentence:
dd -v if=\\.\Physicaldrive0 of=z:\image\myimage.img conv=noerror,comp --localwrt
Image is created and zipped, and all seems correct. Without zip compression image is 80Gb, compressed is 8Gb..
The problem is when I'll try to restore/reapply the image onto a similar system.
dd -v if=z:\image\myimage.img.gz of=\\.\PhysicalDrive0 conv=noerror,decomp --localwrt
I'll have this error message
"unable to copy file!"
i've also tried using with the with "-comp gzip / --decomp gzip", but I'll have the same error.
Until I could see, my command syntac, options are apparently correct. I've also got some externals logs, but the content of these are the same error that I could see in the screen.
Please advise how to use DD with compression/decompresion options.