Difference between revisions of "Startup key combinations for Macs"

From Bashlinux
Jump to: navigation, search
Line 137: Line 137:
 
| Bypass specified startup connections
 
| Bypass specified startup connections
 
|-
 
|-
| Bring up rebuild options
+
| Bring up rebuild options
|}
 
 
== Password recovery ==
 
On client the procedure is:
 
# Boot on single-user mode
 
# Change the password on command-line:
 
 
<pre><nowiki>
 
# passwd my_user
 
</nowiki></pre>
 
 
 
On XServe the procedure is:
 
# Boot on single-user mode:
 
# Mount partition
 
 
<pre><nowiki>
 
# fsck
 
# mount -uw /
 
</nowiki></pre>
 
 
# Change password
 
 
<pre><nowiki>
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/$newuser _writers_passwd administrator
 
# passwd administrator
 
</nowiki></pre>
 
 
 
== Create a new user with administrative privileges ==
 
First write down the gid which comes from admin group
 
 
<pre><nowiki>
 
# nicl -raw /var/db/netinfo/local.nidb -read /groups/admin
 
</nowiki></pre>
 
 
Lets say, the gid is '''''20''''', then from command line execute:
 
 
<pre><nowiki>
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user uid my_user_id
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user realname "My User Real Name"
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user passwd "my_user_passwd"
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user gid 20
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user shell "/bin/bash"
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user home "/Users/my_user"
 
# nicl -raw /var/db/netinfo/local.nidb -create /users/my_user _writers_passwd my_user
 
# passwd my_user
 
# ditto /System/Library/UserTemplate/English.lproj /Users/my_user
 
# chown -R my_user:staff /Users/my_user
 
# nicl -raw /var/db/netinfo/local.nidb -read /users/my_user
 
# nicl -raw /var/db/netinfo/local.nidb -append /groups/wheel users my_user
 
# nicl -raw /var/db/netinfo/local.nidb -append /groups/admin users my_user
 
</nowiki></pre>
 

Revision as of 20:25, 26 March 2012

Startup key combinations for Macs

Intel-based Macs

Press C during startup
Press D during startup
Press Option-Command-P-R
Press Option during startup
Press N
Press Eject, F12, or hold the mouse (/trackpad) button
Press N during startup
Press T during startup
Press Shift during startup
Press Command-V during startup
Press Command-S during startup
Press Option-N during startup

Apple Boot Key Combos

Bypass startup drive and boot from external (or CD)
Boot from CD (Most late model Apples)
Force the internal hard drive to be the boot drive
Boot from a specific SCSI ID #.(#=SCSI ID number)
Zap PRAM
Boot into open Firmware
Clear NV RAM. Similar to reset-all in open Firmware
Disable Extensions
Rebuild Desktop
Close finder windows.(hold just before finder starts)
Boot with Virtual Memory off
Trigger extension manager at boot-up
Force Quadra av machines to use TV as a monitor
Boot from ROM (Mac Classic only)
Force PowerBooks to reset the screen
Force an AV monitor to be recognized as one
Eject Boot Floppy
Select volume to start from
Start in Firewire target drive mode
Startup in OSX if OS9 and OXS in boot partition
Attempt to boot from network server (Hold until Mac Logo appears)
Hold down until the 2nd chime, will boot into 9?
OSX: Watch the status of the system load
OSX: Enter single-user mode (shell-level mode)

After startup

Bring up dialogue for shutdown/sleep/restart
Eject a Floppy Disk
Force current app to quit
Unconditionally reboot
Fast Shutdown
Goto the debugger (if MacsBug is installed)
Reset Power Manager on PowerBooks
Put late model PowerBooks & Desktops to sleep

Application Specific Keys

SuperMac (at least some models)press&hold
Imagine 128 Card (reset resolution)
RasterOps (at least some models)press&hold
Radius (Use cable sense pins to set resolution)
Radius (Cycle through available resolutions)

Conflict Catcher

Pause Boot
Launch CC at Startup
Skip remaining extensions
Reboot cleanly while loading extensions

RAM Doubler

Disable at Startup

Apple System Installer

Change custom install to clean install

Claris Emailer

Bypass specified startup connections
Bring up rebuild options