fsck not working in single user mode


 
Thread Tools Search this Thread
Operating Systems Solaris fsck not working in single user mode
# 1  
Old 09-24-2007
Question fsck not working in single user mode

My solaris10 machine suddenly hanged and when i rebooted it gave me warnings like
"WARNING: Unexpected token ' ' on line 10 of /platform/sun4u/kernel/drv/sf.conf "
and many more.
I went into the single user mode by
#boot cdrom -s
I tried executing fsck -y there.But it did not work.
It does not give me any error...but it just comes back to the prompt wothout displaying anything..

Now when i tried booting from cd it gave me errors like
WARNING:/usr/sbin/2fs mount -a failed
svc:/system/filesystem/local:default method /lib/svc/method/fs -local" failed

what could be the problem?
Any suggestions of how i can resolve this issue?
HELP ME!!Smilie
# 2  
Old 09-26-2007
Quote:
Originally Posted by lydiaEd
My solaris10 machine suddenly hanged and when i rebooted it gave me warnings like
"WARNING: Unexpected token ' ' on line 10 of /platform/sun4u/kernel/drv/sf.conf "
and many more.
I went into the single user mode by
#boot cdrom -s
I tried executing fsck -y there.But it did not work.
It does not give me any error...but it just comes back to the prompt wothout displaying anything..

Now when i tried booting from cd it gave me errors like
WARNING:/usr/sbin/2fs mount -a failed
svc:/system/filesystem/local:default method /lib/svc/method/fs -local" failed

what could be the problem?
Any suggestions of how i can resolve this issue?
HELP ME!!Smilie

wild thought:
the -y option in fsck is for "Assume a yes response to all questions asked by fsck".

Could it be that here is your problem. Try to run in without -y.


Regards,
Johan Louwers.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Single user mode

Dear All I am trying to install my os as : ok>boot cdrom - install but receiving the following : "IDprom checksum error getexecname() failed /sbin/rcS /etc/vfstab cannot create INIT:failed write utmpx enrty INIT:single user mode INIT:execle of /etc/sulogin failed Enter run level" Can you... (6 Replies)
Discussion started by: hadimotamedi
6 Replies

2. Solaris

Single user mode

Hi all I am new on sun OS. I have have little experience on linux. The Story start from this point: I want to put some script on start-up the terminal, but I cant do that. my shell was sh and I tried so much to find way to do that. at last someone said to me change your shell to bash. I ask how... (4 Replies)
Discussion started by: Rahim_T
4 Replies

3. Linux

passwd command not working in single user mode

dear all in single user mode i want to change password in RHEL server 6.0 (Santiago) i tired using passwd command it is not able to change. how to change it. thanks in advance (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. Solaris

Are FSCK commands logged during single user mode?

Who knows if when working in the single user mode that any command are logged or could b elogged specially if I do a fsck I like at least to see when I did start it. (1 Reply)
Discussion started by: manni2
1 Replies

5. SCO

fsck and single user mode

I am working with SCO 5.0.7 and I need to run fsck on the root file system. I understand that filesystems need to be unmounted before running fsck but I cannot unmount the root filesystem because it is always "busy." My question is can I safely run fsck on the root filesystem in single user mode... (2 Replies)
Discussion started by: powwm
2 Replies

6. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

7. UNIX for Advanced & Expert Users

single user mode

Is there another way of switching to single user mode except by typing /usr/sbin/shutdown 0 ??? :rolleyes: (5 Replies)
Discussion started by: kekanap
5 Replies

8. UNIX for Dummies Questions & Answers

single-user mode

how do you boot into single user mode? RedHat 7.1 Caldera 2.4 (2 Replies)
Discussion started by: zorro81
2 Replies

9. UNIX for Dummies Questions & Answers

Single user mode

Hi all, Well back at work and back to crashing systems again :-) Does anyone know where I can find some decent information on single user mode? I need to be able to fix a few things. Don't know if it's possible in single user mode but I need to fix the "etc/vfstab" mainly I re-wrote it to... (2 Replies)
Discussion started by: merlin
2 Replies

10. UNIX for Dummies Questions & Answers

single user mode

Hi all, why "vi" acts differently is single user mode? Does anyone help ? I am using "x" to delete and it keeps messing up. Please help Thanks (2 Replies)
Discussion started by: guest100
2 Replies
Login or Register to Ask a Question