Accessing the microSD Slot

The SNAPconnect E12 includes a microSD slot for reflashing your device to its factory state. You can also use a card in this slot as additional flash storage on your gateway if you need it. The following instructions will work for ext4-, FAT32-, or exFAT-formatted cards. Ubuntu does not support exFAT by default. You will need to run the following command for exFAT support:

sudo apt-get install exfat-fuse exfat-utils

To access a card in the microSD slot:

  1. Insert the microSD card into the microSD card slot at the end of the E12:

  2. Create a mount point for the card. In this example, the directory will be named sdcard, and it will be in the /mnt directory. (If you have previously done this, you do not need to repeat it.)

    sudo mkdir /mnt/sdcard
  3. Mount the card. (For these commands, replace p1 with the partition number you want to mount.)
    • For cards formatted with the ext4 file system:

      sudo mount –t ext4 /dev/mmcblk0p1 /mnt/sdcard
    • For cards formatted with the FAT32 file system:

      sudo mount –t vfat /dev/mmcblk0p1 /mnt/sdcard
    • For cards formatted with the exFAT file system:

      sudo mount –t exfat /dev/mmcblk0p1 /mnt/sdcard

You can confirm it is mounted by using the mount command and looking for an entry like the following (with the appropriate file system format):

/dev/mmcblk0 on /mnt/sdcard type ext4 (rw)

You can use the ls command to list the available partitions:

ls /dev/mmcblk0p*