Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a Linux system consisting of a bootloader, the kernel and an initramfs (no block devices, no other root filesystem):

Is it possible to make the initramfs read-only once expanded into memory?

share|improve this question
Probably, but why? I suspect the kernel itself doesn't care one way or the other. But you almost certainly need to start some software after loading the kernel, and the software you start may need write access. – Zoredache Jan 7 '13 at 23:13

You could try giving the remount option a whirl.

mount -o remount,ro /

Do pay heed to Zoredache's comment. Just because you can doesn't mean it won't go terribly, horribly wrong.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.