Page 1 of 1

Mount external Drive in other path

Posted: Sun Jul 12, 2020 3:57 pm
by Tusk
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!

Re: Mount external Drive in other path

Posted: Sun Jul 12, 2020 8:37 pm
by Joulinar
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.

Re: Mount external Drive in other path

Posted: Mon Jul 13, 2020 1:40 pm
by Tusk
Perfect! I thought if I do that change, when I reboot my rasp will not automount.

You can close the thread.

Thanks!