Re-mount as rw partitions in read only mode #105

Closed
ilvalle opened this Issue Aug 19, 2013 · 2 comments

Projects

None yet

2 participants

@ilvalle

It would be nice to remount as rw the filesystem when rpi-update detects that both the partitions boot and root are mounted as read-only

@popcornmix
Collaborator

I'm sorry, that is not standard behaviour for tools that write files.
I worry that someone who has deliberately mounted boot read only would not be happy if I circumvented that.

@popcornmix popcornmix closed this Aug 19, 2013
@ilvalle

Filesystems in readonly seems mandatory for production systems where there is no guarantee at all that the OS is switched off in a cleaner way. My experience is that, without the read-only way after several reboot the sd falls in a corrupted state and I have to re-flash it from scratch.

To some extent rpi-update behaves as apt-get, the latter hasn't got the option I requested but there is a simple way to achieve it see https://wiki.debian.org/ReadonlyRoot#Make_apt-get_remount_.2F_if_needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment