Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Boot commands for open firmware

Boot commands for open firmware
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 16, 2005, 10:24 AM
 
Sorry for posting twice, but the Board just dont let me repost in my orginal post.
It seems it got lost and only the headline made it.

Ok, i´ll retry:

After setting my iBook´s firmware password in order to prevent non-default boot drives, I wonder
what one has to type to let the Mac boot up in Single-User mode.

I tried 'boot -s' and 'mac-boot -s' and the like but no one worked.

The only way I could work out so far was to change the 'boot-args' variable but I´d prefer to not having to set it back every time.

thx, Sepp
     
Mac Elite
Join Date: Sep 2002
Status: Offline
Reply With Quote
Jun 17, 2005, 02:20 AM
 
     
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 17, 2005, 03:00 AM
 
Er, not quite.
With firmware password enabled, I can´t use the Apple+s keys for that.

That´s why I am looking for a command to boot from the firmware console.
     
Mac Elite
Join Date: Sep 2002
Status: Offline
Reply With Quote
Jun 17, 2005, 05:09 AM
 
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
Jun 17, 2005, 07:06 AM
 
Who says you have to "boot" to single user mode? Try Tiger cache cleaner. You can boot to the GUI and then use TCC to drop backwards to single user mode.

Chris
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
Jun 17, 2005, 05:08 PM
 
Originally Posted by SeppSchrot
> The only way I could work out so far was to change the 'boot-args' variable
> but I´d prefer to not having to set it back every time.
Right, setenv boot-args -s would be the only way to do it from the OF screen.
(And as you said, the setting sticks)

Another approach might be to enter into the 'console' by typing
>console
for the username... which brings up a UNIX style login prompt.

Then -- once logged in as an admin user -- type:
sudo shutdown now
and (again) enter an admin password.

After "shutdown" (of the multi-user environment) completes,
you will arrive into single-user mode... and see the familiar
sh-2.05a# prompt.

While this sort of thing may be possible from the GUI (using
Terminal or TCC), I would be more inclined towards doing it
from the login window (preferably right after a fresh restart).
 
(Last edited by Hal Itosis; Jun 17, 2005 at 05:31 PM. )
-HI-
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
Jun 17, 2005, 06:01 PM
 
Originally Posted by Hal Itosis
Another approach might be to enter into the 'console' by typing
>console
for the username... which brings up a UNIX style login prompt... 
Good thought but the console is not available when the open firmware password us enabled

Chris
     
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 18, 2005, 09:52 AM
 
Ok,

seems I have to life with it. Still wondering what the cmd+s hook is invoking.
Strange thing, I believed these sort of things were firmware cmd-interpreters made for.

Thx for all your answers,
Sepp.
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
Jun 18, 2005, 11:14 PM
 
Originally Posted by chabig
the console is not available when the open firmware password is enabled
Oh... is that something new in Tiger? (I'll have to try it later).

I used to do it in Jaguar and Panther (tho >console in Panther
was pretty flakey under 'normal' conditions). I don't see why
Open Firmware would/should prevent >console type logins.
It's just another User Interface. [I do believe you're mistaken].
-HI-
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
Jun 18, 2005, 11:54 PM
 
You know, you're right. I was wrong. Open Firmware password has never blocked console login.

Chris
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 07:46 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2