On Wednesday 18 September 2019 08:42:21 Jonas Smedegaard wrote: > Quoting Gene Heskett (2019-09-18 13:46:38) > > > On Tuesday 17 September 2019 22:05:28 David wrote: > > > On Wed, 18 Sep 2019 at 08:17, Gene Heskett <[email protected]> > > > > > > wrote: > > > > what linux command will unpack the .zip and put it on the card? > > [...] > > > > 3) write the SD card > > > (replace my /dev/sd_ with your SD card device, > > > without any partition number): > > > > > > # unzip -p raspbian_latest.zip | dd bs=4M of=/dev/sd_ > > > status=progress conv=fsync > > > > This last is what I was looking for, thank you, and I'll give it all > > a shot later today. In fact, card is written. > > Essentiall you want to copy all raw content onto the raw device. > > This works too (and not only with specially crafted zip files): > > $ unzip foo.zip > $ su -c "cp image-unpacked-from-foo-zip /dev/sd_"
Unforch, I read the man page, and the command I used generated all he files in the local work dir. Messy. > dd is *not* a better tool for this task - that's just false rumors. I did wonder about that, ISTR seeing examples that used Zcat for that. > - Jonas Thanks Jonas Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>

