Mount external Drive in other path

Hi

I am migrating a plex media server installation, but I need to mount the HDD in /media/usb0 path because I had the media files in that path.

I’ve mounted the external drive with dietpi software but I’m required to mount it in the mnt directory

Can I change that directory…?

Thanks!

Hi,

many thanks for your request. You can adjust this be editing /etc/fstab and change /mnt/usb0 into /media/usb0. Usually it’s one of the last lines within the file. Pls make sure mount point /media/usb0 is existing already, to be able to mount you HDD to that folder.

Perfect! I thought if I do that change, when I reboot my rasp will not automount.

You can close the thread.

Thanks!