[slackintosh-users] Re: ...open-firmware update error

  • From: Adrian Ulrich <adrian@xxxxxxxxxxxxxxxx>
  • To: slackintosh-users@xxxxxxxxxxxxx
  • Date: Thu, 2 Feb 2006 21:54:28 +0100

> reinstalling macosx the dualboot was overwritten! :'-(

AFAIK OSX does not overwrite yaboot, it just changes the
default boot-device.

Not a big problem with Openfirmware:

 * Hold 'Command-Option-o-f' after powering-up the machine
   (While you hear the sound..)

 * You should get a prompt

 * type 'boot hd:X,yaboot' , replace 'X' with your boot partition, eg:
   0> boot hd:2,yaboot

   (If you don't remember/know your boot partition, just try some numbers.
    You can't damage anything)
  .. this should load yaboot :-)

 See: 
http://penguinppc.org/bootloaders/yaboot/doc/yaboot-howto.shtml/ch9.en.shtml#s9.2

 After the system bootet, try to re-run 'ybin' to change the default 
boot-device,
 OR do it while you are inside the OpenFirmware prompt.
 # setenv boot-device hd:X,yaboot
 # nvstore (.. correct?)
 # reset-all


 

>   /dev/nvram: No such file or directory"
>   Warning: nvram will not be updated"

Hmm... strange..

Maybe a strace output would help
 # strace ybin 2>&1 | grep nvram

.. or 
 # ls -l /dev/nvram

Other related posts: