SOLVED: Trouble accessing /etc/fstab access denied

dadoughton
Posts: 3
Joined: Sun Nov 09, 2014 9:20 pm

SOLVED: Trouble accessing /etc/fstab access denied

Postby dadoughton » Sun Nov 09, 2014 9:26 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble accessing /etc/fstab access denied

Postby bigfoot65 » Sun Nov 09, 2014 9:59 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dadoughton
Posts: 3
Joined: Sun Nov 09, 2014 9:20 pm

Re: Trouble accessing /etc/fstab access denied

Postby dadoughton » Mon Nov 10, 2014 11:42 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble accessing /etc/fstab access denied

Postby bigfoot65 » Mon Nov 10, 2014 12:54 pm

Ok, then you need to install nano.

Code: Select all

yum install nano
The drives will only mount on boot if they are in the /etc/fstab file.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dadoughton
Posts: 3
Joined: Sun Nov 09, 2014 9:20 pm

Re: Trouble accessing /etc/fstab access denied

Postby dadoughton » Thu Nov 13, 2014 2:26 pm

Thanks for the help. I was able to read up on vi and figure out how to made the modification to the file.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble accessing /etc/fstab access denied

Postby bigfoot65 » Thu Nov 13, 2014 2:30 pm

It's not so bad now is it :D Glad you got things sorted out.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 35 guests