Lost in the underworld clutches of Terminal, the wicked beast

Joined
Dec 15, 2006
Messages
33
Reaction score
1
Points
8
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?
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
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?
 
OP
P
Joined
Dec 15, 2006
Messages
33
Reaction score
1
Points
8
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!
 
Joined
Jan 29, 2008
Messages
703
Reaction score
9
Points
18
Location
Mendocino, CA
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.
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
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
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
I suggest you reinstall Onyx and uncheck the box for "Single User".
It's easier than trying to fix things in single user mode.
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
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.
 
OP
P
Joined
Dec 15, 2006
Messages
33
Reaction score
1
Points
8
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.
 
Joined
Nov 28, 2007
Messages
25,564
Reaction score
486
Points
83
Location
Blue Mountains NSW Australia
Your Mac's Specs
Silver M1 iMac 512/16/8/8 macOS 11.6
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/
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top