Skip to content
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
ChiefSoft Works

Technology Information

ChiefSoft Works

Technology Information

  • Home
  • About
  • Contact Us
  • Home
  • About
  • Contact Us
Close

Search

  • https://www.facebook.com/
  • https://twitter.com/
  • https://t.me/
  • https://www.instagram.com/
  • https://youtube.com/
Subscribe
Operating Systems

How to manually mount a USB Drive in Linux Server

By chiefsoft
December 26, 2015 2 Min Read
0

# How to Manually Mount a USB Drive in a Linux Server

Follow these step-by-step instructions to manually mount a USB drive on a Linux server:

—

## Step 1: Plug in the USB Drive

Insert your USB drive into an available USB port on the server.

—

## Step 2: Identify the USB Drive

Open a terminal and run the following command to list all block devices:

“`bash

lsblk

“`

Or:

“`bash

sudo fdisk -l

“`

Look for your USB drive in the output. It will typically appear as something like `/dev/sdb1` or `/dev/sdc1` (the number at the end refers to the partition).

—

## Step 3: Create a Mount Point

Choose a directory where you want to access your USB drive. For example, create a directory under `/mnt`:

“`bash

sudo mkdir /mnt/usb

“`

—

## Step 4: Mount the USB Drive

Assuming your USB device is `/dev/sdb1` (replace with your actual device name):

“`bash

sudo mount /dev/sdb1 /mnt/usb

“`

If your USB uses a specific filesystem (e.g., NTFS, exFAT, etc.), you may need to specify it:

“`bash

sudo mount -t vfat /dev/sdb1 /mnt/usb        # For FAT/FAT32

sudo mount -t ntfs /dev/sdb1 /mnt/usb        # For NTFS

sudo mount -t exfat /dev/sdb1 /mnt/usb       # For exFAT

“`

—

## Step 5: Verify the Mount

Check that the USB drive is mounted and accessible:

“`bash

ls /mnt/usb

“`

You should see the contents of your USB drive.

—

## Step 6: Unmount the USB Drive (When Done)

After finishing your work, unmount the drive before removing it:

“`bash

sudo umount /mnt/usb

“`

Wait for the command to finish, then safely remove the USB drive.

—

## Step 7 (Optional): Remove the Mount Point Directory

If you no longer need the mount point:

“`bash

sudo rmdir /mnt/usb

“`

—

### Notes:

– Always replace `/dev/sdb1` and `/mnt/usb` with your actual device and preferred mount point.

– Running commands as `sudo` may require administrator privileges.

– To find device details, you can also use `dmesg | tail` right after plugging in the USB drive.

—

These steps will help you manually mount and unmount a USB drive on most Linux servers.

Author

chiefsoft

Follow Me
Other Articles
Previous

Configuring FTP

php
Next

Good Object-Oriented Habits in PHP

Expert system design, software development and consulting. Headquartered in Atlanta, Georgia, and building software since 2000.

Contact us

  • contact@chiefsoft.com
  • 770 544-8029
  • Cumberland Pkwy, Atlanta, GA 30339, USA
Copyright 2026 — ChiefSoft Works. All rights reserved.