Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am installing Mandrake 9.2 on a compact flash drive. Long ago I used a RedHat 6.2 system installed on a compact flash drive and it was configured to be a read-only files system. If my memory is correct that was because the compact flash only has a finite number of writes and the linux logging can quickly comsume those writes. Again I recall having to pass the 'ro' kernel parameter. Other than those recollections I have no idea of the specifics for creating the system.
QUESTION/S: Is my recollection antiquated? Does anyone have advice for creating developer linux installs on compact flash drives? If so I would really appreciate your input, otherwise I am proceding with the normal install and hoping for the best.
I don't know that "ro" is neccessary, but noatime (man fstab, man mount) sure is. Otherwise, every time a file is accessed, a write will be generated. What is your goal with this installation?
Thanks for the quick reply. I am building a system that is going to be placed on an outdoor research robot. In being such I need the hardened aspects of the compact flash as well as the ability to develop code for robot control.
I guess the question then is this: will there be any need for data collection or storage? I don't think mounting the system ro is really neccessary, though I would NOT put any sort of swapping on compact flash
Yes, having swap on the flash drive would certainly cause a LOT of write activity. However, swap on a ram disk would rather defeat the point. I would just try to build a system with sufficient ram, or use a secondary drive for swap. (If a flash drive, it will probably need to be tested and/or replaced often).
I am about to do basically the same thing you are working on now.. I am using a small, old desktop PC (basically just the motherboard/proc/ram) as a kind of "fake embedded" system.
My approach is to build a working system on a real hard drive partition until I get it down to the correct size (128MB) and with the correct read-only/ramdisk setup.
I am about to start the ramdisk part of the process... do you have any documentation or references on creating and using a ramdisk in this type of application?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.