[arm-allstar] RPi img

David McGough kb4fxc at inttek.net
Sat Nov 7 16:37:10 EST 2015


Hi Marty,

Are you trying to flash the image using a PC or directly on the RPi2?

The /dev/mmcblk0 is the RPi2 device, as seen from a running RPi2. And, I 
don't think you'll very good success trying to overwrite that image while 
the RPi2 is running from it.

If you're trying to flash using another Linux PC, the destination device 
should be /dev/sdX, where X is the flash card...BTW, be very careful with 
your selection of /dev/sdX!  Some devices, like perhaps /dev/sda may be 
your hard drive!

The way I figure out what /dev/sdX device is the flash card is to:

1) Remove the flash card from the system.

2) Do a "dmesg -c" command from the root prompt to list and clear the 
kernel message ring buffer.

3) Insert the flash card and wait a few seconds (perhaps 30 seconds).

4) Do a "dmesg" command and look to see what /dev/sdX device is attached 
to the USB storage media.

73, David KB4FXC



73, David KB4FXC

On Sat, 7 Nov 2015, Marty wrote:

> I'm having a little difficulty getting the RPi2_V1.0_Allstar.img file on a
> 4GB SD. The documentation reads as small as a 4GB SD. I had put this image
> to other 4GB SD. I am using dd in this manner to put the image to the SD.
>  dd bs=4M if=RPi2_V1.0_Allstar.img of=/dev/mmcblk0 and I get dd: error
> writing ‘/dev/mmcblk0’: No space left on device
> I'm not sure what I'm doing wrong. I had made others that worked just fine.
> 
> TNX!
> 
> 73,
> 
> Marty, KD4HLV
> 
> ============================================
> 



More information about the arm-allstar mailing list