fsck not working in single user mode


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
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  
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 for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #685
Difficulty: Medium
Reverse Polish notation (RPN), also known as Polish programming notation.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. UNIX for Dummies Questions & Answers

how to Single user mode?

How to enter single user mode when UNIX/LINUX system is starting? (1 Reply)
Discussion started by: gkreddy
1 Replies

7. UNIX for Advanced & Expert Users

single user mode

How to diable the single user mode.. what i want is dat my users are unable to boot in single user mode via GRUB.. (1 Reply)
Discussion started by: ankit.jss
1 Replies

8. 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

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

Featured Tech Videos