How To Fix “Mount Point Does Not Exist Error” In Linux
If you’ve encountered the “mount point does not exist” error in Linux, don’t worry. It’s one of the common issue in Linux ( Don’t abuse us lol ). This guide will walk you through the steps to resolve it quickly.
How To Fix “Mount Point Does Not Exist Error” In Linux
1. Verify the Mount Point’s Existence:
Run the following command to check if the desired mount point is available or not. Replace mounting-point-name with the actual name you intend to use.
mount | grep -w 'mounting-point-name'
If no output is displayed, the mount point doesn’t exist and you need to create a mounting point.
Run the following command to create the missing mount point. Replace mount-point-name with your preferred name. Create it using the mkdir command:
sudo mkdir /mnt/mount-point-name
2. Mount the Drive:
Now after creating a mount point, run the following command to mount the drive. Use sudo to have an administrative privileges when creating mount points.
mount /dev/<drivename> </new/directoryname>.
How To Mount Drive In Linux?
- Run the lsblk -lf command to find the path to the drive. If the drive is already mounted, you will see a path under “MOUNTPOINTS.”
- Create a new directory for the mount point.
Use mount to mount the drive to the new directory. The syntax is mount /dev/drivename .
sudo mount /dev/sdc4 /media/mymountdirectoryname.