1

Hie

I have an SD card Module and can access connect two SD cards to my raspberry pi, however i would like to be write an image in the other card connected to the SD Card Module

Milliways
  • 62,573
  • 32
  • 113
  • 225
Tawanda
  • 13
  • 2

1 Answers1

1

You'll need to identify the device node representing the card. Understanding the difference between a block device, a device partition, and a filesystem is probably a good thing at this point. The device node is not a mount point. If there are no other storage devices attached to the Pi, it will probably be /dev/sda. Note for emphasis in case you did not read that link: not /dev/sda1.

Then if the image is raspberrypi.img:

sudo dd if=raspberrypi.img of=/dev/sda bs=4M status=progress

That will take a few minutes.

goldilocks
  • 60,325
  • 17
  • 117
  • 234