GettingSUM.html
Written by Hackenslacker, 2004.
Released under Creative Commons licence.
| back
|
|
Disclaimer
This article is for informational usage only. The information found in this file is not guaranteed to be true and/or accurate, and only applies to Mac OS X 10.3 and ealier. I'm not responsible for what you do, or what anyone else does, with this information.
Wireless (bluetooth) keyboards aren't supported in SUM (bluetooth driver isn't loaded). You *must* connect a wired keyboard.
|
Recovering the Firmware Password
There are a couple tools to help you retrieve the OF password. For OS 9 there is FWSucker, and for OS X there is macKrack. This article assumes you're running OS X, and using macKrack, and can mount disk images. If you can't mount dmg files, you're on your own to find a way to get the program onto the computer. If you're lucky, you'll have another computer you can mount dmg files on, and a USB flash drive (also known as a 'thumb' drive) available.
- Mount the disk image, and run macKrack.
- Open the Utilities drawer if it isn't open altready.
- Click "Passwd" in the Utilities drawer.
- Click "Extract..." next to Open firmware.
If you get a message that there is no password, try a couple more times.
- With password in hand, reboot holding cmd-opt-o-f.
- "setenv security-mode none"
- Enter the password.
- "reset-all"
Since it's going to reboot, this would be a good time to see if you can get into SUM now (hold cmd-s before it starts rebooting).
|
Resetting the Firmware Password
If, for some reason, you can't get the OF password (maybe you can't log in to run any programs), you can reset the password. If any hardware is changed (such as the total amount of RAM) the OF security settings defaults to none, and the password is cleared. The simplest hardware to change is the RAM. So, that's what we'll go
after.
- Shut down. We don't want to kill either ourselves or the machine.
- Open the case, or lift the keyboard.
- Find the nearest stick of RAM.
- Take it out, even if it's the only stick you see.
- Close the case, or put the keyboard back in place.
- Hold these four keys: command, option, 'p', and 'r'.
- Turn the machine on.
- Hold the keys until you hear the boot chime at least three times (two chimes, then let go).
- Let go of the keys and let the machine boot.
- Shut down when you can.
- Open the case, or lift the keyboard.
- Put the RAM back where it was. Be sure it is seated properly.
- Close the case, or put the keyboard back in place.
- Boot holding cmd-s.
|
Starting Services in SUM
Once you get into SUM, there are a few things you should to do before you can do anything else.
- "/sbin/fsck -y"
You may get a warning that the filesystem has Journaling enabled. This is okay. Journaled systems don't need to be fscked. So, don't fsck with them.
- "/sbin/mount -uw /" If you don't run any other command, run this one.
This remounts the master drive for writing. Some sites and indiviuals recommend "mount -uaw". This is okay, but does a bit more than we need done.
At this point, the next commands depend on the version. You can run "sw_vers" To make sure you know what OS you're dealing with.
10.2
- "/sbin/SystemStarter"
10.3
- "/usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d"
- "cd /var/db/netinfo; netinfod -s local"
- "/sbin/SystemStarter"
10.4
- "sh /etc/rc"
Now the machine is set up to do whatever it was you needed to boot into Single-User Mode for.
|
History
Dec 1, 2004:
- Wrote the initial draft, and first copy.
Dec 2, 2004:
- Submitted to Mac Underground.
- Added Table of Contents, Conclusion, and History.
- Fixed Chapter numbering, and title punctuation.
Dec 10, 2004
- Converted the text file to HTML.
Dec 11, 2004
- Final draft.
- Added chapters 3 and 4.
- Moved to public domain.
Mar 12, 2005
- Fixed a bad link in the ToC for Chap 5.
- Added hilighting to terminal commands.
Apr 7, 2005
- Added notes about bluetooth keyboards not working in SUM.
Jul 7, 2005
- Corrected typos in Apr 7's history.
Mar 21, 2006
- Reformatted the page.
- Rewrote and remove several sections.
- Lots of typos corrected.
|