Paladin of the Pegasos            
            
            
            
                             
             
                Posts: 1352 from 2010/1/6            
            
                From: EU-Austria (Wien)            
    
            
                            
                
			
				Normaly the path to your boot-parition should be defines in firmware env-variables and devalias. If this already set to factory-state and not modyfied, than the path should be only <boot ide:0 boot.img.......> for the first partition on your HD. You can check this by typing printenv and devalias in OF. How to set these variables you will find in SmartFirmware-Manual, located on your MOS-CD.
Most users uses a bootscript for booting different OS, written in forth (this is the intepreter language which can be run by OF) like this:
\ FORTH - Script created by BootCreator (MorphOS) 0.6 (Jul  2 2004) by Marcin Kurek (Morgoth/D-CAPS)
\
\ terminal control stuff
\
: TTY.CSI d# 27 EMIT ASCII [ EMIT ;
: TTY.HOME    TTY.CSI ASCII H EMIT ;
: TTY.CLR_EOS TTY.CSI ASCII J EMIT ;
: TTY.HOME_CLR TTY.HOME TTY.CLR_EOS ;
\
\ boot menu stuff
\
: my-max-boot-num 6 ;
: my-boot-default 1 ;
: my-boot-delay d# 100 ; \ unit = 100 ms
: my-print-menu ( -- )
  TTY.HOME_CLR
  ."  Wellcome to PEGASOS PowerPC Core-Menue V1.01" cr
  ."  " cr
  ."  Open Firmware booting complete - please select your prefered system: " cr
  ."  " cr
  ."  Bootselector-Menu" cr
  ."  " cr
  ."  1: Harddisk -> MorphOS (default)" cr
  ."  2: Harddisk -> Debian GNU/Linux" cr
  ."  3: Harddisk -> CD32 Emulation" cr
  ."  4: CD-ROM   -> MOL (Mac on Linux/Ubuntu) Insert Live-CD first!!" cr
  ."  5: CD-ROM   -> MorphOS emercency (Insert CD MorphOSBoot first)" cr
  ."  6: Any other key -> **Break** (Return to Open Firmware) " cr
  ."  " cr
  ."  Boot MorphOS (last working config) from build-in ROM: Type <boot cf> in OF" cr
  ."  " cr
;
: my-boot-case ( num -- )
  ."  " cr
  case
    1 of " ide:0 boot.img rd rds 1" endof
    2 of " ide:0 vmlinuz-2.6.18-5 root=/dev/hda9" endof
    3 of " ide:0 cd32" endof
    4 of " cd install/pegasos" endof
    5 of " boot cd boot.img" endof
    6 of " none" endof
  endcase
  ['] $boot catch drop
  user-abort
;
: my-input-num ( wait-period max-boot-num default-num -- boot-num )
  1 \ loop-inc = 1
  3 pick 0 do
    0d emit
    ."  Press key 1-"
    ( wait-period max-boot-num default-num loop-inc )
    2 pick ascii 0 + emit
    dup 1 = if
      ."  during the next "
      3 pick i - d# 10 / .d
      ." seconds"
    then
    ."  (Default: "
    over ascii 0 + emit
    ." ) :                   "
    d# 100 ms
    key? if
       key
       ( wait-period max-boot-num default-num loop-inc key )
       dup 0d = if \ return pressed
         drop leave
       then
       ascii 0 -
       ( wait-period max-boot-num default-num loop-inc num )
       dup 1 5 pick
       ( wait-period max-boot-num default-num loop-inc num num 1 max-boot-num )
       between if
         rot drop swap leave
       then
       ( wait-period max-boot-num default-num loop-inc num )
       TTY.HOME_CLR abort ( -- )
    then
  dup +loop
  drop
  ( wait-period max-boot-num boot-num )
  nip nip
;
my-print-menu
my-boot-delay my-max-boot-num my-boot-default my-input-num
my-boot-case
Look at this code- its easy to understand. Your pathes have to be changed in the "case"-block....
If you use this then save the bootscript as ASCII(Text)-file on your boot-partition and name it "menu". Then set env-variable "boot-file" to "menu". Boot-command will then execute the menu-file.....
If you don't need so many entries, then delete them and reduce my-max-boot-num to your propper value.......
If you use this bootscript you can do following in OF-variables:
To shorten boot time you can set auto-boot-timeout to 2000 or 1500 (auto-boot should be set true...).
[ Editiert durch Amigaharry2  04.02.2012 - 14:17 ]Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....