Page 1 of 1
SOLVED: Trouble accessing /etc/fstab access denied
Posted: Sun Nov 09, 2014 9:26 pm
by dadoughton
I am trying to add a second drive to my HDA. I went through the wiki for adding a second drive. When I get to the step to edit the fstab file, I get stuck. The gedit, nano, kedit commands do not work to edit the file. The only editor that will open is vi and it to complex for me figure out. I am using an ssh to get into my HDA and am in root. I can mount the drive and it is seen by the HDA but on restart it goes away without the UUID being added to the fstab file.
Re: Trouble accessing /etc/fstab access denied
Posted: Sun Nov 09, 2014 9:59 pm
by bigfoot65
I presume this is Amahi 7. Only nano and vi will work as it's headless. Gedit and Kedit are graphical interfaces that require a Desktop, therefore they will not work.
Are you editing the file as root? If you can only get vi to work, then recommend you use it. The internet will be show how to use it. It's not that advanced, just different for those who never use it.
Re: Trouble accessing /etc/fstab access denied
Posted: Mon Nov 10, 2014 11:42 am
by dadoughton
I was editing as root. nano did not work as well. It said command not found. If I installed Greyhole to pool the drives, will it edit the fstab to mount the drive each time at start up?
Thanks
Re: Trouble accessing /etc/fstab access denied
Posted: Mon Nov 10, 2014 12:54 pm
by bigfoot65
Ok, then you need to install nano.
The drives will only mount on boot if they are in the /etc/fstab file.
Re: Trouble accessing /etc/fstab access denied
Posted: Thu Nov 13, 2014 2:26 pm
by dadoughton
Thanks for the help. I was able to read up on vi and figure out how to made the modification to the file.
Re: Trouble accessing /etc/fstab access denied
Posted: Thu Nov 13, 2014 2:30 pm
by bigfoot65
It's not so bad now is it

Glad you got things sorted out.