Root partition read-only

Jonas Norlander jonorland at gmail.com
Tue Apr 14 16:59:25 UTC 2009


On Tue, Apr 14, 2009 at 1:25 PM, Antonio Augusto (Mancha)
<mkhaos7 at gmail.com> wrote:
> Hi folks,
>
> I'm having a strange problem. Today, for the second time, when booting
> my computer (a Dell Laptop), mounted my filesystem as readonly (jfs
> for the matters).
>
> The first time this happened was during aprils fool, when I couldn't
> get it to mount the filesystem correctly for some time (rebooted the
> system 5 or 6 times before it actually mounted it as r/w).
>
> Today it happened again.
> The only thing in common that i see is that, both times i was running
> on batteries. And when connected the power the problem got away. I
> can't see to find ways to reproduce it.
>
> But I think it might be related to the fact the fsck is not ran if the
> system is on batteries. So, it might be that the fs gets corrupted by
> some reason, and on reboot its not clean, and hence mount can't
> remount it r/w (thou I haven't seen any message indicating this).
>
> Anyways, has anybody else experienced it?
> I've opened bug #361023 to report this problem.
>
> Thanks in advance.

If there are filesystem errors you should see them when booting. To
see the boot text, remove the quiet and splash options in grub or you
could reboot into "recovery mode"
There is an option "errors=remount-ro" in /etc/fstab that will remount
the partition read-only if there are any errors, i don't know if it is
valid for JFS. If you have filesystem errors boot from an boot-cd and
run a check on your partition.

/ Jonas




More information about the kubuntu-users mailing list