Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Mount an SD Card in Linux

Mount and unmount an SD card with terminal commands or with the Disks application.

How-To Guides2 min read3 steps10 screenshots

There are two ways: the terminal and the graphical Disks tool.

Method 1: Terminal

Step 1: Check the system

uname -srm
Checking the system information

Step 2: Find the SD card partitions

lsblk | grep -iE 'sd[a-z]+'
Identifying the SD card partitions

Some systems name the card mmcblk0p1 instead. In that case run lsblk and look for it.

Step 3: Create a mount point

sudo mkdir /media/sd-card
Creating the mount point

Step 4: Mount the card

sudo mount /dev/sdb1 /media/sd-card -v
Mounting the SD card

Use your partition name instead of /dev/sdb1. -v shows what the command does.

Step 5: Check

lsblk | grep -iE 'sd[a-z]+'
Verifying the mount

The mount point now appears next to the partition.

Step 6: Unmount

sudo umount /media/sd-card -v
Unmounting the SD card
Warning: Always unmount before you remove the card, or files can be damaged.

Method 2: Disks (graphical)

Step 1: Open Disks

Search for Disks in the application menu.

Opening the Disks application

Step 2: Mount

Select the SD card in the left list and click the Play (mount) button.

Mounting the SD card in Disks

Step 3: See where it is mounted

  1. Select the SD card.
  2. Click the gear button below the volumes.
  3. Choose Edit Mount Options or look at the volume details.
    The SD card properties

Step 4: Unmount

Select the card and click the Stop (unmount) button.

Unmounting the SD card in Disks

FAQ

Can I mount an SD card in Linux? Yes, with mount in the terminal or with a graphical tool such as Disks.

Is there a graphical tool? Yes, Disks (GNOME) and similar tools. Most desktop systems also mount the card by themselves when you insert it.

Quick recap

  • lsblk, mkdir, mount, and umount when done.