How to change mounting point?

51,453

Firstly get to know the partition reference. Run sudo blkid and note the UUID of the partition.

Next you need to modify your /etc/fstab file to point to the desired mount point. Run sudo xdg-open /etc/fstab and add a line or modify the line referencing the partition.

An example line:

UUID="xxxx-xxxx"    /media/Radi ext4    defaults,user,auto  0   1

Then reboot your computer or run sudo mount -a

Share:
51,453
radibg2
Author by

radibg2

Updated on September 18, 2022

Comments

  • radibg2
    radibg2 over 1 year

    By some reason Plex Media Manager won't recognize my partition(/media/radibg2/Radi/). I've tried to start

    x-www-browser http://localhost:32400/manage
    

    (this is what the plex shortcut which is showing in the search runs) as sudo but it again didn't find the files? It loads the partition empty. In the Plex forum answered me to change the mounting point to /media/Radi and it will load the files, so how to do?

  • Xen2050
    Xen2050 over 9 years
    If you're changing the mount point, why first copy all the files from the mounted /media/radibg2/Radi to the unmounted (empty) directory /media/Radi? The files will stay put on whatever partition is being mounted