mad_ady wrote:scoobydo: you are trying to write over files on a read only filesystem (cramfs is a read-only, compressed filesystem), and you can't overwrite the files with conventional methods.
You could convert the osd.bin you are trying to use from cramfs to ext3, and then it would be writable (and slightly larger). The way you would do the "conversion" would be to create a new ext3 filesystem and copy the files from the osd.bin to the new filesystem.
I haven't tried this, but try the following (change the path to your USB drive where appropriate):
- Code: Select all
#create an empty file big enough to hold the osd.bin (16M)
dd if=/dev/zero of=/tmp/mnt/USB-UID/osd-ext3.bin bs=1M count=16
#create a new ext3 filesytem inside the file
#mount the new filesystem
mount -o loop,rw /tmp/mnt/USB-UID/osd-ext3.bin /tmp/newosd
#copy the files over (assuming they are all under /osd - you need to check what files are exposed from your osd.bin)
cp -ar /osd/* /tmp/newosd
You will need to know the file structure of the original osd.bin and copy the relevant files to the new image. When you are done cloning the original one, rename it as osd.bin and reboot with it attached. Then, you should be able to overwrite the files you want.
Users browsing this forum: No registered users and 0 guests