You are not logged in.

#1 2009-06-23 15:09:11

nawitus
Member
Registered: 2009-05-11
Posts: 112

[partially solved] Root mounted as read-only, lots of errors

I started my laptop without the power cord, and the boot stopped at several steps. I could continue the boot with pressing the power button for a second. XFCE booted fine, but some things were broken. Then I rebooted, and I cannot boot to xfce anymore at all (with or without power cord), since the root is mounted as read-only, and other partitions are not mounted at all. I didn't change my system at all so it is difficult to fix the problem. Now when I boot I just get lots of errors due to the read-only root partition. Fstab should be okay since it worked before, and has not been modified in months.

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

UUID=141f10a8-d0f2-43e0-b71e-5d01f1b3b126 /boot ext2 defaults 0 0
UUID=7f0ebf97-6e66-4e39-9db8-05fabd53180b swap swap defaults 0 0
UUID=859ac481-922b-4126-a575-462b145581fd / jfs defaults 0 0
UUID=3439fb11-ee6f-443a-9635-73ee7268e31c /media/disk ext3 defaults,data=writeback 0 0
UUID=82e37328-095e-4fd8-87ca-a74c6decc746 /media/oldroot ext3 defaults,data=writeback 0 0

I found related errors in daemon.log

Jun 23 13:15:26 nawi laptop-mode: Remounting filesystems.
Jun 23 13:15:26 nawi laptop-mode: /dev/sda6 not found in PARTITIONS.
Jun 23 13:15:26 nawi laptop-mode: / not found in PARTITIONS.
Jun 23 13:15:26 nawi laptop-mode: Checking /dev/sda6 against HD because PARTITIONS contains "auto".
Jun 23 13:15:26 nawi laptop-mode:    Considering /dev/sda.
Jun 23 13:15:26 nawi laptop-mode:    /dev/sda6 contains /dev/sda, which is in HD, so we will remount it.
Jun 23 13:15:26 nawi laptop-mode: Original options: rw
Jun 23 13:15:26 nawi laptop-mode: Reducing file system type.
Jun 23 13:15:26 nawi laptop-mode: Executing: mount /dev/sda6 / -t jfs -o remount,rw,atime,norelatime
Jun 23 13:15:26 nawi laptop-mode: Executing: /sbin/blockdev --setfra 256 /dev/sda6
Jun 23 13:15:26 nawi laptop-mode: none not found in PARTITIONS.
Jun 23 13:15:26 nawi laptop-mode: /dev not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
Jun 23 13:15:27 nawi laptop-mode:    Considering /dev/sda.
Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: /proc not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
Jun 23 13:15:27 nawi laptop-mode:    Considering /dev/sda.
Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: /sys not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
Jun 23 13:15:27 nawi laptop-mode:    Considering /dev/sda.
Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: /dev/pts not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
Jun 23 13:15:27 nawi laptop-mode:    Considering /dev/sda.
Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: /dev/shm not found in PARTITIONS.
Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".

Last edited by nawitus (2009-06-23 20:57:47)

Offline

#2 2009-06-23 15:32:18

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [partially solved] Root mounted as read-only, lots of errors

mount -o remount,rw /

[edit]
-nah, sorry I spoke ... I never intended to post it, but hit a wrong button :-(
[/edit]

Last edited by perbh (2009-06-23 15:33:58)

Offline

#3 2009-06-23 15:36:43

nawitus
Member
Registered: 2009-05-11
Posts: 112

Re: [partially solved] Root mounted as read-only, lots of errors

hmm, I don't think you can remount root. By the way, filecheck says the root partition is okay.

Offline

#4 2009-06-23 16:26:31

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: [partially solved] Root mounted as read-only, lots of errors

nawitus wrote:

hmm, I don't think you can remount root.

Yes you can.

Offline

#5 2009-06-23 20:57:24

nawitus
Member
Registered: 2009-05-11
Posts: 112

Re: [partially solved] Root mounted as read-only, lots of errors

It seems that laptop-mode remounted the partitions as read-only, because of bug in laptop-mode(?). I disabled that daemon, and now boot works. After that I can boot normally even with laptop-mode daemon, but now I'm afraid of booting without the power cord as that can break the system..

Offline

Board footer

Powered by FluxBB