How to 'soft' disable internal HD?

Discussion in 'Mac Basics and Help' started by dubbz, Jan 3, 2006.

  1. dubbz macrumors 68020

    dubbz

    Joined:
    Sep 3, 2003
    Location:
    Alta, Norway
    #1
    Is there any way to disable the internal hard drive of the Powerbook without opening the Powerbook and yanking out the cables? I Googled a bit, but couldn't find a way to do it using OpenFirmware :confused:

    The drive is more or less dead, and is causing some issues when booting from a Linux LiveCD. I'd rather not open the PB until I have a new hard drive I can replace the dead one with...
     
  2. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #2
    I can't vouch for this... :eek: But from this site of instructions:

    http://www.firmworks.com/QuickRef.html#Device Aliases

    There should be a persistent alias (in NVRAM) that refers to the hard disk. You should be able to use devalias to find it (it looks like it's probably "disk") and then use "nvunalias disk" (or whatever) to get rid of it. This should persist unless the NVRAM is reset.... Or you can recreate the alias using nvalias in the same fashion, I guess....

    Does that make sense?
     
  3. dubbz thread starter macrumors 68020

    dubbz

    Joined:
    Sep 3, 2003
    Location:
    Alta, Norway
    #3
    Thanks.

    Yes... Unfortunately, it doesn't seem to work. :(

    I type "nvunalias hd", and it's still on the list when I do a "devalias", or when I reboot.

    Tried the same with "pci2" (supposedly the one the hard drive use). Same thing.

    Tried a couple of others too, just to verify, and the same thing happens. Or, rather, nothing happens.

    Edit: Update -- Tried "cmd-opt-shift-delete" which is supposed to:

    Bypass startup drive and boot from external (or CD). This actually forces the system to NOT load the driver for the default volume, which has the side effect mentioned above. For SCSI devices it searches from highest ID to lowest for a partition with a bootable system. Not sure about IDE drives.

    Didn't work.
     
  4. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #4
    Not that this makes any more sense...but what about if, rather than deleting the hd alias, you try to overwrite it with the path to the optical drive? So that both the optical drive dev and the hd dev point to the optical drive?
     
  5. dubbz thread starter macrumors 68020

    dubbz

    Joined:
    Sep 3, 2003
    Location:
    Alta, Norway
    #5
    Tried it, but it didn't work...

    Fortunately, it seems like the LiveCD actually boots... there's just a major delay before it moves on in the boot process. Guess I'll just have to live with that for a while.

    Thanks :cool:
     
  6. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #6
    I guess perhaps Apple disabled all these OF features? Hmmm.... :rolleyes:

    Glad you got the LiveCD working, Dubbz. :)
     
  7. mrichmon macrumors 6502a

    Joined:
    Jun 17, 2003
    #7
    Try just holding down "opt" to bring up the open firmware boot partition selector.
     

Share This Page