3

I have a Powerbook G4 whose owner forgot her password.

(This is a Powerbook 6,8. The install disk says OSX 10.4 but I don't know if it's been upgraded.)

I can't insert the install disk into the optical drive (it encounters a solid resistance - I can't tell if there's another disk in there or not, but pressing Eject does nothing, and I don't see any hole in which to poke a paperclip to try to manually eject it).

I found a recommendation to:

  • boot into single-user mode
  • run fsck -fy
  • mount -uw /
  • rm /var/db/.AppleSetupDone
  • reboot

which supposedly would take me through creating a new (admin) user account, which I could then use to reset the owner's password. It rebooted, asked me what language I wanted to use, and after that, nothing (it briefly showed the spinning gear, changed the screen color a couple of times, showed the spinning gear, changed screen color, ad infinitum).

I did manage, from single user mode, to use Unix commands to verify that the owner's home directory still existed. I also inserted a flash drive into a USB port hoping I might use Unix 'cp' to copy the home directory onto it, but it didn't appear in the /Volumes directory.

Now the machine boots up to the window asking what language to use, and goes no further. And as I mentioned, the optical drive doesn't appear to work.

Before I go out and buy a FW 400-800 cable and a FW800-Thunderbolt adapter to try and mount the PB in firewire mode to my 2012 MBP, I wondered if someone could suggest any other things to try.

UPDATE in response to Gordon Davisson:

Output of sw_vers

  • ProductName: Mac OS X
  • ProductVersion: 10.4.11
  • BuildVersion: 8S165

Output of ls /dev/disk*

  • /dev/disk0 /dev/disk0s1 /dev/disk0s3

Output of ls /dev/disk* after plugging in flash drive

  • /dev/disk0 /dev/disk0s1 /dev/disk0s3 (same)

Output of diskutil list

  • Command never completed! (I also tried rebooting and issuing command without flash drive inserted - same result.)

I reran fsck -fy but got a clean bill of health.

[UPDATE]: There is no disk in the optical drive, but a mechanical "stop" that is apparently designed to hold the CD in has moved into place as if a CD were there. This is what is preventing my inserting a CD.

[UPDATE]: All suggestions were useful but were stymied by other unforeseen problems (optical drive problem, etc.). I finally paid about $35 for a Firewire 400-800 cable and a Firewire->Thunderbolt adaptor, booted the laptop into FW target mode, and successfully copied the home folder (about 40GB) onto my Mac. The laptop may be a brick at this point, but the data is rescued. Mission accomplished.

3
  • In single-user mode, run the commands sw_vers and ls /dev/disk*, then plug in the USB flash disk and run the ls command again. Also, with the flash disk connected, try diskutil list -I'm not sure it'll work, but if it does it'll tell us more about the disk setup. Anyway. Add the output from these commands to your question. Commented Feb 6, 2017 at 7:53
  • Have you tried force ejecting the (non)disk? Turn off the Powerbook, hold the click bar or mouse button, then power on. That should force a cycle of the eject mechanism so you can try the installer disk.
    – Allan
    Commented Feb 10, 2017 at 1:27
  • @Allan Yes. Holding the click bar and powering on, I can see something "cycle" that lasts about one second -- the mechanical "stop" retracts, and something close to the center moves toward me; then they return to their original positions. I assume these are the motions of an eject, but it seems odd that they would finish the cycle by returning to a position that prevents a disk from being inserted.
    – Chap
    Commented Feb 10, 2017 at 3:28

3 Answers 3

2

As a first step, I would try ejecting from the Optical drive again. However, this time try this:

  1. Ensure the PowerBook is switched off

  2. Press the mouse button (or trackpad button) down and keep it down

  3. Restart the PowerBook and keep the button down until something ejects or you get the same language prompt again

Assuming this ejects a CD/DVD, then try the Install disk option.

