1 | $NetBSD: fastboot,v 1.8 2004/06/10 07:43:39 abs Exp $ 2 | 3 | Fast boot configuration file, edit by hand, save and run !BtNetBSD 4 | Part of !BtNetBSD 5 | 6 7 | First mount the root partition wd0a in this case for the kernel 8 | XXX UnixFS is currently broken. 9 |If "%*0" = "" Then Run <BtNetBSD$Dir>.native.mountufs ADFS 4 10 11 | Run The PreBoot file for various extra settings necessary 12 Run <BtNetBSD$Dir>.PreBoot 13 14 | Select the monitor definition file and screenmode 15 | Uncomment one or both of these only if you intend to use a different 16 | MDF or screen mode in NetBSD than is configured in RISC OS. 17 |Set NetBSD$MDF BootResources:Configure.Monitors.Acorn.AKF85 18 |Set NetBSD$ScreenMode "X1024 Y768 C256" 19 20 | Select Kernel, Root and Bootoptions 21 | add `oldkernel' to BootOptions for booting old a.out kernels 22 | 23 | XXX UnixFS is currently broken. 24 |If "%*0" = "" Then Set NetBSD$Kernel UnixFS:$.netbsd Else Set NetBSD$Kernel %*0 25 |Set NetBSD$Root /dev/wd0a 26 |Set NetBSD$BootOptions root=<NetBSD$Root> maxproc=64 noftp symtab 27 If "%*0" = "" Then Error Double click a kernel to start NetBSD 28 Set NetBSD$Kernel %*0 29 30 | Clear incompatible boot options an older version of !BtNetBSD may have set 31 UnSet NetBSD$BootOptions 32 33 | Set WimpSlot (suit as you like ... to little won't boot correctly) 34 *Wimpslot 7000k 35 36 37 | End of options 38 | ----------------------- 39 | Set environment and try to boot NetBSD! 40 | 41 If "<NetBSD$MDF>" <> "" Then loadmodefile <NetBSD$MDF> 42 If "<NetBSD$ScreenMode>" <> "" Then Set Alias$SetNetBSDMode Wimpmode <NetBSD$ScreenMode> 43 If "<NetBSD$ScreenMode>" <> "" Then SetNetBSDMode 44 45 Set Alias$RunNetBSD <BtNetBSD$Dir>.boot32 <NetBSD$Kernel> <NetBSD$BootOptions> 46 47 RunNetBSD 48