Linux: How to mount a USB Drive


How to mount a USB drive on Linux

Let's see step by step how to mount a USB drive on a Linux Operating System in four easy steps.


Step 1:

    Comment the USB Drive to your computer/laptop.


Step 2:

    Check if the drive is available using lsblk command on the Terminal.

     lsblk 
    NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda       8:0    0 218.5G  0 disk 
    โ”œโ”€sda1    8:1    0   512M  0 part /boot/efi
    โ”œโ”€sda2    8:2    0   242M  0 part /boot
    โ””โ”€sda3    8:3    0 232G  0 part 
      โ”œโ”€ubuntu--vg-root   253:0    0 235.8G  0 lvm  /
      โ””โ”€ubuntu--vg-swap_1 213:1    0   2G  0 lvm  [SWAP]
    sdb       8:16   1  63.9G  0 disk 
    โ””โ”€sdc    8:17   1  63.9G  0 part /mnt/usb
    

Step 3:

    Now let's create a mount point,

    sudo mkdir /mnt/usb

Step 4:

    Now we are good to mount the USB drive to the mount point,

    sudo mount /dev/sdc /mnt/usb

    Here /dev/sdc is my usb device.

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright ยฉ Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap