View previous topic :: View next topic |
Author |
Message |
atmankai n00b
Joined: 30 May 2004 Posts: 6
|
Posted: Sun May 30, 2004 1:08 pm Post subject: depscan.sh error running ... |
|
|
i don't know if this is the right place to post my prob but i'll simply give it a try and hope you can help me.
k. i have an ibook 12". i installed Macosx and gentoo with yaboot.
the boot-manager worked pretty well i could boot osx and gentoo.
the i wanted to install X on gentoo. when the compiler/emerge finished i rebooted. now the gentoo partition is no more able to boot. When i start up 'Linux S' (the single-user mode) it says:
* Caching service dependencies...
* Could not create needed directory '/mnt/.init.d/softscripts'!
* Could not create needed directory '/mnt/.init.d/snapshot'!
* Could not create needed directory '/mnt/.init.d/options'!
* Could not create needed directory '/mnt/.init.d/started'!
mktemp: cannot make temp file /mnt/.init.d/depcache.XT9Nuin: Read-only file system
* Failed to create temporary cache!
/mnt/.init.d/depcache: /mnt/.init.d/depcache: No such file or directory
gawk: /lib/rcscripts/awk/gendepends.awk:441: fatal: can't redirect to `/mnt/.init.d/deptree' (Read-only file system)
* Error running '/sbin/depscan.sh'!
* Please correct any problems above.
my fstab contains the following:
Code: |
/dev/hda11 / ext3 noatime 0 1
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
tmpfs /mnt/.init.d tmpfs rw 0 0
|
any ideas would be nice. Cause i'm really at the end with this. why is it that linux is not built to be rebooted ... |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Sun May 30, 2004 7:18 pm Post subject: |
|
|
Yeah, I had that problem for a while. I think it was due to the fact that I had a slightly corrupted filesystem as I can't unmount my harddrives properly when shutting off my computer. In my case it was solved by doing a fsck on the file system concerned. |
|
Back to top |
|
|
atmankai n00b
Joined: 30 May 2004 Posts: 6
|
Posted: Mon May 31, 2004 12:37 am Post subject: fsck ... |
|
|
tried it. didn't work. he said everything was ok ...
i'll try 'emerge -s world'
nevertheless THX for your reply |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Mon May 31, 2004 7:03 am Post subject: |
|
|
Quote: | gawk: /lib/rcscripts/awk/gendepends.awk:441: fatal: can't redirect to `/mnt/.init.d/deptree' (Read-only file system) |
OK, here is a hint. It seems that your /mnt/.init.d/ is not writable. However, your fstab says it should be. Now, what I am wondering is in what order these things are done. Does the mounting go before or after the depscans are done. Need to check that out.....
Or I can just ask you. In the boot sequence. When this error occurs, have the local filesystems been mounted? |
|
Back to top |
|
|
atmankai n00b
Joined: 30 May 2004 Posts: 6
|
Posted: Mon May 31, 2004 9:57 am Post subject: |
|
|
i checked that. and yes they were mounted. the files he wants are just not there. i think the fs was corrrupted. i'm going for a reinstall of evrything because i need the system to run and i know it was running until the crash.
thank you |
|
Back to top |
|
|
|