LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mounting a drive on boot. (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-a-drive-on-boot-4175689789/)

M1952 02-03-2021 09:23 AM

Mounting a drive on boot.
 
Hi, I am a fairly new user and need some advice on a problem i have not been successful in resurrecting. I have a dual boot system with Ubuntu 20.10 Groovy Gorilla and windows. I use the Ubuntu "instance" as a media server for music and movie files. Those files are stored on a shared fat32 partition. I need to have this partition (hard disk) mounted on boot so the files are readily available for the media server immediately. How do I mount this Partition (disk) on boot?
Thanks in advance for any help you might give me on this subject.
M1952

business_kid 02-03-2021 02:31 PM

You need to make a line for it in /etc/fstab, and the system will mount it when it's mounting the other non root drives. As root is mounting it, users will only have read access.

frankbell 02-03-2021 08:21 PM

If you configure the fstab file properly, you can allow user access.

Here is a good tutorial on /etc/fstab: https://www.howtogeek.com/howto/3812...-does-it-work/


All times are GMT -5. The time now is 01:06 AM.