NOTE: If these steps don't work, you may want to try again with a USB mouse if you didn't already (just in case there's an issue with the trackpad).

[EDIT]

If you can't use the Optical drive, then you have two options.

  1. Purchase a FireWire cable (as you've already noted) and use Target Disk Mode
  2. Remove the hard drive altogether and use it in an external case/enclosure

Of course, option 2 will depend on whether the intention was to still use the PowerBook and whether or not you feel comfortable with the hard drive removal.

If you'd like to determine your willingness to do this, here are the instructions for doing so with that PowerBook (based on your description).

One advantage of this approach (besides the fact you can pick up external cases for next to nothing) is that you can potentially still use the hard drive as an external drive once you've recovered the data. You can also then choose to reformat and reinstall the system and replace it back into the PowerBook (if there is still a purpose for it), or place another HD into the PowerBook.

6
  • I followed this procedure. It seemed to delay the startup chime, during which time there was a moment of whirring that sounded sort of like optical media spinning up, but nothing was ejected. I'm sure the trackpad is working because I was able to move the mouse and click on "English" in the language prompt. Wondering if there is somewhere to poke a paperclip...
    – Chap
    Commented Feb 6, 2017 at 15:35
  • If you have access to a command line try "drutil eject." And if there is an actual disc stuck in the drive a thin piece of cardboard, inserted carefully, might be able to press up/down on the disk allowing it to eject. It's a bit fiddly but have seen it work when discs are not seated properly or bent/broken. Commented Feb 6, 2017 at 20:52
  • @Chap Well the whirring sound probably confirms your trackpad is fine as it seems the PowerBook did try to do the eject action. You can certainly try Steve Chambers' suggestion (you don't have to stick it in too far). Otherwise I've provided another option in my answer that may or may not be of interest to you.
    – Monomeeth
    Commented Feb 6, 2017 at 22:35
  • @SteveChambers I took a close look with a flashlight through the CD slot and now I'm pretty sure there isn't a CD in there. (I believe the whirring was the fan.) I can see a small metal spindle at about the place where I'd expect the center of the CD to be. What prevents my inserting a CD is a small plastic cylindrical "stop" on one side of the slot, which appears to have moved into place to hold the (nonexistent) CD in. Also - I tried drutil eject and got a bus error.
    – Chap
    Commented Feb 10, 2017 at 0:57
  • @Monomeeth By now it looks like there's no way to use the optical drive, or to mount a USB flash drive. I looked at the instructions for removing the HD and, yes, they're sufficiently beyond my comfort level to make me willing to pay for FW 400-800 + FW 800-Thunderbolt equipment. (I tested booting into FW target mode, successfully.). // I don't know what the protocol is in this case - all suggestions were good ones but none solved the problem. Should I mark an answer "correct"?
    – Chap
    Commented Feb 10, 2017 at 1:05
1

I don't have a 10.4 system available to test with, but I think you should be able to get enough of the OS running to access a USB flash drive by going into single-user mode, then running the command sh /etc/rc. If that doesn't work to mount the flash drive, try running ls /dev/disk* again and see what if it lists /dev/disk1 and /dev/disk1s; if it does, you should be able to mount the drive manually with mkdir /Volumes/flash and mount /dev/disk1s<something> /Volumes/flash. If that doesn't work, you might have to specify the volume type with e.g. mount -t hfs /dev/disk1s<something> /Volumes/flash (for a Mac-formatted drive) or mount -t msdos /dev/disk1s<something> /Volumes/flash (for a FAT-formatted drive).

1
  • Unfortunately, sh /etc/rc takes me all the way to the language screen, where I no longer have a command line. And in single-user mode, running ls /dev/disk* only lists /dev/disk0*.
    – Chap
    Commented Feb 10, 2017 at 0:49
1

I recently needed to reset the password on my iBook G4 (PowerBook 6,5) and I did it like this:

  1. Restart the machine and hold command (the apple key) and S key while it is turning on until you see some text. This starts the machine in single user mode.

  2. Next, you need to mount the file system and make it writeable with the following commands:

    /sbin/fsck -fy

    /sbin/mount -uw /

    sh /etc/rc

Type the first command above, then click enter and wait until the process stops. (You know the process has stopped when you have a # after the "root.") Then, type the second command and click enter and wait until the process stops. Then, type the third command and click enter and wait until the process stops.

(Tips: 1. The spaces in the commands are important. 2. If the process seems to hang, press the enter key a few times.)

  1. Enter your new password and click enter. (You will not see the password as you type it, and the cursor will not move.)

  2. Enter your new password a second time and click enter. (You will not see the password as you type it, and the cursor will not move. It will look like nothing is happening.)

  3. Reboot the little monster. (Type reboot and then hit enter.)

1
  • This really helped me!
    – duhaime
    Commented Feb 10, 2019 at 19:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .