home *** CD-ROM | disk | FTP | other *** search
- Note of FastBoot/AutoBoot Installation for !BtRiscBSD V2.70
-
- Author: Mark Brinicombe 12th May 1995
- Updated: 22nd September 1995
-
- Installation
- ------------
-
- Two patches are required to the standard boot files
-
- The following lines should be added to the start of
- !Boot.Choices.Boot.PreDesktop
-
- ----------------------- Cut here -----------------------
-
- |Start RiscBSD !Boot 2.70 FastBoot
- Run ADFS::HardDisc4.$.RiscBSD.!BtRiscBSD.!Boot
- Run <BtRiscBSD$Dir>.Booter.TestBoot
- If "<RiscBSD$FastBoot>" = "1" THEN Echo RiscBSD FastBoot mode engaged
- If "<RiscBSD$FastBoot>" = "2" THEN Echo RiscBSD ConfBoot mode engaged
- If "<RiscBSD$FastBoot>" = "3" THEN Echo RiscBSD AutoBoot mode engaged
- If "<RiscBSD$FastBoot>" = "4" THEN Echo RiscBSD FastConf mode engaged
- If <RiscBSD$FastBoot> > 0 THEN Set Alias$Repeat ||
- If <RiscBSD$FastBoot> > 0 THEN Set Alias$Addapp ||
- If <RiscBSD$FastBoot> > 0 THEN Run <Boot$ToBeLoaded>.configure
- |End
-
- ----------------------- Cut here -----------------------
-
- These commands should be the first one run in the PreDesktop
- file. They boot the boot loader application (primarily to set
- BtRiscBSD$Dir). The file <BtRiscBSD$Dir>.TestBoot is then run
- to test for the ALT key being held down. If the ALT key is
- detected then the variable RiscBSD$FastBoot is set to 1 to
- indicate that as fastboot is required.
-
- The following lines should be added to the start of
- !Boot.Choices.Boot.Desktop
-
- ----------------------- Cut here -----------------------
-
- |Start RiscBSD !Boot 2.70 FastBoot
- If <RiscBSD$FastBoot> = 4 THEN Run <BtRiscBSD$Dir>.!RunImage -open
- If <RiscBSD$FastBoot> > 0 AND <RiscBSD$FastBoot> < 4 THEN Run <BtRiscBSD$Dir>.fa|End
-
- ----------------------- Cut here -----------------------
-
- This command should be the first one run in the Desktop file.
- It runs the RiscBSD Bootloader with the configured parameters.
-
-
- The is a specific reason for not putting all the fastboot code in
- one file. The PreDesktop patch is run very early in the boot up so
- that the ALT key can be detected quickly. However, currently the
- actually bootloader cannot be run at this point unless a lot of
- memory is available in the module area (~1Meg) as currently the
- module area is used for temporary storage of the kernel being
- booted.
- This means that the actual boot is prosponed until the start of
- the Desktop file. At this point the desktop has been started and
- the task manager is running so it will be possible to allocate
- a large amount of module space.
-
-
- Activation
- ----------
-
- Once installed, to engage the fastboot hold ALT down immediately
- after a reset. As soon as the "fastboot engaged" message is printed
- the ALT key can be release.
-
-
- Configuration
- -------------
-
- Configuration is done via the !BtRiscBSD application.
- When ever RiscBSD is booted the commandline used to boot it is saved
- by the bootloader to the file <BtRiscBSD$Dir>.FastBoot
- Rerunning this file will then boot RiscBSD with the last parameters
- used. It is this file that the fastboot uses so the fast boot will
- boot RiscBSD with the same parameters as were used for the last boot.
-
-
- AutoBoot mode
- -------------
-
- This mode is identified by RiscBSD$FastBoot being set to 2. This indicates
- that an automatic boot was requested by RiscBSD before it rebooted. This
- will happen when /sbin/reboot is used instead of /sbin/halt.
-
-
- Bugs
- ----
-
- Well hopefully there are no bugs :-)
-