kitsonk wrote:sideways wrote:
Wouldn't it be better to convert to ext3, cramfs is read-only.
What edit did you apply to the busybox config to get vi?
Ok, I don't know how (yet) to mount an ext3 from a file. We don't have a spare partition and don't have sufficient free RAM to create another ram disk. I will look into some way of doing it.
As far as busybox... I don't *know* if it is the right way, but after my first build, I removed the cramfs files and decended into build_arm_nofpu/busybox-1.01 from the buildroot and did a make menuconfig. There I got all the rules I needed. Then I rm'ed my busybox binary, went back up to the buildroot and make'd again. I also needed a rout point which I changed by going into build_arm_nofpu/root.
You're right! If you run make menuconfig from /buildroot/build_arm_nofpu/busybox-1.01 you get a menu which allows sophisticated configuration of busybox - I was trying to do it manually (duh!)
Vi is under the Editors section. Thanks! (You then run 'make clean' & 'make' while still in that directory, then change back to /buildroot and run make again, if you now mount the compiled rootfs.*.cramfs, the modified busybox is in /bin, and there will be a vi link there too)
As for mounting an ext3 file - I showed how to do this for /opt in a post on
page 8 (about half way down the page) - the /opt partition is the only one we can umount in a live session and then remount with rw permissions. (As long as things like opera, apdf, wireless file server aren't running, basically you have to be quick, since the wifi shuts down after a minute or so if you don't start up opera again)
(I also noticed that under the 'Linux Systems Utilities' section there is an option for 'forced filesystem unmounting' in umount)
EDIT just saw your post above on successfully remounting / on ext3 - well done!