Page 1 of 2
[solved]Cant find Boot folder, I dont have permission to modify sshd_config, Permision denied!!how to make a new system
Posted: Fri Nov 10, 2017 5:02 am
by Mario.Semiglia
Hallo people, I need some help, this thing is driving me crazy!!
I was triying to make a new system on my GBZ to split my snes games from my super famicom games:
https://github.com/RetroPie/RetroPie-Se ... ionStation
for that i needed to find the es_systems.cfg (which i can not find) and to buckup my files first, but, I could not find the etc folder either conected via wifi trough my computer (the folder is not there, i only can see bios, configs, roms, splashscreens and themes folders, so where the heck is the Boot folder?)
So I tryed modifing the SSH of my gameboy to see if I can see it then:
https://github.com/RetroPie/RetroPie-Se ... ot-anymore
After following the steps ive got this "ERROR writing /etc/ssh/sshd_config: Permision denied"
I don know how to get this permiton... I just wanna see my boot folder again

what should i do
...by the way i am really newbie in all off this, so please be patient...
thanks in advance
Re: Cant find Boot folder, I dont have permission to modify the sshd_config!!
Posted: Fri Nov 10, 2017 5:54 am
by YaYa
To gain access to the whole system, you need to bypass your current user account (pi) and use the super user account.
This is done by prefixing sudo before any command...
Like
whithout this, you do not have permission to reboot.
BUT !!!!!!! Be careful as you can do whatever you want so if don’t know what you are doing, then Don’t do it ! You will break your system.
For the root filesystem, just type cd / and you will leave the user account folder (/home/pi or ~ in short)
Type pwd to see where your are (Print Working Directory)
Re: Cant find Boot folder, I dont have permission to modify the sshd_config!!
Posted: Fri Nov 10, 2017 7:56 am
by Mario.Semiglia
Thanks for the quick reply!! I will tell you a little what I have done: I activated the SSH from the configurations so I can do everything from my pc using Winscp. I done de cd / command and then I pressed ls to se which folders I can see and I ccan see the boot file, non the less when I tried to download a folder to buckup my configs (i dont wanna try anything before bucking up) I still do not have permition... is there something that i need to do from my computer to get acces?
Re: Cant find Boot folder, I dont have permission to modify the sshd_config!!
Posted: Fri Nov 10, 2017 8:16 am
by Mario.Semiglia
Re: Cant find Boot folder, I dont have permission to modify the sshd_config!!
Posted: Fri Nov 10, 2017 8:31 am
by YaYa
You cannot make a backup by just copying the files... you need to use win32disk and read the SD card to your pc to make a backup.
Here is a tutorial
https://www.raspberrypi.org/forums/view ... hp?t=26463
Are you french Mario ?
Re: Cant find Boot folder, I dont have permission to modify the sshd_config!!
Posted: Fri Nov 10, 2017 8:36 am
by Mario.Semiglia
no I come from Uruguay,

I will read the tutorial thanks. By the way, I still do not have the permition even for writing a "." on any document... I wanna modify the es_systems.cfg to be able to spleat my snes from my Super Famicom games... doesnt let me
Sorry for annoying that much
Re: Cant find Boot folder, I dont have permission to modify the sshd_config, Permision denied!!
Posted: Fri Nov 10, 2017 8:49 am
by YaYa
You need to edit them by using the sudo command from the command line.
Si tu intentas cambiar el archivo en winscp, eso no se puede !
Re: Cant find Boot folder, I dont have permission to modify the sshd_config, Permision denied!!
Posted: Fri Nov 10, 2017 8:53 am
by YaYa
Instead of winscp (which tou may use for rom transfer only) use Putty to ssh i to your Pi to edit files.
Read this tutorial i have written
http://sudomod.com/forum/viewtopic.php?f=45&t=3567
To edit a file, you use the nano program.
You need super user rights so you type
Cambia your_file por el archivo que tu quieres cambiar !
Re: Cant find Boot folder, I dont have permission to modify the sshd_config, Permision denied!!
Posted: Fri Nov 10, 2017 12:00 pm
by Mario.Semiglia
Hey Man, thank you very very much!!
the sudo works great (besides that I fucked up my system

) and the shh via putty works grat as well
pitty trying to add a system to my GBZ i fucked it up
I added this to my es_system.cfg file (on etc/emulationstation)
<system>
<name>SFM</name>
<fullname>Super Famicom</fullname>
<path>/home/pi/RetroPie/roms/SFM</path>
<extension>.bin .smc .sfc .fig .swc .mgd .zip . BIN .SMC .SFC .FIG .SWC .MGD .ZIP</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ SFM %ROM%</command>
<Platform>snes</platform>
<theme>SFM</theme>
</system>
and the system doesnt work any more: do you see some mistake? when I delete it GBZ works again
THANKS A LOT FOR YOUR TIME, you are deffenetly very cool
Re: Cant find Boot folder, I dont have permission to modify the sshd_config, Permision denied!!
Posted: Fri Nov 10, 2017 12:19 pm
by YaYa
Please use the code tag to display code !
And please don’t use bad words lol, this is a public forum with young children reading through these lines...
You shpuld take care of the text formatting, everything is case sensitive also.
Code: Select all
<system>
<name>hacks</name>
<path>~/RetroPie/roms/hacks</path>
<extension>.bin .gen .int .nes .rom .smc .BIN .GEN .INT .NES .ROM .SMC</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ hacks %ROM%</command>
<theme>hacks</theme>
</system>
This is just an example.
Read here
https://github.com/RetroPie/RetroPie-Se ... ionStation
The tags are all low caps.