Hi,

Strictly speaking, this is not a Debian issue, not even Linux, but
since I don't know of any Open Firmware list, and it may be just a
matter of time before someone else tries this...

I wrote the following two lines into OF nvramrc parameter with
'nvedit' (Read this to the end before trying yourself!):

devalias usb /p...@f2000000/u...@19/d...@1
dev /options " usb" open-dev dup if close-dev " usb:,\\:tbxi" "
boot-device" property else drop then

I ran this manually with 'nvrun' and achieved what I wanted: (1) if
there was a USB stick plugged-in on boot, the boot-device shown by
'.properties' was changed to 'usb:,\\:tbxi' (The boot-device shown by
'printenv' does not change.), and saying 'boot' booted Linux from the
stick, (2) if no USB stick was present, the boot-device remained, thus
allowing to boot from hard disk.

Then I made the fatal error, I ran 'nvstore', 'setenv use-nvramrc?
true' and 'shut-down'. Now the machine won't boot anymore. The chime
is there but the display remains black.

The machine in question is an iBook G3 Dual USB 500 MHz.

Risto


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/p2r46e1c7761004272234h5f81a6dam87741910bf6a7...@mail.gmail.com

Reply via email to