Main > Raspberry Pi & Dev Board
how to change a config setting in a read-only image?
aldub516:
so it seems rwenable works, but im only able to write to a rc.local folder which holds boot options for the frontend. As i said im new to the pi, so I dont even really know how to navigate around well. Im wondering that since this is a custom distro, if maybe the normal /boot/config.txt file isnt even used? I need to change "disable overscan" and the overscan right, left etc values so my screen fits properly on the lcd
JDFan:
Not real familiar with the pi either - hopefully someone with more knowledge will chime in soon ! -- But since it is a text file - you could probably load it up on the windows PC - change the properties to allow writes - change the setting in notepad and save and move the SD card back to the pi and the change should remain.
aldub516:
So last night at 3:30 in the morning I couldn't sleep for anything so I woke up and started working on this. And I figured out just what you said. I mounted the card on my PC made the changes then went back in and everything was good. For someone trying to make a dedicated machine/game,
I could not sing the praise of portable pimame any more. Minus the screen problem which is a pi issue, the front end loaded up right away with roms, and even a newbie like me was able to program a single game boot in seconds.
aldub516:
it turns out that i figured out how to change the files, but now realize that the mame4all runs off its own config, so it still boots up to a giant screen.. Im now trying to learn how to better navigate around the pi directories to change different values
obcd:
If you insert the SD in a windows pc, the boot folder containing the config.txt will become available as drive letter as that's a fat32 partition. (But you already figured that out)
The sd card also has a second partition with all the linux stuff. That's an ext4 partition that can't be seen by windows.
If you mount the sd card in a linux pc, the ext4 partition becomes available. This linux machine can be a virtual pc running in virtualbox.
Some fiiles are only accessible if you have administrator rights. Usually placing sudo in front of your editor is all it takes.
This might be the reason why you can't change the files on the pi itself, even after you mounted the partition back as read/write
The write protect switch of the sd card connector isn't used on the raspberry pi. So, the wp slider on the sd card is ignored.
Basically, only files in your home folder can be changed without administrator (sudo) rights. It depends upon the right flags of the file.
Navigation
[0] Message Index
[*] Previous page
Go to full version