1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
|
Choose-OS
Version 0.82, Copyright (c) Tuomo Valkonen 1996-1998.
Choose-OS is free software distributed on as-is basis and comes absolutely
with no warranty. Therefore shall the author in no way be responsible for any
kind of damage possibly caused by the use or abuse of the program or mistakes
in the documentation or samples. The author shall in no way be liable for
possible infringements on copyrights, trade secrets or any patents by any part
of the program. As the program is free software, you are allowed and even
encouraged to copy and distribute it to your friends and everyone else as long
as they're not paying for the software itself. You are allowed to use the
sources but if you do so, the resulting software and sources must be available
for free and the original author must be given the appropriate credits.
Batteries not included. Some assembly may be required. Keep away from small
children.
WHAT IS CHOOSE-OS ?
-------------------
Choose-OS is a fully configurable boot loader for Linux/PC.
It is a program which, when you boot your computer, allows you to
select the operating system to boot.
Yes, it does the same stuff that LILO or OS/2 boot manager do.
Choose-OS has, though, some nice features not found in many or none
other programs of this kind.
Look 'n Coolness:
* You can choose the colors used for each image separately
* You can position the menu and timer or even each image
separately on screen
* Hotkey can be specified for each image
* And finally, you can have a background image
(plain ascii text or screendump format) !
Other stuff:
* Emergency bootsector - If there's been a failure loading
Choose-OS mapfile or 2nd stage loader, an emergency bootsector
will be tried to load, if one specified.
* An easy-to-use configuration program for X, Visual Chos
* Initrd,bzImage,MBR rewrite, hda/hdb and fd0/fd1 swapping, etc.
* Single-shot autoboot
* dosmenukey -option
HOW CAN I INSTALL IT ?
----------------------
1. Make a boot recovery disk unless you already have one ;)
2. Run ./Install (as root) to copy chos binaries and stuff to their
appropriate locations.
3. Create yourself /etc/chos.conf configuration file. See below
for more information.
(If you've been running chos 0.7 or newer before, you may skip
this part. Just change 'fastboot' to 'autoboot').
4. Run 'chos' (as root of course). (Add -v on command line for verbose mode)
5. Last chance to make a boot recovery disk!
6. Reboot your system.
7. Now you should see a nice bootup menu and be able to
start the OS you want to by choosing from the menu =-)
or
Chos has failed and you gotta use your boot recovery disk :-(
CREATING A CONFIGURATION FILE
-----------------------------
In the ./samples directory your can find some sample configurations.
If you have never used chos before, you might want to
use ./samples/simple.conf as a template and later, when you have
gotten chos up and running, move on to nicer configurations.
For more information and a QuickStart guide refer to the HTML
documentation in ./docs
CONFIGURATION FILE
------------------
'#' denotes a comment.
Each non-comment/non-blank line begings with a keyword followed by
options. Choose-OS currently recognizes the following keywords:
*
* This list is only a short description of the options.
* Once again, see the HTML docs for more complete information.
*
GENERAL:
delay=<xx>
Set the delay to wait before bootin' the first image.
autoboot=<no|pressed|not_pressed>
Sets autoboot policy.
install=<device>
Tells chos the device to install its bootsector on.
Required!
emergency=<device>
Sets emergency bootsector.
defaul=<img>
Sets default image number.
password=<passwd>
Set password.
mapdrive=<bios_number>,<device>
Tells chos to assign device <device> bios device
number <bios_number>.
LOOK:
banner=<banner>
Sets the banner to display on top of the menu.
(not displayed if background image set).
Default: Chos blaah blaah BootUp Menu.
infoline=<on|off>
Show copyright and other stuff on the bottom of
the screen?
color=<color>
Specify color used for normal text.
selection=<color>
Highlight color of selected image. It can only
be one of the 8 first colors.
background=<type>:<file>
Use background image <file> of type <type>
(ascii,cp437 or dump).
menupos=<col>,<row>
Place the menu at <col>,<row>
Also moves timer position, if it is not set.
timerpos=<col>,<row>
Place timer at <col>,<row>
Setting this will cause the string
"Time left: " not to be printed.
FILES:
*
* These will be overridden by the ones given on the
* command line, if any are...
*
bindir=<directory>
Search for loaders and stuff in <directory>
Default is /boot
bgfile=<file>
Save background in <file>.
Default is /boot/chos.background.
mapfile=<file>
Use <file> as map file.
Default is /boot/chos.map
IMAGE CONFIGURATION:
<image_type> "<name>" {
options_and_stuff
}
Where: <image_type> can be one of these:
"linux" for normal linux kernel
"big_linux" for bzImages
"bootfile"
"bootsect" these two are exactly the same thing, but
may have different options in the
future. They are used to boot a bootsector
of an other operating system.
<name> is the name shown in the menu.
Common "options_and_stuff":
color=<color>
Use <color> for the image.
image=<file>
The file/device name of the bootable.
hotkey=<key>[,hidden]
Sets hotkey for this image.
position=<x>,<y>
The position of the choice on screen.
loader=<loader>
Use OS-specific loader <loader> instead
of default.
password=<yes|no|restricted|cmdline>
How to handle this image when password
set.
rebooter.*
Rebooter options. Ignored.
Linux-specific (linux and big_linux):
cmdline=<command_line>
Set linux command line.
initrd=<file>[,address]
Set initrd. If <address> is set, the initrd
will be loaded at that address, otherwise on
top of memory.
Bootsector-specific:
THESE ARE ALL UNTESTED OR OTHERWISE DANGEROUS FEATURES !
YOU'RE USING THESE AT YOUR OWN RISK !
PLEASE BACKUP ALL MATTER-OF-LIFE-AND-DEATH DATA ON
YOUR HARDDISKS BEFORE TRYING THESE !
YOU MUST JOE MAKEFILE TO COMPILE THESE FEATURES IN !
dos4boot=yes|no
tell dos4+ to boot off hdb
rewrite=<yes|device>
Configures MBR rewrite feature.
See './docs/rewrite.html' for step-by-step
how-to-use information
DO NOT USE IF YOU DON'T KNOW WHAT YOU'RE DOING !!!
The OS must use bios for disk access for
these two to work:
swapfd=yes|no
Swap floppies fd0/fd1
swaphd=yes|no
Swap harddisks hda/hdb
COLOR NAMES
-----------
Colors are specified in the following format:
<foreground>[,<background>]
Foreground can be any of the following and background (optional)
one of the eight first:
black blue green cyan
red magenta brown lightgray
darkgray lightblue lightgreen lightcyan
lightred lightmagenta yellow white
COMMAND LINE:
-------------
Choose-OS accepts the following command line options:
-h
Show version,copyright 'n usage.
-v
verbose
-c <config_file>
Uses <config_file> as configuration file.
Default is /etc/chos.conf.
-t
Test. Specifying this option will not cause map
file or boot sector to be written on disk.
-view
View the resulting menu. Will not install anything
and can even be run as non-root.
You can also use 'showscreen background [map]' to
later view the menu.
-y
Answer yes to all questions.
*
* The following will override the ones specified in the
* configuration file.
*
-b <bindir>
Search for loader and stuff in <bindir>
Default is /boot.
-m <map_file>
Uses <map_file> as boot image map file.
Default is /boot/chos.map.
-i <background_file>
Use <background_file> as a file to store background
"image" in.
LINUX COMMAND LINE:
-------------------
This section describes the syntax of Linux command line.
The command line is simply a string of parameters to transfer to Linux.
Valid parameters are for example:
ro Mount root device read-only.
rw Mount root device read-write.
root=<device> Tells Linux to use <device> as root device.
This can be a hexadecimal number or a path
name. Overrides the one hard-coded to kernel.
There are lotsa others too depending on what drivers you have
but it's not the purpose of this document to describe 'em.
Choose-OS interpretes "vga=<mode>" parameter itself.
The valid values for <mode> are:
NORMAL normal 80x25
ASK Tell Linux to ask for the mode
EXTENDED EGA 80x43 / VGA 80x50
0x<????> where <????> is a hexadecimal number for the
mode.
The default command line given in the configuration file can be
overridden by pressing space,not enter, at the bootup menu and typing
another one.
RECOMPILING:
------------
If you need to recompile Choose-OS (e.g. want a not-compiled-in-by-
default feature in use), change to the ./sources directory,
'joe Makefile' to configure it for your needs, 'make depend', and finally
'make'. The resulting binaries (chos,chos.loader,chos.bsect) will
be placed in ./bin (and ./utils).
MORE INFORMATION:
-----------------
./docs contains loads of information ;)
CREDITS:
--------
The program was written by
Tuomo Valkonen <tuv1@freenet.hut.fi>
Bootsector rewriting feature and Visual Chos by
Andreas Blome <flower@idbremen.de>
Showscreen and other stuff by
Bernhard Ehlers <behlers@t-online.de>
A few improvements by
Don Mahurin <dmahurin@dma.org>
(See ./docs for a more complete list)
THANKS:
-------
I wanna thank all the people who have helped me to find bugs and
who have come up with great improvement ideas. You're all helping me
to make Choose-OS the ultimate boot loader =-)
CONTACTING THE AUTHOR:
----------------------
If you wanna tell me how great/what a piece of shit Choose-OS is
you can send me some mail to the address below.
When ya notice a __big bad bug__ or have a good suggestion on
improving Choose-OS you will of course send me some mail.
If ya have made an improvement, good looking background ansi
graphics, etc. why don't ya mail it to me to be included in the
next release so that everyone can benefit of it.
The address is:
tuv1@freenet.hut.fi
One more thing:
Before asking if Choose-OS is gonna support joku-homma-jota-
se-ei-viel-tue, please first check
sunsite.unc.edu/pub/Linux/system/boot/loaders
(and /pub/Linux/Incoming)
to see that you have the latest version - it might already support.
ALSO CHECK OUT:
---------------
* Xtris
- Yet another tetris for X. (Don't confuse this with the other Xtris.)
Better (or at least nicer looking) than the others for Linux/X IMHO.
(sunsite.unc.edu/pub/Linux/games/arcade/tetris/Xtris-<version>.tar.gz)
* Xinsane
- It is another game I made for X11 and SVGAlib.
It is a clone of the game of 'insane game' for ti85 with TCP/IP support.
(sunsite.unc.edu/pub/Linux/games/arcade/Xinsane-<version>.tar.gz)
* Xsquarez
- If ya like tetris/Xtris, you're gonna love this one!
It is a clone of 'squarez' for ti85.
(sunsite.unc.edu/pub/Linux/games/arcade/tetris/Xsquarez-<version>.tar.gz)
* Rebooter
- See ../rebooter-0.2/README
|