Is there any linux distro that can write to media to which it is installed
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.
When a system boots, say, using the GRUB boot-loader, then the majority of the boot-time software (including most of GRUB itself) is located in "an ordinary directory on the hard drive." The kernel is also found there, and the boot-loader knows how to navigate the file-system to find it. Although it is customary best-practice to make those files (and often, the entire /boot branch) read-only, those areas can still be writable. Furthermore, although it is frequently the case that areas such as /usr may correspond to other partitions on a multi-partitioned media ... again, there is no physical requirement for this to be so.
You could easily organize your boot-media so that it contains the customary-and-protected boot-folder and, on the very same media, other read/write areas of the file system to which any application may read or write at any time.
When you "shut down the system," what actually happens is that the system switches to a different "run level." (See man inittab e.g.) When this happens, init/systemd begins to execute a prescribed series of programs, the cumulative effect is to shut the system down in an organized fashion. (There's a lot of detail here that I won't go into now ...) But, if you want particular things to be-sure-to happen as you shut the machine down, this is the place and the method by which to do it. On any Unix/Linux system. You can precisely determine what happens and in what sequence it happens.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
flash drives, yes, but unfortunately rewritable cd-rom isn't random access, it has to be erased before re-writing, so i highly doubt that would be practical (theoretically possible yes, but horribly impractical)
Well, what about a multi-session DVD ? That might work, but it doesn't make much sense to do so. I mean it wouldn't work like you think it would. You would have to append a session with some files, but it wouldn't change the first session.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.