0

When I write the Raspberry Pi image to the SD card on Ubuntu using dd, I need to remove the card and plug it in again in order for it's images to be automatically mounted to e.g. /media/$(whoami)/boot/. So that I can touch /media/$(whoami)/boot/ssh to enable SSH.

Is there a way to force this auto-mounting of the partitions after dd?

Janos
  • 517

1 Answers1

0

I figured out that using eject -t re-mounts everything, as if the card has been ejected and re-inserted:

sudo eject -t /dev/sdc
Janos
  • 517