home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / datafile / _btriscbsd / fbinstall < prev    next >
Encoding:
Text File  |  1996-02-26  |  3.3 KB  |  96 lines

  1. Note of FastBoot/AutoBoot Installation for !BtRiscBSD V2.70
  2.  
  3. Author: Mark Brinicombe 12th May 1995
  4. Updated: 22nd September 1995
  5.  
  6. Installation
  7. ------------
  8.  
  9. Two patches are required to the standard boot files
  10.  
  11. The following lines should be added to the start of
  12. !Boot.Choices.Boot.PreDesktop
  13.  
  14. ----------------------- Cut here -----------------------
  15.  
  16. |Start RiscBSD !Boot 2.70 FastBoot
  17. Run ADFS::HardDisc4.$.RiscBSD.!BtRiscBSD.!Boot
  18. Run <BtRiscBSD$Dir>.Booter.TestBoot
  19. If "<RiscBSD$FastBoot>" = "1" THEN Echo RiscBSD FastBoot mode engaged
  20. If "<RiscBSD$FastBoot>" = "2" THEN Echo RiscBSD ConfBoot mode engaged
  21. If "<RiscBSD$FastBoot>" = "3" THEN Echo RiscBSD AutoBoot mode engaged
  22. If "<RiscBSD$FastBoot>" = "4" THEN Echo RiscBSD FastConf mode engaged
  23. If <RiscBSD$FastBoot> > 0 THEN Set Alias$Repeat ||
  24. If <RiscBSD$FastBoot> > 0 THEN Set Alias$Addapp ||
  25. If <RiscBSD$FastBoot> > 0 THEN Run <Boot$ToBeLoaded>.configure
  26. |End
  27.  
  28. ----------------------- Cut here -----------------------
  29.  
  30. These commands should be the first one run in the PreDesktop
  31. file. They boot the boot loader application (primarily to set
  32. BtRiscBSD$Dir). The file <BtRiscBSD$Dir>.TestBoot is then run
  33. to test for the ALT key being held down. If the ALT key is
  34. detected then the variable RiscBSD$FastBoot is set to 1 to
  35. indicate that as fastboot is required.
  36.  
  37. The following lines should be added to the start of
  38. !Boot.Choices.Boot.Desktop
  39.  
  40. ----------------------- Cut here -----------------------
  41.  
  42. |Start RiscBSD !Boot 2.70 FastBoot
  43. If <RiscBSD$FastBoot> = 4 THEN Run <BtRiscBSD$Dir>.!RunImage -open
  44. If <RiscBSD$FastBoot> > 0 AND <RiscBSD$FastBoot> < 4 THEN Run <BtRiscBSD$Dir>.fa|End
  45.  
  46. ----------------------- Cut here -----------------------
  47.  
  48. This command should be the first one run in the Desktop file.
  49. It runs the RiscBSD Bootloader with the configured parameters.
  50.  
  51.  
  52. The is a specific reason for not putting all the fastboot code in
  53. one file. The PreDesktop patch is run very early in the boot up so
  54. that the ALT key can be detected quickly. However, currently the
  55. actually bootloader cannot be run at this point unless a lot of
  56. memory is available in the module area (~1Meg) as currently the
  57. module area is used for temporary storage of the kernel being
  58. booted. 
  59. This means that the actual boot is prosponed until the start of
  60. the Desktop file. At this point the desktop has been started and
  61. the task manager is running so it will be possible to allocate
  62. a large amount of module space.
  63.  
  64.  
  65. Activation
  66. ----------
  67.  
  68. Once installed, to engage the fastboot hold ALT down immediately
  69. after a reset. As soon as the "fastboot engaged" message is printed
  70. the ALT key can be release.
  71.  
  72.  
  73. Configuration
  74. -------------
  75.  
  76. Configuration is done via the !BtRiscBSD application.
  77. When ever RiscBSD is booted the commandline used to boot it is saved
  78. by the bootloader to the file <BtRiscBSD$Dir>.FastBoot
  79. Rerunning this file will then boot RiscBSD with the last parameters
  80. used. It is this file that the fastboot uses so the fast boot will
  81. boot RiscBSD with the same parameters as were used for the last boot.
  82.  
  83.  
  84. AutoBoot mode
  85. -------------
  86.  
  87. This mode is identified by RiscBSD$FastBoot being set to 2. This indicates
  88. that an automatic boot was requested by RiscBSD before it rebooted. This
  89. will happen when /sbin/reboot is used instead of /sbin/halt.
  90.  
  91.  
  92. Bugs
  93. ----
  94.  
  95. Well hopefully there are no bugs :-)
  96.