In the past when I entered recovery-mode, the root filesystem was read-only and that was perfectly fine.

But now. after pressing enter at the prompt to drop to shell, it is mounted read-write. It is cumbersome to remount as read-only because many processes are accessing files on it.

I need root filesystem read-only when I am in recovery mode. How can I boot into recovery mode and have it read-only?


At initrd stage the root fs is in ro mode. And after systemd starts and remounts root fs into rw mode. I don't know guts of systemd well. So I tell you how to stop booting right before systemd. You need to add this line:


to the end of the kernel parameters. You'll get a command line and the root fs will be in ro mode.

  • This causes me to enter to initramfs shell which is fine for my purposes. Before I mark is correct, I will wait if somebody comes up with a solution which brings back original recovery console functionality with read-only root partition. Thanks! – yurtesen Oct 31 '17 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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