Home  »  ArticlesGuidesHow ToTechnology   »   How to Mount an External Drive on Ubuntu 22.04 Server

How to Mount an External Drive on Ubuntu 22.04 Server

These instructions work for any USB storage device such as SSDs, HDDs, and thumb drives among others. To find the correct external drive on Ubuntu 22.04 or Debian based Linux systems. look at the result of sudo fdisk -l.

$ sudo fdisk -l 

This is optional but recommended since in some cases the system might be using /media in some other process and that might not allow you to unmount the disk easily.

$ sudo mkdir /media/mydisk

Now go ahead and mount it with the command below. Here we assume your disk is using NTFS filesystem.

$ sudo mount -t ntfs /dev/sdb1 /media/mydisk

Access your external drive on Ubuntu 22.04 using the command-line below or navigate to the drive using the default Ubuntu GUI file browser.

$ cd /media/mydisk

In Conclusion

In most cases on the Ubuntu 22.04 Desktop the disk would normally be plug and play but the above instruction will come in handy should it not be mounted automatically by the system.

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.

Available under:
Articles, Guides, How To, Technology