Guys, I have a stupid question. Im trying to setup new Emonhub to my RPI SD. I used precompiled image from Aug.13th. I wrote that to my SD and RPI booted succesfully. But now, I need to change emonhub.conf file, which is read only as a whole filesystem. But when I use "rpi -rw" command in putty to make it writeable (following setup cookbook), system reject it as a unknown command.What am I doing wrong way?Thanks
Radek
Re: Writeable SD filesystem
Possibly permission or mode issues try running
sudo chmod +x /usr/bin/rpi-rw
sudo chown pi:pi /usr/bin/rpi-rw
If that works you will probably need to do rpi-ro also
Paul
Re: Writeable SD filesystem
Thanks Paul. I tried both of your commands, but answer of system is "Read-only file system" and any attempt to modify emonhub.conf file or its permissions is still rejected. Any other tip?
Re: Writeable SD filesystem
rpi-rw is just a little script to perform this command with a confirmation message
sudo mount -o remount,rw /dev/mmcblk0p2 /
Re: Writeable SD filesystem
Much better now. It is writable already. Thanks !
Re: Writeable SD filesystem
Whilst it is writable you should fix the rpi-rw script try running the first 2 commands above for both rpi-rw and rpi-ro.
nano /usr/bin/rpi-rw
should contain the line you just used plus the confirmation message and
nano /usr/bin/rpi-ro
should contain
sudo mount -o remount,ro /dev/mmcblk0p2 /
plus the confirmation message
Paul
Re: Writeable SD filesystem
Everything works now. Both sctripts were OK, it was my fault. I wrote rpi -rw instead of rpi-rw (additional space in the middle.
Thanks for you support, Paul.
Radek