[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: confused, seems to be my normal state



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 <gheskett@shentel.net> 
> > 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_"

dd is *not* a better tool for this task - that's just false rumors.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: