In Windows, A secondary drive will simply show, up as Local Disk (D:), after initiation. This guide will cover how to achieve the same in any Linux Installation.
Create a mount folder
Usually, external drives are mounted inside the /mnt or /media folder. to create a folder or mount point, you can run:
sudo mkdir /mnt/salman
Mount the drive manually
Fist you need to find the drive you are looking to mount:
Run:
sudo fdisk -l
Or:
lsblk
to get a list of disks or block devices in the system, identify your drive and not down its path (usually /dev/sdX)
Now, you can run the following command to mount the drive:
sudo mount /dev/sdX /mnt/salman
this mounts the drive at the folder we created earlier, now you can access the drive until you shut down or remove the drive. to unmount you can use the umount command instead.
Auto-mount the drive at boot
Find the UUID of the partition
To get the UUID of desired partition, run:
sudo blkid
This would show a list of partitions with their labels and UUID.
You can identify a partition by its Label. Or use lsblk to identify the partition by its size. Note down the UUID of desired partition.
Create an fstab entry
Open the fstab file in your preferred text editor:
sudo nano /etc/fstab
Add this line to the end:
UUID=<your_uuid> /mnt/salman ext4 defaults 0 0
Note: Make sure to replace the data with the right value for your situation. the elements are:

<UUID or Label> <Mount point> <File system type> <Mount options> <fs_freq> <fs_passno>
Related Articles
How to Partition, Format, and Mount Secondary Drives in Linux - Manual Drive Configuration (MDC)
Introduction This guide provides detailed instructions on how to manually configure secondary drives in a Linux system, including partitioning, formatting, and mounting the drives. Warning Performing these steps on an existing primary drive or a ...
KB 258332 - Backup, Snapshot, and Restore Linux installations using Timeshift
If you mess up (or are going to mess up) some config files or drivers, it is always good to have a fallback point. The de-facto standard for doing this on Linux is Timeshift. Timeshift for Linux is an application that provides functionality similar ...
KB 361001 - What is Boot Process in Linux OS.
Boot Process in Linux OS. Have you ever wondered what happens behind the scenes from the time you press the power button until the Linux login prompt appears? Press the power button on your system, and after few moments you see the Linux login ...
KB 905655 - Linux Software RAID Failure Alert - Troubleshooting Guide
Purpose This document provides a standardized approach for handling and troubleshooting the Linux Software RAID Failure alert, enabling L1 and L2 engineers to respond quickly, minimize risk, and maintain system stability. Alert Name Linux Software ...
KB 547003 - Permanent Mount Devices/File System in Linux
How to mount Devices/File System in Linux This guide only covers NTFS partitions, for other file systems you will need to change the commands or types as needed. Mounting makes file systems, files, directories, devices, and special files available ...
Recent Articles
KB-630208 | How to use Find and Locate to search for files in Linux
Purpose To provide Linux administrators and Field Engineers with guidance on using the find and locate utilities to efficiently search for files and directories within a Linux filesystem based on criteria such as name, type, size, timestamps, ...
KB-630164 | How to use rsync to Synchronize Files
Purpose To provide a clear and practical procedure for using the rsync utility to synchronize files and directories between local systems and remote hosts, including push and pull operations, while preserving file attributes and optimizing data ...
KB-630107 | How to create a Linux swap file
Purpose To provide Field Engineers and Linux administrators with a standardized procedure for creating, configuring, and validating a Linux swap file. This procedure helps ensure sufficient virtual memory is available when physical RAM is exhausted ...
MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims
MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims MSI's standard warranty does not cover physical or accidental damage to an All-in-One (AIO) PC. If the damage is determined to be caused by external factors rather than a ...
KB 134833 - Troubleshooting NVSM Alert NV-CPU-XX – Unrecoverable CPU Internal Error
Purpose This document provides a general troubleshooting procedure for the NVIDIA System Management (NVSM) alert NV-CPU-XX, which indicates that a CPU has reported an internal error. The article outlines how to verify whether the alert represents an ...