Results 1 to 10 of 15
Something unfortunate happened to me as a guest unavare of what he was doing shutted down my server from the powerbutton (he tought he was starting it up).
Well, now ...
- 08-30-2005 #1Just Joined!
- Join Date
- Aug 2005
- Location
- Helsinki, Finland
- Posts
- 9
Boot Problem - Error: read only filesystem
Something unfortunate happened to me as a guest unavare of what he was doing shutted down my server from the powerbutton (he tought he was starting it up).
Well, now when i start the server all processes end up with [ FAILED ], and as error message i get a complaining that the filesystem is read only. So it cant delete or create any runfiles...
I manage to login if i choose the failsafe option from the bootloader, and thus am able to do some limited things.
I ran the e2fsck with -pf on all partitions but that didnt help.
Does anyone have a clue what i could do except reinstalling the system.
- 08-30-2005 #2Just Joined!
- Join Date
- Aug 2005
- Location
- Helsinki, Finland
- Posts
- 9
More details to help you diagnose my problem.
Running fdisk results:
Code:[root@(none) /]# fdisk -l cannot open /proc/partitions
- 08-30-2005 #3
So e2fsck found no problem? And you ran it on the / filesystem?
What happens if you try to mount /?
- 08-30-2005 #4
If you want to skip the long bootup process, a quick way into a failsafe is to add:
To your boot options, which will yield a root console. From there:Code:init=/bin/bash
Code:mount -no remount,rw /
- 08-30-2005 #5Just Joined!
- Join Date
- Aug 2005
- Location
- Helsinki, Finland
- Posts
- 9
I ran,
Originally Posted by anomie
(thats all of my partitions)Code:e2fsck -pf /dev/hda1 e2fsck -pf /dev/hda6
It says:
Originally Posted by anomie
Code:mount: /dev/hda1 already mounted or / busy mount: according to mtab, /dev/ide/host0/bus0/target0/lun0/part1 is alredy mounted on /
Thanks for the advice, i will try this even though i didnt really understand what it will do (i guess ill find out)...
Originally Posted by lakerdonald
- 08-30-2005 #6
You'll need to:
before running fsck.Code:umount /dev/...
edit:
heh just thought about that and realized that you're not on a livecd so that wouldn't work
heh
- 08-30-2005 #7
You need to get to single-user mode before running the filesystem check on /.
Tryas root (after booting).Code:init 1
- 08-30-2005 #8Just Joined!
- Join Date
- Aug 2005
- Location
- Helsinki, Finland
- Posts
- 9
Ok so i do after boot
should i then doCode:init 1 umount /
Code:e2fsck -pf /dev/hda1 (or) e2fsck -pf /
- 08-30-2005 #9
Well, assuming /dev/hda1 is where you mount /, then run it on the device itself - /dev/hda1. (At times when the file system check program can get to /etc/fstab you can use either one.)
- 08-30-2005 #10Just Joined!
- Join Date
- Aug 2005
- Location
- Helsinki, Finland
- Posts
- 9
Ok i did that now and i get a clean report from all partitions now as well.
But the error persists, upon boot (and shutdown, which i did forget to mention earlier) anything the loader does is responded by either;
a) IOError [Errno 30] Read only filesystem
b) [Errno 30] Read only filesystem
c) Read only filesystem
accompanied with the name of some file or pid that it tried to operate on.


Reply With Quote
