internal hard disk changed to read-only-file-system

Asked by Mathias Uebelacker

Hello all,

i've a strange fault. Till last Wednesday my gutsy works fine. I use gutsy and windows on a Hurican Laptop with a 60 GB hard disk. Till last Wednesday the grub loader works fine everything was allright. Now i got a message which means the X-11 Display could not start by an internal error and i should check the logs for further details. If i boot the system in the recovery mode i could see that the hard disk now is only a read-only-file-system. That should protect my data's. How can i change that. All the things i had tried the last three days does not any affect. Any hints?

br
Mathias

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vaida Bogdan (vaidab) said :
#1

The command is: "mount -o remount,rw /". Tell me if you continue having problems.

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#2

Am Sun, 27 Jan 2008 17:26:14 -0000
schrieb Vaida Bogdan <email address hidden>:

> Your question #23236 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/23236
>
> Status: Open => Answered
>
> Vaida Bogdan proposed the following answer:
> The command is: "mount -o remount,rw /". Tell me if you continue
> having problems.
>
Hello Vaida,

After that i tried to start gdm and get blue screen with the error:
--------------------------
could not start the x server.....check syslog.....restart gdm when the
problem is corrected.
--------------------------

So the latest syslog in /var/log is from 19. january.

BTW after a reboot i got the message that the linux partition was
mounted as read-only-file-system.

Revision history for this message
Vaida Bogdan (vaidab) said :
#3

So tell me what does the syslog contain after you try starting gdm.
Check /etc/fstab that it doesn't mount "/" per default as read only.
Also do a "fsck /dev/hdX" where "/dev/hdX" is your "/" partition to check for errors. In some cases "/" is mounted read-only if the device has errors.

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#4

Hello Vaida,

here are the results:

fsck /dev/sda6

/dev/sda6: clean, 300058/2943360 file, 5094903/5883790 blocks

/etc/fstab

/dev/sda6 UUID="here comes a id" / ext3 defaults,errors=remount-rw 0 1

in the syslog file is no entry after typing gdm because the system could not write to the hard disk.

br
Mathias

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#5

if i use your command:

mount -o remount,rw /
i got

[47.040000] EXT3-fs: Unrecognized mount option "errors=remount-rw" or missing value

br
Mathias

Revision history for this message
Vaida Bogdan (vaidab) said :
#6

It seems you're in a loop. You can't make your / read-write to edit your /etc/fstab and remove ",errors=remount-rw" which lets you execute the command.

Boot your Ubuntu cdrom and mount "rw" /dev/your_/_device. Then edit fstab and remove ",errors=remount-rw".

Can you help with this problem?

Provide an answer of your own, or ask Mathias Uebelacker for more information if necessary.

To post a message you must log in.