PDA

View Full Version : [ubuntu] Installing on MicroSD for Raspberry Pi and got error:



jasonbunnell
November 22nd, 2016, 06:40 PM
I am installing Ubuntu onto a MicroSD card with 64GB from a OSX using this guide (https://developer.ubuntu.com/en/snappy/start/raspberry-pi-2/). Getting trouble with this command:

sudo dd if=~/Downloads/ubuntu-core-16-pi3.img of=/dev/rdisk2 bs=32MB

I get this error:

dd: bs: illegal numeric value

Tried going through a few times. The SD card is definitely disk 2. Double checked the .img file name. What am I doing wrong?

sudodus
November 22nd, 2016, 07:00 PM
Welcome to the Ubuntu Forums :-)

I have found that
bs=4096 works well in many computers. Smaller chunks of data (default is 512 bytes) makes the transfer slower, but larger chunks will not really improve things (at least when I tested).

I have not much experience of MacOS, so I have to believe that the target drive is seen as /dev/rdisk2 ;-)

Otherwise you can probably check with the command


sudo lsblk -f
and

sudo lsblk -m

to get help to identify the target drive (the card).

QIII
November 22nd, 2016, 07:08 PM
I would also cut down on complexity by navigating into the containing directory.

spjackson
November 22nd, 2016, 08:43 PM
I think that the OSX equivalent of

bs=32MB
is

bs=32m