
In this tutorial, we’ll walk you through the process of changing the mounting point for Plex Media Manager on your Ubuntu system. This process is essential when Plex is not recognizing your partition or when you want to organize your media files in a specific directory.
To change the mounting point for Plex Media Manager on Ubuntu, you need to identify the UUID of the partition you want to change, modify the /etc/fstab
file to specify the new mount point, and apply the changes by rebooting or running the sudo mount -a
command. Verify the changes by using the df -h
command to check the new mount location.
Understanding Mounting Points
In Linux, a mount point is a directory where a mounted filesystem is attached. When you mount a filesystem, you make it available to the system’s user. The mounting point can be any empty directory, but conventionally it is a directory under /mnt
or /media
.
Identifying the UUID of the Partition
The first step in changing the mounting point is to identify the UUID (Universally Unique Identifier) of the partition you want to change.
You can do this by running the following command in your terminal:
sudo blkid
This command will display the UUIDs for all partitions. Note down the UUID for the partition you want to change the mounting point for.
Modifying the fstab File
The next step is to modify the /etc/fstab
file. This file is used to define how disk partitions, various other block devices, or remote filesystems should be mounted into the filesystem.
Open the /etc/fstab
file by running the following command:
sudo nano /etc/fstab
In the /etc/fstab
file, locate the line that references the partition you want to change the mounting point for. It will look something like this:
UUID="xxxx-xxxx" /media/Radi ext4 defaults,user,auto 0 1
Here, UUID="xxxx-xxxx"
is the unique identifier for your partition. /media/Radi
is the current mount point, and ext4
is the type of the filesystem. defaults,user,auto
are the mount options, and 0 1
are the dump and pass numbers, respectively.
Change the mount point /media/Radi
to your desired location. For example:
UUID="xxxx-xxxx" /media/NewMountPoint ext4 defaults,user,auto 0 1
After making the changes, save and exit the file. In nano, you can do this by pressing Ctrl+X
, then Y
to confirm saving the changes, and finally Enter
to confirm the file name.
Applying the Changes
Now, you need to apply the changes. You can do this by rebooting your computer or by running the following command:
sudo mount -a
This command will mount all filesystems mentioned in /etc/fstab
.
Verifying the Changes
To verify that the partition is now mounted at the new location, you can use the df
command:
df -h
This command will display the disk usage in a human-readable format. You should see your partition mounted at the new location in the output.
Conclusion
Changing the mounting point for Plex Media Manager on Ubuntu involves identifying the UUID of the partition, modifying the /etc/fstab
file, and applying the changes. Remember to verify that the changes have been applied correctly by checking the mount location of the partition.
If you’re using Plex Media Manager and it’s not recognizing your partition, changing the mounting point as suggested may help. However, ensure that the Plex user has the necessary read permissions on the media files. You can also try temporarily bind mounting the partition to another directory using the mount --bind
command to test if Plex can detect the files in a different location.
To find the UUID of a partition in Ubuntu, you can use the sudo blkid
command in the terminal. This command will display the UUIDs for all partitions on your system.
Yes, you can choose any empty directory as the mounting point for Plex Media Manager. However, it is recommended to use a directory under /mnt
or /media
as the convention suggests.
You can open the /etc/fstab
file in Ubuntu by running the command sudo nano /etc/fstab
in the terminal. This will open the file in the nano text editor.
The /etc/fstab
file is used to define how disk partitions, block devices, or remote filesystems should be mounted into the Ubuntu filesystem. It specifies the mount points, filesystem types, mount options, and other details for each entry.
To save and exit the nano text editor, you can press Ctrl+X
on your keyboard, then press Y
to confirm saving the changes, and finally press Enter
to confirm the file name.
You can apply the changes made in the /etc/fstab
file by either rebooting your computer or by running the command sudo mount -a
in the terminal. The mount -a
command will mount all filesystems mentioned in the /etc/fstab
file.
To verify that the partition is mounted at the new location, you can use the df -h
command in the terminal. This command will display the disk usage in a human-readable format, and you should see your partition mounted at the new location in the output.