You are not logged in.

#1 2011-12-20 03:06:35

ukyoi
Member
From: Beijing, China
Registered: 2011-04-30
Posts: 10
Website

[SOLVED?] Problem: Hard drive is mounted as read-only when startup

Thanks for your patience.

The problem starts with here: There is an old bug on my computer : when I shutdown the monitor and try to wake up it, it will result in a kernel panic (see here: https://bugs.archlinux.org/task/27054) Some days ago I ran pacman -Syu and upgraded acpid, clucene and initscripts, then I want to check if the bug was fixed, so I turned off the monitor but kernel panic again.

Then I have to force reboot my computer. But this time I got:

INIT: Id "x" respawning too fast: disabled for 5 minutes

and my disk was mounted as read-only.

My graphic card is mobility radeon HD5650 and I'm using catalyst 11.2.
I mount my hard disk as:

/dev/sda8 swap swap
/dev/sda9 ext4 /

I thought it was caused by my hard drive or X, so I commented the line

x:5:respawn:/usr/bin/kdm -nodaemon

in my inittab, then used

mount -o remount,rw /

to remount my drive as read-write and ran fsck to fix it.
But the drive still can't be mounted properly. Now when the kernel start, nothing others can be started properly and I only got a login interface:

(none) login:

.

Does anyone know the reason and/or the solution? Would you mind telling me?

Thanks.

Last edited by ukyoi (2012-01-06 05:05:28)

Offline

#2 2011-12-21 13:46:18

TastyDr.Pepper
Member
From: Somewhere, in the US
Registered: 2011-11-23
Posts: 20

Re: [SOLVED?] Problem: Hard drive is mounted as read-only when startup

I'm not quite sure what's going on, but it almost sounds as if some stuff got corrupted, although for your sake I hope that's not true.

ukyoi wrote:

in my inittab, then used

mount -o remount,rw /

to remount my drive as read-write and ran fsck to fix it.
.

I sure hope you didn't check the disk while it was mounted because this message always scared me away:

/dev/sda7 is mounted.

WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)?

Also, it seems that if your drive is mounting read only you know it's the right one, but it doesn't hurt to make sure there isn't a flash drive plugged in or something, as I know my system wouldn't start just because of that once, and then I switched over to UUID in grub and the fstab. and I don't have that problem. Other than that I'm just as lost as you are. You could always try booting to a live cd, checking the disk and then seeing if you can mount it read/write while you're on the CD

Offline

#3 2012-01-06 05:02:45

ukyoi
Member
From: Beijing, China
Registered: 2011-04-30
Posts: 10
Website

Re: [SOLVED?] Problem: Hard drive is mounted as read-only when startup

TastyDr.Pepper wrote:

I'm not quite sure what's going on, but it almost sounds as if some stuff got corrupted, although for your sake I hope that's not true.

ukyoi wrote:

in my inittab, then used

mount -o remount,rw /

to remount my drive as read-write and ran fsck to fix it.
.

I sure hope you didn't check the disk while it was mounted because this message always scared me away:

/dev/sda7 is mounted.

WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)?

Also, it seems that if your drive is mounting read only you know it's the right one, but it doesn't hurt to make sure there isn't a flash drive plugged in or something, as I know my system wouldn't start just because of that once, and then I switched over to UUID in grub and the fstab. and I don't have that problem. Other than that I'm just as lost as you are. You could always try booting to a live cd, checking the disk and then seeing if you can mount it read/write while you're on the CD

Thanks for your answer. I used to check a mounted disk and it was OK. Now I re-installed my system to get rid of the problem.

Last edited by ukyoi (2012-01-06 05:04:37)

Offline

Board footer

Powered by FluxBB