Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: ray carter Newsgroups: comp.sys.raspberry-pi Subject: Re: Failure to clone SD card with compression Date: 8 Jan 2016 17:19:20 GMT Lines: 23 Message-ID: References: <20160108000430.357277464428083@firedrake.org> <8fi4mcxru7.ln2@news.ducksburg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net ytChMRfFCkWAYpw6eXhE/w9pxjYp4c3Bh+PcmMgG2nno75CshD Cancel-Lock: sha1:86Spe62yMPJzfXJl2uH9SU2AT+0= User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.sys.raspberry-pi:10329 On Fri, 08 Jan 2016 11:17:28 +0000, Adam Funk wrote: > On 2016-01-08, The Natural Philosopher wrote: > >> On 08/01/16 00:05, Roger Bell_West wrote: >>> On 2016-01-07, Russell Gadd wrote: >>>> I am having difficulty using gzip for compressing images of SD cards. >>>> If I use command lines such as >>>> # dd bs=1M count=3752 if=/dev/sdc conv=sync,noerror >>>> of=/backfile.img # dd bs=1M count=3752 if=/backfile.img >>>> of=/dev/sdc conv=sync,noerror >>>> for making the image and restoring it to another card, it works ok. > ... >> It still should work though, but that's a good first test. >> >> Why are you using count and conv with dd? > > I'm not entirely sure why it's necessary, but I've seen a lot of > instructions for this sort of thing that have "conv=sync,noerror" in > them. The main advantage of using sync,noerror is to replace bad blocks and keep going.