SOLVED: Trouble accessing /etc/fstab access denied
-
- Posts: 3
- Joined: Sun Nov 09, 2014 9:20 pm
SOLVED: Trouble accessing /etc/fstab access denied
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
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.
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
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 3
- Joined: Sun Nov 09, 2014 9:20 pm
Re: Trouble accessing /etc/fstab access denied
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
Thanks
Re: Trouble accessing /etc/fstab access denied
Ok, then you need to install nano.
The drives will only mount on boot if they are in the /etc/fstab file.
Code: Select all
yum install nano
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 3
- Joined: Sun Nov 09, 2014 9:20 pm
Re: Trouble accessing /etc/fstab access denied
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
It's not so bad now is it 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
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 24 guests