Mount external Drive in other path Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

Mount external Drive in other path

Post 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!
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: Mount external Drive in other path

Post 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.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

Re: Mount external Drive in other path

Post by Tusk »

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

You can close the thread.

Thanks!
Post Reply