New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Lost in the underworld clutches of Terminal, the wicked beast


Post Reply New Thread Subscribe

 
Thread Tools
protem

 
Member Since: Dec 15, 2006
Posts: 33
protem is on a distinguished road

protem is offline
I'm a nice guy, I don't step on ants, and I obey the law. I'm still using my white 2001 G3 iBook, running OS 10.3.9, and mostly surf the Internet. I do nothing fancy, and it's not likely I'll ever write a book on how to be a hero to your computer.

Last week, I ran Onyx, a little utility I picked up recently to do maintenance and optimization. I don't know what that means, but it sounded good. The details of what ensued are blurry now, but I ended up with a black window and white text on my screen. I'm not sure of the language but there was a little English mixed in with Swahili or something else inscrutable like Chinese At the end of the text, there was a very fat, white capital I.

I called a friend whose intelligence is only one pay grade higher than mine who said Holy! you're in Terminal, you just demolished your machine!!! At the library, I found a picture with the same screen. The caption said: type — fsck -y, and then hit "Enter." I did that and it sounded like my machine was making cement. After awhile I got a report that said: "The volume Macintosh HD appears to be OK." The caption advised: type"reboot" and hit ENTER.

I did so and ended up exactly where I began this odyssey mired in that black screen. Then, another friend thought that maybe I should type: EXIT and hit ENTER. Jesus, that caused everything to hit the fan, my whole HD paraded down the screen, I couldn't believe my eyes. Finally, after the rattling subsided, I ended up with a normal blue screen from whence I logged in. I was elated, everything worked great, except every morning I get that black window back and I have to go through that EXIT routine all over again.

Is there anyone out there who knows how I can get the heck out of Terminal where a dummy like me has no business to start with. I've uninstalled ONYX to forestall a repeat of this horror in the future if I ever get this wretched mess straightened out. Can I type: "GET LOST" to banish Terminal back to the underworld again?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
First; Great story. You should think of writing that book. This is amongst the best introductions to a problem I've seen. Very funny. By the way, NEVER execute a Unix command when you don't know what it is going to do because it could wipe out your system.

I'm not yet sure of your issue.

Are you saying that when you boot up from an off state that you Mac boots with a bunch of text scrolling and eventually a full screen version of Terminal with no GUI?

Or, are you saying, that the boot process is normal, but that a small Terminal window opens automatically and you then just have to quit that Application?

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
protem

 
Member Since: Dec 15, 2006
Posts: 33
protem is on a distinguished road

protem is offline
To complicate my excruciating woe, I suffer from a gaping ignorance of computer lingo. I had to look up GUI in Webopedia, and I'm still not sure I know what you mean? Let me try to explain my problem again. When I hit the Power Button after a Shut Down, what ultimately materializes on my screen is the Terminal window (i.e., white text on black background.). If I type EXIT at the fat white capital I at the very bottom (prompt mark?) and press ENTER, an avalanche of Terminal stuff scrolls down my screen in fits and starts which happily culminates in my normal blue screen from whence I'm accustomed to choosing what I'll do on that occasion. As long as I keep my computer on — no problems. When I shut down for the night, I can look forward to the routine I described above when I boot up in the morning.

If the distinction between your two questions is the size of the Terminal window, in my case the Terminal window I'm coping with, is the full screen, the whole caboodle.

I've had the benefit of other advise, as follows: I was urged to hold down keys P-R-Command-Control while starting up to teach my PRAM manners. I did this, it wasn't easy, but the result was nil.

I've also been advised to type in QUIT and press ENTER. I held off on this one.

Another helpful person grinning from ear to ear and using a festive voice, advised me that using that fsck routine with Panther, was as good as dropping my iBook off the roof on a pile of rocks. It had to do with something about a Journal.

I still can't believe how a virgin like me got so pregnant!
QUOTE Thanks
kahlil88

 
kahlil88's Avatar
 
Member Since: Jan 29, 2008
Location: Mendocino, CA
Posts: 680
kahlil88 is a jewel in the roughkahlil88 is a jewel in the rough
Mac Specs: 17" MacBook Pro A1151 2.16 GHz

kahlil88 is offline
GUI is graphical user interface, meaning icons, menus, windows, mouse cursor, etc. If you're getting a full-screen command prompt before the GUI even loads, I'm guessing your computer is booting Mac OS X in debug mode or something. Also, while it's possible to screw things up typing in commands that you don't understand, using Terminal isn't going to destroy the computer, as your friend suggested. It might help if you gave a more detailed description of what comes up.

There is no system but GNU and Linux is one of its kernels.
Join the FSF as an Associate Member!

QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
well, the good news is fsck is just a file system check

Now, how'd you boot to single user mode? which is what it really sounds like


out of curiosity what are the contents of this file? /etc/ttys

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,388
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
I suggest you reinstall Onyx and uncheck the box for "Single User".
It's easier than trying to fix things in single user mode.

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
Also, according the OnyX Help system, you can type the following at the terminal prompt;
nvram boot-args = ""
To find the whole information, type single-user in the Help box and click on Login which will show you the info you need.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
protem

 
Member Since: Dec 15, 2006
Posts: 33
protem is on a distinguished road

protem is offline
I'm not depreciating brains or anything like that, it's nice to have a brain or two, but thank god for plain dumb luck. It's a long story, but shortened to a manageable length let me proudly confess that though I didn't have a clue what I was doing, I solved my problem.

Blindly following the advice of a person, who without equivocating, instructed me to spread my fingers around on my keyboard in such a way as to insure that the Command - Option - R - P keys were depressed right at the Boot. I was told to listen for the introductory chord and to maintain my position until the chord sounded a second time. This arcane maneuver was alleged to have reset my PRAM. I don't know what a PRAM is, but my mine must have needed a resetting because my problem magically disappeared.

Hallelujah and hot-dog, I'm back in business. Thank all of you who came to my rescue — it all worked out in the end.
QUOTE Thanks
harryb2448

 
harryb2448's Avatar
 
Member Since: Nov 28, 2007
Location: Nambucca Heads Australia
Posts: 18,141
harryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond repute
Mac Specs: iMac i5 2.7GHz, 16GB memory, OS 10.10.1

harryb2448 is offline
And if you wish to do those maintenance thingos, download Main Menu which is much gently then Onyx, runs scripts, and keeps one out of Terminal.

http://www.santasw.com/
QUOTE Thanks

Post Reply New Thread Subscribe


« zlib-devel or libz.a | Cocoa programming issue »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 05:06 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?