 |
 |
Boot commands for open firmware
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2005
Status:
Offline
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2005
Status:
Offline
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
You know, you're right. I was wrong. Open Firmware password has never blocked console login.
Chris
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|