PDA

View Full Version : write to flash after booting



kpettersen
08-01-2005, 08:12 PM
I am currently booting a knoppix variant from a 512 mb flash without any problems. This is for a kiosk system that will be running in multiple venues across the country. I have a need to update some of the software over the network. I have noticed that /cdrom contains the files I need to replace, but it is mounted read-only. Since this is actually a flash device, I would like to get it mounted read/write so I can periodically update things.

Is there a place in the boot process where the cdrom ( flash in my case ) is mounted read-only that I can change to read/write?

I won't be writing to it very often, but doing it over the network will save having to ship out new compact flash devices......

--------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is a little more detail:

I am running Morphix, and want to replace the main module. Or add a mini module, or files to the copy directory.

If anybody had some ideas on how to accomplish this, I would appreciate it.

KP

kpettersen
08-02-2005, 05:26 PM
Solved my own issue.

In miniroot.gz there is a file called linuxrc. In that file you can change the mount options from read-only (ro) to read-write (rw).

I was then able to put files into the /cdrom directory, and they would stay, as long as I made sure and did a 'sync' before I shut down the system.