Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Read-only file system boot errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
palmer
Guru
Guru


Joined: 17 Nov 2004
Posts: 322
Location: Berkeley, CA

PostPosted: Tue Jun 27, 2006 10:17 pm    Post subject: Read-only file system boot errors Reply with quote

The power went out, and I am trying to reboot my desktop
It has failed to boot

On the screen is (hand-typed, so probably errors):
Code:
INIT: Entering runlevel: 3
 * Caching service dependencies ...
rm: cannot remove '/var/lib/init.d/depcache': Read-only file system
rm: cannot remove '/var/lib/init.d/deptree': Read-only file system
/bin/mktemp: cannot create temp file /var/lib/depcache.X3RoE9C: Read-only file system
* Failed to create temporary cache
rm: cannot remove '/var/lib/init.d/deptree': Read-only file system
:0: assertion failed: system(rm -f /var/lib/init.d/deptree)
gawk: /lib/rcscripts/awk/gendepends.awk:440: fatal: can't redirect to '/var/lib/init.d/deptree' (Read-only file system)
touch: cannot touch '/var/lib/init.d/depcache': Read-only file system
touch: cannot touch '/var/lib/init.d/deptree': Read-only file system
chmod: changing permissions of '/var/lib/init.d/depcache': Read-only file system
chmod: changing permissions of '/var/lib/init.d/deptree': Read-only file system
* Failed to cache service dependencies [!!]
* Error running '/sbin/depscan.sh'!
* Please correct any problems above.

Login:


I can see no problems with mounting the file system or anything like that (ls -l shows writable, mount lists the / as rw)
I am completely lost

-palmer
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Jun 27, 2006 10:29 pm    Post subject: Reply with quote

Try booting a livecd and run a filesystem check (with the force option) on all of your filesystems. Then see if it will boot properly. If it still doesn't work, take a look at the file and directory permissions on /var/lib/* to see if maybe they were screwed up by the power failure.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
palmer
Guru
Guru


Joined: 17 Nov 2004
Posts: 322
Location: Berkeley, CA

PostPosted: Tue Jun 27, 2006 10:57 pm    Post subject: Reply with quote

In the liveCD, I am able to mount, read, and write to the filesystem

The check of /dev/sda3 (mounted at /) found 2 errors:
bad_leaf: block XXXXXXX, items X and X: The wrong order of items
It suggests running with "--rebuild-tree"
How dangerous is this? (I remember once it dumped a whole lot of stuff into lost+found)

EDIT:
Figure it can't be worse than not booting at all, going for it
Plus, I have some of my data backed up

-palmer
Back to top
View user's profile Send private message
palmer
Guru
Guru


Joined: 17 Nov 2004
Posts: 322
Location: Berkeley, CA

PostPosted: Wed Jun 28, 2006 1:33 am    Post subject: Reply with quote

After running the fsck, the problem remains

-palmem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum