Panther console

13 posts / 0 new
Last post
catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
Panther console

Is there a way to cause Panther to boot into console mode (NOT single-user)?

I have a server that I mostly run headless, so no need for GUI, but the best I have been able to do is type ">console" into the login window after rebooting, then switch off the monitor. I'd like to be able to boot into console mode, such that if I needed the GUI, I'd just try to login with a non-existant login, which launches the login window.

Offline
Last seen: 13 years 1 month ago
Joined: Dec 19 2003 - 17:34
Well, I've got the answer for ya.

Apple + S. (Command S) That'll boot you into the unix shell on bootup. Good luck!

catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
single user mode

Thanks, but that is not what I asked for. That's how to boot into single-user mode... single user, can only work from the keyboard attached to that computer, no networking, its for troubleshooting.

I want the multi-user console mode. And I don't want to be sitting at the keyboard to make it happen.

Try this:
At the login window, click "Other" then enter ">console" in the name field with no password. It puts the computer into console mode, but it is still networked, still sharing with the previous settings. Basically its exactly the same as Panther, same exact functionality, but with no GUI. Its Darwin.

How to I automatically boot into that?

Offline
Last seen: 12 years 2 weeks ago
Joined: Dec 20 2003 - 10:38
have you tried setting it to

have you tried setting it to auto login and using that as the user?

catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
sort of

I've thought of that, but that means I have to create a user called:
>console

which would have its own home directory, and its own desktop,
but I seriously doubt it will work (its probably an invalid user name).

It might work if there is a way to set the auto-login from the command line without creating a new user with that name, because the preference panel doesn't list that as an option. I don't know how to do that either.

Jon
Jon's picture
Offline
Last seen: 7 years 1 month ago
Joined: Dec 20 2003 - 10:38
If you're comfortable enough

If you're comfortable enough to run GUI-less on X, then just edit /etc/rc and the line quite near the end (3rd from the end?) reads:

SystemStarter -g ${VerboseFlag} ${SafeBoot}

According to 'man SystemStarter' the '-g' flag signals a GUI boot. Try deleteing just that flag and see what happens.

catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
nope

I couldn't tell if it did anything... it still lauches the gui...
but thanks, I like the way you think.

I'm gonna try
-v verbose (text mode) startup
next

darn, that doesn't do anything either...

Jon
Jon's picture
Offline
Last seen: 7 years 1 month ago
Joined: Dec 20 2003 - 10:38
Ah-ha! It seems that omitting

Ah-ha! It seems that omitting the '-g' only stops SS from showing the progress bar before it launches Aqua. Look into editing the files in '/System/Library/StartupItems'. 'CoreGraphics' looks like a good candidate, but I only gave it a cursory read through.

Offline
Last seen: 1 week 2 days ago
Joined: Dec 20 2003 - 10:38
'WindowServer' is the name of

'WindowServer' is the name of the process under OS X that handles the GUI crap. I'm not exactly sure if it's there though, as I'm on a Sun right now.

Offline
Last seen: 3 years 11 months ago
Joined: Sep 16 2004 - 22:28
Sure...

It's pretty easy; edit /etc/ttys. and comment out the line with console at (stuff)/loginwindow, and uncomment the one with console at getty.

Be sure to set verbose booting, else you'll probably end up with a blank blue screen or something.

John

Jon
Jon's picture
Offline
Last seen: 7 years 1 month ago
Joined: Dec 20 2003 - 10:38
How would verbose boot be set

How would verbose boot be set, in the OF? I don't recall much from the rc except checking for the boot flags. Doing the tty thing is certainly easier than I was thinking. I'll have to give it a shot on my iMac and see how it goes, verbose or not.

Offline
Last seen: 3 years 11 months ago
Joined: Sep 16 2004 - 22:28
Verbose mode...

As root, this should do it:
nvram boot-args="-v"

Xpostfacto gives you that option, too.

John

Jon
Jon's picture
Offline
Last seen: 7 years 1 month ago
Joined: Dec 20 2003 - 10:38
I've locked myself outta the

I've locked myself outta the iMac with the tty tip, before you gave us the nvram verbose tip. Smile I use either a cruddy USB keyboard, or a cruddy USB -> PS/2 adapter, and neither will let me do a Cmd-V on bootup, but I can use the USB keyboard to get OF. What would the OF command be to do the same? Something like 'setenv boot-args -v' ? OR would OF need the quotes? I'm sure the command line version needs them so the shell doesn't trap the '-v' flag and try to use it with the nvram command. I'll give a few tries on OF on my own, and if they don't work, I'll be locked outta the iMac for a while longer (or until I decide to re-format/install) :macos:

EDIT: Using 'setenv boot-args -v' in OF got it to boot in text-mode, but xinetd failed, and thus System Starter failed. Any ideas?

Log in or register to post comments