So I am making a Linux mint based living room PC that is going to use my NAS as the actual media Store location. As of right now I am having an issue with making the correct folders permanently mount and I think its down to the fact that there is not fstab file in my /etc folder. Being new to linux this just leaves me with the question what will happen if I make my own fstab file and should I be on the lookout for other folders or files that are missing that would be necessary to configure the network drive?
Er.. you definitely should have one..
Are you sure..
yup spent 30 min last night confirming that fact using the search function in the GUI and looking through directories.
What does this produce from the command line
cat /etc/fstab
Your system shouldn't function without one.. unless mints doing something weird.
I am away from my house and the PC right now but if i put in this command sudo gedit /etc/fstab
I just get a blank file as in no text at all.
That's pretty strange. I can't find anything to suggest that mint has changed where fstab is or anything like that. I assume you've rebooted the system without issue? Because it really shouldn't be able to boot properly without that file as it tells the system where to mount the filesystems including root and swap.
it should be at /etc/fstab but you could try running this command:
sudo find / -name "fstab"
If it exists somewhere else that should list it.
btrfs can mount via a kernel parameter AFAIK. maybe mint is doing that?
That could be it, not sure if mint uses btrfs by default.
Try running grep btrfs /etc/mtab
that will show any mounted btrfs filsystems, if you have one for /
then that is probably what's going on. In that case you should be alright to just create the /etc/fstab file and configure your mounts for the network shares.
Are you dual booting? There is someone else who had a problem with a missing fstab. They are using Ubuntu tho, but of course mint is based off of Ubuntu. There is no clear answer into what caused it, but at least you know that you are not the only one.
It is weird that you are able to boot into Linux, but Linux says you have no fstab. Because if you had no fstab you would not be able to boot into Linux at all.
I am not running Mint but if you are running Mint 18, the release notes say Btrfs support is back and installed by default again.
So if that means that btrfs is used by default, follow what was said above.
You have a fstab....Mint has automounting by default active and it does not mount partitions at start up.
You can check the disks utility and change the mount options for the partition you want to disable automount and set it to mount at start up. I suspect that the network drive should be visible there.
so to answer some of the questions that have come up this is a single OS system it had Kubuntu on it for about 2 hours before I used g-partition on the hard drive to wipe the file structure and then did a clean instal I enabled the LVM option when I did the hard drive format during install of Linux Mint.
later today or tomorrow once i get some time I will check to see if it is BTRFS and if so will just create the Fstab settings file.
thanks for all the info I appreciate it.
I did find the FSTAB file and learned an oddity of linux and hidden files.