Re: yaboot w/o the spacebar??


Subject: Re: yaboot w/o the spacebar??
From: Busman (busman@telsur.cl)
Date: Sun Oct 29 2000 - 01:03:06 MDT


>How can I change the bootinfo script to boot directly into yaboot and not
>have to hold the space bar down?? This is what I have now:
>
> <<CHRP-BOOT>>
> <<COMPATIBLE>>
> PowerBook3,1
> <</COMPATIBLE>>
> <<DESCRIPTION>>
> Linux/PPC Yaboot bootloader
> <</DESCRIPTION>>
> <<BOOT-SCRIPT>>
> " get-key-map" " keyboard" open-dev $call-method
> dup 20 dump
> 5 + c@ 08 = if
> " Booting Yaboot ..." cr " boot hd:13,yaboot" eval
> else
> " Booting MacOS ..." cr " boot hd:14,\\:tbxi" eval
> then
> <</BOOT-SCRIPT>>
> <</CHRP-BOOT>>

mmm try this... (just an idea)

<<CHRP-BOOT>>
       <<COMPATIBLE>>
       PowerBook3,1
       <</COMPATIBLE>>
       <<DESCRIPTION>>
       Linux/PPC Yaboot bootloader
       <</DESCRIPTION>>
       <<BOOT-SCRIPT>>
       " get-key-map" " keyboard" open-dev $call-method
       dup 20 dump
       5 + c@ 08 = if
          " Booting MacOS ..." cr " boot hd:14,\\:tbxi" eval
       else
          " Booting Yaboot ..." cr " boot hd:13,yaboot" eval
       then
       <</BOOT-SCRIPT>>
       <</CHRP-BOOT>>

very easy!, just use the loop... just asking but... this script you
send works for you?, cy!
tell all if work for you...

Busman
------



This archive was generated by hypermail 2a24 : Sun Oct 29 2000 - 01:12:03 MDT