image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old January 28th, 2007, 06:18 AM
Registered User
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mr_zebra 84 is on a distinguished road
shell?

Hello!I'm new user.

I have a question. This morning, i was using my mac, but some divX files didn't open so I decided to shut it down. But it couldn't, so i was forced to hold the power button down for seconds. After this, i pressed it again to start MAC OS X again. (version 10.4 i think). All ordinary, but after the white screen with the gray apple, appeared a black screen with those white words:

-sh: /etc/profile: is a directory
-sh-2.05b#

What do I have to write?? I'm desperate, I have everything in my mac!!

Thank you for the attention

Carlo
Reply With Quote
  #2  
Old January 28th, 2007, 07:14 AM
Yesurbius's Avatar
Registered User
 
Join Date: Jan 2001
Location: Edmonton, Alberta
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Yesurbius is on a distinguished road
You are going into single-user or maintenance mode because something is afoul.

Try this command (type what's after the #, I put the prompt for clarity)

-sh-2.05b# reboot

and hit enter at that # prompt. your system should shutdown and restart - and see if boots up fine now. If it goes back to the prompt, then it sounds to me like you may just need to run a file system check:

-sh-2.05b# fsck -y

If it still does not work, what are the 10 preceeding lines prior to the prompt? You can also check out the latest system log entries by typing:

-sh-2.05b# tail /var/log/system.log

This will print the last 10 entries in the system log.

As far as your data goes - relax ... unless your hard drive failed you'll be fine.
Reply With Quote
  #3  
Old January 28th, 2007, 08:02 AM
Registered User
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mr_zebra 84 is on a distinguished road
Thank you very much!!
but unfortunately this happened:
i followed your steps. first, with the prompt REBOOT it didn't boot up fine.
after, typing fsck -y, these lines appeared:

** /dev/rdisk0s3
** Root file system
** Checking HFS Plus Volume
fsck_hfs: Volume is journaled. No checking performed.
fsck_hfs: Use the -f option to force checking

then, i tried with tail /var/log/system.log and the next lines appeared:

tail: /var/log/system.log: Operation not permitted

and that's it.

What should I do?

You very kind to help me!

Thank you!!

(if u wanna chat directly to me, my msn contact is mr_zebra84@hotmail.com)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:27 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.