File: user-guide.sgml

package info (click to toggle)
sbm 3.7.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,060 kB
  • ctags: 1,590
  • sloc: asm: 11,940; ansic: 2,870; makefile: 531
file content (999 lines) | stat: -rw-r--r-- 34,833 bytes parent folder | download | duplicates (4)
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
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
<!doctype linuxdoc system>

<article>

<!-- Title information -->

<title>Simple User Guide for Smart Boot Manager 3.x
<author>Suzhe, <tt/suzhe@gnuchina.org/
<date>V0.10, 10th Feb 2001
<abstract>
This simple documentation briefly introduces the usage of Smart Boot Manager 3.x.
</abstract>

<!-- Table of contents -->
<toc>

<!-- Begin the document -->

<sect>Introduction

<p>
This section is the brief introduction of Smart Boot Manager 3.x.

<sect1>Copyright

<p>
Smart Boot Manager is a free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

<sect1>What is Smart Boot Manager 3.x and what it's not?

<p>
Smart Boot Manager or briefly SmartBtmgr (SBM), is an OS independent Boot
Manager - a program that is loaded by the bios before any operating
system and allows you to choose which operating system to boot.

It's like OS/2 Boot Manager and many other similar programs, e.g.
System Commander, Bootit, Bootstar, PQBoot etc.

But it's <em/NOT/ an OS Loader; it's not a replacement for LILO or other
OS Loaders. In other words, you must use LILO (or other similar programs)
to boot Linux while using SmartBtmgr to give you an easy to use interface to
Boot Multiple OSes.

<sect1>The features of Smart Boot Manager 3.x

<p>
SmartBtmgr is intended to be easy to use, flexible and small. It has a
nice windows-like user interface, online help and an easy-to-use command 
menu. It needs no configuration file or program. All actions can be done
from within the program; for example, it can automatically search all 
drives and partitions when it first runs, or you can let it research
them later. The name of each boot record can be modified in its interface. 
The installation program is only used after once, unless the program
is damaged. It can be installed not only onto a hard disk but also to a 
floppy. 

SmartBtmgr is small enough that it can be installed into the first track
of a hard disk (the hidden sectors), no special partition is needed.
It is absolutely OS independent, unlike System Commander, OS/2 BootManager 
and PQBoot. Linux is of course not required.

Although it is very small, it is very powerful. It has many other
useful features, such as password protection, auto delay boot, direct
boot (same as the "single-shot autoboot" of Choose-OS), multi-language
user interface, boot schedule, preload keystrokes, swap drive id, etc.

The style and language of its interface is easily customized. The
interface datafile is independent from the program, so it can be changed,
and the program does not need to be recompiled. There are two interface 
datafiles supplied with this version, one is Chinese and another is English.

<p>
Summarize:

The Main Features of Smart Boot Manager are:

<itemize>
<item>Very Small Size
<p>The size of Smart Boot Manager is small enough that it can be installed
into the first track of a hard disk(the hidden track).
<p>
<item>Absolutely OS Independent
<p>Smart Boot Manager does <em/NOT/ need any partitions, and it has online
installation and uninstallation functions, so it's absolutely OS independent.
<p>
<item>Easy to Use
<p>Smart Boot Manager has a window like interface, online help and easy-to-use
command menu, it does <em/NOT/ need any configuration file.
<p>
<item>Smart Search Drives and Partitions
<p>Smart Boot Manager can automatically search out all of the floppy/hard 
drives and partitions that could be booted.
<p>
<item>Powerful Password Protection
<p>Two types of password and three security modes can give you very flexible
security configuration.
<p>
<item>Auto Delay Boot
<p>Boot particular drive or partition automatically if none of keys are pressed
within a certain number of seconds.
<p>
<item>Boot Schedule
<p>Boot different drive or partition automatically at different times of a day
and/or different days. 
<p>
<item>Booting from CD-ROM
<p>Smart BootManager supports booting from all kinds of IDE ATAPI CD-ROM, including PCMCIA CD-ROM.
<p>
<item>Preload Keystrokes
<p>Send some keystrokes to the Operating System being booted.
<p>
<item>Swap drive id
<p>Can boot DOS/Windows, 9x/Windows, NT and some other OSes from the primary 
partition on <em/ANY/ hard disk, not only the first HD. 
<item>Easily Customized Theme file
<p>Anyone can customize the theme file easily, almost all of the screen elements
can be changed, including the colors, strings etc.
</itemize>
There are many other features not listed out, see following documentation
for details.

<sect>How to compile and customize Smart Boot Manager 3.x?

<p>
This section introduces the method of compiling and customizing 
Smart Boot Manager 3.x.

<sect1>How to compile Smart Boot Manager 3.x?

<sect2>What software is needed to compile SmartBtmgr?

<p>
For Linux users, you need <em/gcc/, <em/make/ and <em/nasm/ (Netwide Assembler,
 URL: <url url="http://www.web-sites.co.uk/nasm/" name="http://www.web-sites.co.uk/nasm/">). For DOS users, you
must have <em/DJGPP/ (a DOS porting of GCC, URL:
<url url="http://www.delorie.com/djgpp/" name="http://www.delorie.com/djgpp/">),
 and <em/nasm/.
<p>
You also must have UCL compression library 
(URL: <url url="http://wildsau.idv.uni-linz.ac.at/mfx/ucl.html" 
name="http://wildsau.idv.uni-linz.ac.at/mfx/ucl.html">) 
to compile Smart BootManager.

<sect2>How to compile it?

<p>
Edit the Makefile, change the line that including <tt/'TARGET_OS=xxx'/.
If you are using Linux, change the line to <tt/TARGET_OS=linux/, if you
are using DOS, change it to <tt/TARGET_OS=dos/.

Then just type <em/make/ to compile it.

the executable file is placed in release/ directory.

type <em/make install/ to install it. For linux, the default binary installation
dir is /usr/sbin/, themes will be stored into /usr/share/btmgr/ and 
documentation is placed in /usr/share/doc/btmgr/ if you want to change them, 
edit the Makefile.

<sect1>How to customize and install the theme file?

<p>
You can start your own theme file from one of the two standard theme
files provided with the program. These are placed in manager/themes/
dir.

In order to change it, please refer to the comments in the theme file.

You must have <em/nasm/ to compile the theme file.
The compile method is very simple, for example, assume that the new 
theme file is mytheme.asm, the following command will generate a
binary version of mytheme.asm:

<tscreen><verb>
% nasm -fbin -o mytheme.bin mytheme.asm
</verb></tscreen>

If you want to compile the theme file with a non-standard keyboard map,
use the command:

<tscreen><verb>
% nasm -DKEYMAP_XXX -fbin -o mytheme.bin mytheme.asm
</verb></tscreen>

Where KEYMAP_XXX can be one of the following four symbols:

<tscreen><verb>
KEYMAP_AZERTY           (AZERTY Keyboard)
KEYMAP_QWERTZ           (QWERTZ Keyboard)
KEYMAP_DVORAK           (Dvorak Keyboard)
KEYMAP_DVORAK_ANSI      (ANSI Dvorak Keyboard)
</verb></tscreen>

Be sure that the keymap files (azerty.kbd ...) are in the current directory.

Now you can use installation program to install Smart Boot Manager
with the new theme(see section <ref id="Install Smart Boot Manager">):

for linux:

<tscreen><verb>
% sbminst -t mytheme.bin -d /dev/hda
</verb></tscreen>

or for dos:

<tscreen><verb>
> sbminst -t mytheme.bin -d 128
</verb></tscreen>


<sect>How to install Smart Boot Manager 3.x?<label id="Install Smart Boot Manager">

<sect1>The usage of installation program.

<p>
Now there is an installation program for Linux and DOS. The installation
programs are placed in the installer/ dir. There is only one
source file for DOS and Linux, and the usage is very similar:

The usage of installation program is:

<tscreen><verb>
   sbminst [-t theme] [-d drv] [-b backup_file] [-u backup_file]

   -t theme     select the theme to be used, in which the theme could be:
                   us = English theme       de = German theme 
                   hu = Hungarian theme     zh = Chinese theme 
                   ru = Russian theme       cz = Czech theme 
                   es = Spanish theme       fr = French theme 
                   pt = Portuguese theme 

                   or a filename of user customized theme.

   -d drv       set the drive that you want to install Smart BootManager on;
                for Linux:
                   /dev/fd0 is the first floppy driver, 
                   /dev/hda is the first IDE harddisk driver.
                   /dev/sda is the first SCSI harddisk driver.
                for DOS:
                   0   is the first floppy drive
                   128 is the first hard drive;

   -c             disable CD-ROM booting feature;

   -b backup_file backup the data that will be overwrited for
                  future uninstallation;

   -u backup_file uninstall Smart BootManager, should be used alone;

   -y             do not ask any question or warning.
</verb></tscreen>

for example, use command <em>'sbminst -t zh -d /dev/hda -b sbm-bak.dat'</em>
under linux to install a Chinese version to the first hard disk and
backup the original data to file sbm-bak.dat.

Use command <em/'sbminst -u sbm-bak.dat'/ to uninstall it.


<sect1>Installation notes for specific OSes.

<sect2>Notes for Linux

<p>
If you want to boot linux with Smart BootManager, you must install 
LILO into the Superblock of your linux partition, instead of into MBR!

Edit /etc/lilo.conf file, change the line that include "boot=/dev/hda"
to "boot=/dev/hda?", /dev/hda? is the partition where your linux kernel
placed. Then run /sbin/lilo. 

<sect2>Notes for Windows NT, Windows 2000, FreeBSD, OS/2 and Solaris

<p>
You should install these OSes into a primary partition of the first 
hard disk. Although the second (and later) hard disk and logical partitions
may also be supported by SmartBtmgr (by using 'Swap drive ID' feature)
I don't suggest doing so.

You should turn on the Auto Active flag of these partitions. If not,
errors might occur while booting the OS.

If you installed these OSes into the second or later hard disk, you also 
should turn on the Swap drive ID flag (CTRL+X).

<sect2>Notes for DOS, Windows 9X

<p>
You should install these OSes into a primary partition of the first 
hard disk. Although it is possible to install DOS and Windows 9X into
a logical partition or the second (or later) hard disk, it is not
recommended. See section <ref id="Advanced usage"> for more information.

<sect>How to use Smart Boot Manager 3.x?

<p> 
This section briefly introduces the usage of Smart Boot Manager 3.x.

<sect1>How to run it?

<p>
After installation, please reboot the computer. If it was installed
onto a floppy disk, please insert the disk into the floppy drive
and boot from this disk. The main interface of this program will
appeared if everything is correct. Press F1 for online help.

<sect1>The Smart Boot Manager 3.x interface

<p>
There is a Boot Menu at the center of the screen containing a
list of all partitions and floppy drives found by SmartBtmgr. I
call each partition (or floppy drive) a "Boot Record", for example:

<tscreen><verb>
          Flags    Number  Type     Name
     ---------------------------------------------
       ---------D  FD0  0  NONE     Floppy
       ---------D  HD0  0  NONE     Harddisk
       ---------D  HD1  0  NONE     Harddisk
       ---------D  CD0  0  NONE     CD-ROM
     * ----aAh---  HD1  1  FAT32    Primary 1
       p-k----Hl-  HD1  5  FAT32    Logical 5
       -S---A----  HD1  1  Linux    Primary 1
       ---X-A----  HD1  2  FAT32    Primary 2
</verb></tscreen>

The first record in above sample is a floppy drive (A:). The second and
third records are the two hard disks (the MBRs). The next is a IDE CD-ROM.
The next record is the first primary partition in the first hard disk, and 
so on.

The meaning of each column in Boot Menu is:

<tscreen><verb>
 Flags   : Attribute flags of each boot record, 
           the meaning of each flag is:

           * : indicates that it's the default boot record. 
               When the auto boot delay time is up, or the
               ESC key is pressed, this boot record will be 
               automatically booted.

           p : indicates that it has password protection. 
               Press F9 to change the password of the boot 
               record. This password is noneffective unless 
               the root password is set. Press F10 to set the 
               root password. (The root password here has
               nothing to do with the root password in Linux!)

           S : indicates that this boot record was added to
               the schedule table, if the current time falls
               into this record's schedule, SmartBtmgr will 
               set it as default boot record. Press Ctrl-S to 
               set/unset the schedule of current record.

           k : indicates that this boot record has some 
               keystrokes to be preloaded into the keyboard
               buffer before booting it. Press Ctrl-K to
               set/unset it.

           X : indicates that the swap drive id flag is set.
               While booting this record, its drive will
               be swapped with the bootable drive of the same
               type. For example, if this flag is set for a 
               partition in the second hard disk (drv id=129),
               the drive with id 128 (0x80) and 129 (0x81) will
               be swapped while booting this partition.
               This feature is very useful if you want to boot
               DOS/Windows 9X/NT from the second or later hard disk.
               Press Ctrl+X to toggle this flag.

           a : indicates that this boot record will be 
               automatically marked as active when booting it. 
               Usually, the primary partition that installed 
               DOS/Windows 9x/Windows NT should set this flag. 
               Press F6 to toggle this flag.

           A : indicates that this primary partition  was
               marked as active. Press F4 to mark it.

           h : indicates that this boot record will be 
               automatically hidden when booting other records. 
               This flag only affects the FAT and NTFS partitions. 
               Press F7 to toggle this flag.

           H : indicates that this partition was already hidden.
               Press F5 to hide/unhide a partition.

           l : indicates that this boot record is a logical
               partition.

           D : indicates that this boot record is a disk drive, 
               it can be a floppy drive or hard disk (MBR) in the
               current version.

 Number  : The Drive No. and Partition No. of this boot record.
           The left column is Drive No., the right one is 
           Partition No. For a floppy drive, the Drive No. 
           is FD0 or FD1 (A: or B:), the Partition No. is always 0.
           For partitions, the Drive No. of the first hard disk 
           is HD0, the Partition No. is same as the Linux convention.
           The CD-ROM Drive Number starts from CD0.

 Type    : The partition type. For a disk drive, it's always NONE.

 Name    : The name of the boot record. Press F3 to change it.
</verb></tscreen>

<p>
The global flags and information of Smart Boot Manager are displayed at 
the right bottom corner of the screen, it looks like:

<tscreen><verb>
 |HD0|PSALE| 28: 30
</verb></tscreen>

The first area (HD0) is the BIOS ID of the current boot drive, the second
area (PSALE) are the global flags, which mean:

<tscreen><verb>
P  :  Administrator password is available. 
S  :  Smart Boot Manager is in Security Lock Mode.
A  :  Smart Boot Manager is in Administration mode.
L  :  "Remember the last boot record" feature is turned on.
E  :  Extended Int 13H is turned on. 
</verb></tscreen>

The third area (28: 30) is the delay time counter.

<sect1>The hot keys

<p>
SmartBtmgr has following hot keys:

<tscreen><verb>
       F1    Show Help window
  Ctrl+F1    Show About window
       F2    Save changes
       F3    Rename the boot record
       F4    Mark the primary partition active
       F5    Hide/unhide the partition
       F6    Toggle auto active (only for primary partitions)
       F7    Toggle auto hide (only for partitions)
       F8    Set default boot record
 Shift+F8    Unset default boot record
       F9    Change boot record password
      F10    Change root password
 Ctrl+F10    Enter/leave the administrator mode
  Alt+F10    Enter/leave the Security Lock mode

   Ctrl+D    Delete the boot record
   Ctrl+T    Set delay time (seconds)
   Ctrl+I    Rescan all boot records
   Ctrl+H    Rescan all partitions

   Ctrl+P    Duplicate the boot record
   Ctrl+U    Move the boot record up
   Ctrl+N    Move the boot record down

   Ctrl+S    Set / unset the record's boot schedule
   Ctrl+K    Set / unset the preload keystrokes

   Ctrl+X    Toggle swap drive id flag

   Ctrl+F    Change the style of Boot Menu

   Ctrl+L    Toggle "Remember the last booted record"
             (If this feature is turned on, there will 
              be a Red 'L' at right bottom of the screen.)

   Ctrl+Q    Exit to BIOS

  Up,Down    Move the focus bar
   / or ?    Show information box
    Enter    Boot it

 Keypad +    Change Video mode, available video modes are
             80x25 and 90x25.

     Home
   Delete    Move the Boot Menu Window.
      End
 PageDown

 Ctrl+F12    Power Off.

 Tab(Alt)    Open / Close the command menu.
    Alt-S    Open / Close the System Settings Menu.
    Alt-R    Open / Close the Record Settings Menu.
</verb></tscreen>

<p>
When the command menu is opened, following hot keys can be used:
<tscreen><verb>
  Up,Down    Move the command menu's focus bar.
    Enter    Execute the focused command.

  Ctrl+Up    Move the boot menu's focus bar.
Ctrl+Down 

     Home
   Delete    Move the command menu.
      End
 PageDown

Ctrl+Home
 Ctrl+Del    Move the Boot Menu Window.
 Ctrl+End
Ctrl+PgDn
</verb></tscreen>

<sect1>Command menus
<p>
Use Tab key to open or close the command menu, there are three command menus
available: Main Menu, Record Settings Menu and System Settings Menu.

<sect2>Main Menu
<p>
<tscreen><verb>
Help                Open the Help window
About               Open the About window
Save Changes        Save the changes
Boot it             Boot the focused boot record
Boot Previous MBR   Boot the original MBR (before Smart Btmgr was installed)

Record Settings     Open the Record Settings Menu
System Settings     Open the System Settings Menu

Quit                Quit to BIOS (Try to boot the next bootable device)
Power Off           Turn the computer off (Needs Mother Board with APM)
</verb></tscreen>

<sect2>Record Settings Menu
<p>
<tscreen><verb>
Information           Show the boot record's information
Name                  Change the boot record's name
Password              Change the boot record's password
Schedule              Set/unset the Schedule time 
Keystrokes            Set/unset the Keystrokes

Mark Active           Mark the boot record as active
Hide/unhide           Hide/unhide the boot record
Auto Active           Set/unset the Auto Active flag
Auto Hide             Set/unset the Auto Hide flag
Swap Drive ID         Set/unset the Swap Drive ID flag

Delete                Delete the boot record
Duplicate             Duplicate the boot record
Move Up               move the boot record up
Move Down             move the boot record down
</verb></tscreen>

<sect2>System Settings Menu
<p>
<tscreen><verb>
Root Password                Set the Root(Administrator) Password
Toggle Admin Mode            Enter/Leave the administration mode
Toggle Security Mode         Enter/Leave the security mode

Set Default Record           Set focused boot record as the default record
Unset Default Record         Unset default boot record
Set Delay Time               Set the delay time
Change Boot Menu Style       Change the style of Boot Menu
                             (Hide Flags, Number, Type from Boot Menu).

Toggle Remember Last         Toggle "Remember the last boot record". There is a
                             Red 'L' at the bottom of the screen to indicate 
                             this switch.

Toggle Extended Int13H       Turn on/off BIOS Extended Int13H.

Rescan All Boot Records      Rescan all boot records and rebuild the boot menu
Rescan All Partitions        Rescan all partitions and rebuild the boot menu
Set CD-ROM I/O Ports         Set the I/O ports of IDE CD-ROM by hand.
Set year (fix Y2K BIOS bug)  Set the correct year for old buggy BIOS.

Install Smart BootManager    Install Smart BootManager onto a selected drive
Uninstall Smart BootManager  Uninstall current Smart BootManager
</verb></tscreen>

<sect1>Advanced usage<label id="Advanced usage">

<sect2>Password protection

<p>
The password scheme of SmartBtmgr is very flexible. One root password
can be set for administrator. Different access passwords can be assigned
to each boot record to restrict access to this record.

If the root password was set, there will be a 'P' character displayed at the
right bottom of the screen.

There are three security modes available:

<itemize>
<item>Normal mode

<p>
  In this mode, following operations need the Boot Record Password:
<itemize>
<item>Change Name
<item>Change the Boot Record Password
<item>Toggle the Auto Active flag
<item>Toggle the Auto Hide flag
<item>Toggle the Swap drive ID flag
<item>Active the Boot Record
<item>Hide / unhide the Boot Record
<item>Boot the Record
</itemize>

  All other operations except "Save Changes" need the Root Password.

<item>Security Lock mode

<p>
  In this mode, all operations except "Boot the Record" need the Root 
Password. The Boot Record Password is needed to boot the record.
  This mode is the most secure mode, you should switch SmartBtmgr 
into this mode after you finish configuring it.
  When SmartBtmgr is in this mode, there will be a 'S' char 
displayed at the right bottom of the screen.

  Use Alt-F10 key to Enter or Leave this mode.

<item>Administrator mode

<p>
  In this mode, all operations do not need any password! This mode is
only used to configure SmartBtmgr! 
  When SmartBtmgr is in this mode, there will be a 'A' char displayed 
at the right bottom of the screen.

  Use Ctrl-F10 key to Enter or Leave this mode.
</itemize>

<sect2>Delay time

<p>
If no key is pressed within the delay time, the default boot record
will be booted automatically.

If the delay time is set to zero, the user interface will not be
displayed and the default boot record will be booted automatically.
Hold the Ctrl key while rebooting the computer to enter the user
interface of SmartBtmgr again.

If the delay time is set to 255, there is no time limit to boot
the default boot record.

<sect2>Boot Schedule

<p>
A boot record can be assigned a scheduled time/days range. 
When booting the computer each time, if the current time falls within the 
scheduled time range of a boot record, Smart Btmgr will set this boot 
record as the default record.

If the delay time was set to zero, this boot record will be booted
automatically.

Use Ctrl-S key to set or unset a boot record's scheduled time range.

The minimal unit of a scheduled time range is a minute, and the format 
must be:

<tscreen><verb>
    hh:mm-hh:mm;days
</verb></tscreen>

The first hh:mm is the beginning time, the second hh:mm is the ending
time. It uses 24 hour format. The days field is a set of number rangeing
from 0 to 6, each number indicates a day (0-6, indicate Sunday-Saturday).
If the days field is missing, all of the days will be selected.
For example, if a boot record will be used between 8:00 am to 2:30 pm every
Monday to Friday, the time range must be entered as:

<tscreen><verb>
    08:00-14:30;12345
</verb></tscreen>

<sect2>Preload Keystrokes

<p>
Smart Btmgr can store some keystrokes into keyboard buffer before 
booting an OS. This feature may be used to control the boot configuration
of the OS. For example, storing the Alt-F5 key combination into the keyboard 
buffer before booting Windows 9x, will have it go into command prompt mode directly.

Using this feature together with the Ctrl-P (Duplicate Boot Record) hot key ,
you can create multiple boot records for an OS, each boot record boots the OS 
into a special environment.

For example, you can create three boot records for your Windows 9x System,
one is the normal boot record, another one is a safe mode boot record and the 
last one is the command prompt mode.

Use Ctrl-K key to set or disable this feature of a boot record.

While setting the keystrokes of a boot record, there will be an information
box at the center of the screen, which indicates the key code of the last
pressed key and how many keys been pressed. Smart Btmgr can only store
a maximum of 13 keys for each boot record. Press &lt;Scroll Lock&gt; 
keys to finish the input.

<em>Note:</em> By default LILO will discard all keys in keyboard buffer
when it starts. So this feature might not work on your LILO. You should
recompile LILO to enable this feature:

* First edit the Makefile, add "-DNODRAIN" at the end of the line 
"CONFIG = ...":

<tscreen><verb>
  CONFIG = .... -DNODRAIN
</verb></tscreen>

* Second recompile and install LILO:

<tscreen><verb>
  $ make; make install
  $ lilo
</verb></tscreen>

You must be root to do this!

<sect2>Swap drive ID

<p>
If you want to boot DOS, Windows 9x/NT/2000 or some other OS from the 
second or later hard disk, you will find that this feature is very useful.

If you turn on this flag for a partition on the second or later
hard disk, this drive will be swapped with the bootable drive (ID = 0x80) 
while booting this partition. Then the OS will run as if it is on the 
first hard disk.

<sect2>Online installation and uninstallation

<p>
If you want to install Smart Boot Manager from the user interface, first select
a disk drive's boot record, then use the command "Install Smart BootManager" 
(in System Settings Menu). A dialog will appear to let you confirm, press
Y to continue the installation.

You can only install Smart BootManager onto a disk drive, installation into
a partition is not allowed.

<p>
If you want to uninstall current Smart Boot Manager, just use command
"Uninstall Smart BootManager" (in System Settings Menu).
But, be careful, this uninstallation command can only restore the MBR area, any
other hidden sectors occupied by Smart BootManager will not be restored.

<sect2>Boot from CD-ROM

<p>
Smart BootManager supports booting from almost all kinds of IDE ATAPI CD-ROM, 
including PCMCIA CD-ROM. But some special IDE controllers may have different 
I/O ports, which prevent Smart BootManager from finding the CD-ROM. 
In this case, you can set the I/O ports by hand. Run the command 
"Set CD-ROM I/O Ports" (in System Settings Menu). An input box will appear
to let you input the I/O ports. Each IDE controller has two I/O ports, 
e.g. 0x1F0,0x3F6 (the master IDE controller). Input those I/O ports exactly 
in the following format:

<tscreen><verb>
 1F0,3F6                  (Uppercase hex numbers with a comma in the middle)
</verb></tscreen>

After entering the I/O ports, you must use the command "Rescan All Drives" 
(Ctrl-I) to find the CD-ROM.

When you boot a CD disc with multiple boot images, 
there will be a menu to let you choose an image to boot.


<sect2>How to install DOS, Windows 9x into a logical FAT partition?

<p>
SmartBtmgr allows you to boot DOS/Windows 9X from a logical FAT
partition. But the setup program of DOS/Windows 9X is too poor to 
install it into a logical FAT partition.

I have no any idea of how you install DOS/Windows 9X into a logical FAT
partition directly, but you can transfer a working copy of DOS/Windows 9X
from a primary FAT partition to a logical one, by using some other 
utility such as Norton Ghost.

In order to boot a DOS/Windows 9X that is installed in a logical FAT
partition, you must hide all FAT partitions before it.

You can toggle on the Auto Hide switch of each FAT partition, if you
tired of hiding partitions every time.

If this partition is on the second or later hard disk, the Swap
drive ID flag might be turned on as well.

<sect2>How to install DOS, Windows 9x/NT/2000 into the second (or later) HD?

<p>
One of common methods of installing DOS/Windows 9x into the second
(or later) HD is to unplug all other HDs that are before this hard disk
OSes, plug all the HDs back in, then you can use Smart BootManager to 
boot the OSes on the second or later HD by turning on the Swap drive 
ID flag of the partition.

<sect>Compatibility

<sect1>Hardware compatibility

<p>
Smart BootManager supports the Intel i386 platform only. 
Extended Int 13h (LBA standard) for Large disk (over 8G) is supported.
Old CHS standard is supported as well.

<sect1>Known bugs of Smart Boot Manager 3.0

<p>
There are following known bugs available in current version:
<itemize>
<item>I found that there are some kind of mother boards that have buggy BIOS's, 
      which can cause Smart Boot Manager to fail to find all of the 
      drives and partitions.
</itemize>

<sect1>Compatible OSes

<p>
The following OSes are tested to be able to boot via Smart BootManager:

<itemize>
<item>GNU/Linux x86
<item>FreeBSD
<item>BeOS
<item>OS/2
<item>QNX
<item>Solaris x86 (only Solaris 8 was tested)
<item>Novell Netware
<item>Microsoft DOS, Windows 9x, Windows NT and Windows 2000
</itemize>

Other Operating Systems should be supported as well, but I have not had a
chance to test them. If you can test them, please let me know the results.

<sect>TODO list

<p>
The following features are sorted by priority:

I. Features should be added to this major version:

<itemize>
<item>More Documentation.
  Because of my poor English, the documents are far from complete.
  I wish someone could help me write some documentation.
<item>Flexible and smart installation programs for multiple OSes,
  such as Windows 9X, Linux, FreeBSD and DOS.
<item>Makefiles and/or automake/autoconf scripts for multiple OSes.
  I have not learned to write a Makefile. I hope someone could help me.
<item>Utilities for multiple OSes that realize the "Direct Boot"
  feature in SmartBtmgr.
<item>Bug fixes and optimization.
<item>More themes for different languages and looks.
</itemize>

II. Features for later versions:

<itemize>
<item>Online installation and uninstallation. ( DONE )
<item>More powerful weekly boot schedule. ( DONE )
<item>Support for non-standard keyboards (azerty, dvorak etc.). ( DONE )
<item>Easy-to-use Command Menu. ( DONE )
<item>Swap drive ID. ( DONE )
<item>Preload keystrokes (Send keystrokes to OS). ( DONE )
<item>Boot Schedule (Auto boot different OS at different time). ( DONE )
<item>Support Booting from CD-ROM. ( DONE )
<item>Use compression technology to reduce program size. ( DONE )
<item>Filesystem driver (ext2, FAT, etc.).
<item>Linux kernel loader.
<item>Build-in fdisk utility.
</itemize>

If you have any new ideas and suggestions please let me know,
or help me implementing them.

<sect>Contacting the author

<p>
If you have any great ideas or suggestions, don't hesitate to tell me!
If you made some improvement for this program or some wonderful themes,
send them along, and I will add them to the next release version.

My address is: <url url="mailto:su_zhe@sina.com" name="su_zhe@sina.com">
Alternative : <url url="mailto:suzhe@gnuchina.org" name="suzhe@gnuchina.org">


See section <ref id="authors"> for other authors' address.

<sect>Thanks

<p>
I would like to thank everyone that helped and supported me to develop
this program. Special thanks to:

<p>
Chris Li (<url url="mailto:chrisl@gnuchina.org" name="chrisl@gnuchina.org">)
<p>
Linuxrat (<url url="mailto:linuxrat@263.net" name="linuxrat@263.net">)
<p>
Frdric Bonnaud (<url url="mailto:tux.le.pengouin@free.fr" name="tux.le.pengouin@free.fr">)
<p>
Zak Meekins (<url url="mailto:zmeekins@email.sjsu.edu" name="zmeekins@email.sjsu.edu">)
<p>
Gnagno (<url url="mailto:gnagno@tiscalinet.it" name="gnagno@tiscalinet.it">)
<p>
Patrick van Brakel (<url url="mailto:patrickb@wfw.wtb.tue.nl" name="patrickb@wfw.wtb.tue.nl">)
<p>
njh (<url url="mailto:njh@hawthorn.csse.monash.edu.au" name="njh@hawthorn.csse.monash.edu.au">)
<p>
Lukas Kumpera (<url url="mailto:xkumpera@poli.feld.cvut.cz" name="xkumpera@poli.feld.cvut.cz">)
<p>
Risko Gergely (<url url="mailto:risko@njszki.hu" name="risko@njszki.hu">)
<p>
Bill Hults (<url url="mailto:ehults@itofvt.net" name="ehults@itofvt.net">)
<p>
Sam Varghese (<url url="mailto:sam@gnubies.com" name="sam@gnubies.com">)
<p>
Udo Jocher (<url url="mailto:udo@udoj.org" name="udo@udoj.org">)
<p>
Benoit Mortier (<url url="mailto:opensides@caramail.com" name="opensides@caramail.com">)
<p>
and all other fellows in TurboLinux and Linux Board of SMTH BBS of
Tsinghua University.

<sect>Authors<label id="authors">

<p>
* Kernel programs and some utilities:
<p>
  Suzhe (email: <url url="mailto:suzhe@gnuchina.org" name="suzhe@gnuchina.org">)
<p>
* Installation program and Makefile:
<p>
  Lonius (email: <url url="mailto:november@video.mdc.tsinghua.edu.cn" name="november@video.mdc.tsinghua.edu.cn">)
<p>
* French theme:
<p>
Benoit Mortier. (<url url="mailto:benoit.mortier@hitention.com" name="benoit.mortier@hitention.com">)
<p>
Frdric Bonnaud (<url url="mailto:tux.le.pengouin@free.fr" name="tux.le.pengouin@free.fr">)
<p>
* German theme:
<p>
Dirk Knop (<url url="mailto:dknop@gwdg.de" name="dknop@gwdg.de">)
<p>
* Hungarian theme:
<p>
Lenart Janos (<url url="mailto:lenart@njszki.hu" name="lenart@njszki.hu">)
<p>
* Russian theme:
<p>
Victor O`Muerte (<url url="mailto:vomuerte@mail.ru" name="vomuerte@mail.ru">)
<p>
* Czech theme
<p>
brz (<url url="mailto:brz@post.cz" name="brz@post.cz">)
<p>
* Spanish theme
<p>
Manuel Clos (<url url="mailto:llanero@jazzfree.com" name="llanero@jazzfree.com">)
<p>
* Portuguese theme
<p>
Andre Maldonado (<url url="mailto:agm@clix.pt" name="agm@clix.pt">)
<p>
* Smart Boot Manager UNIX Configurator:
<p>
Risko Gergely (<url url="mailto:risko@njszki.hu" name="risko@njszki.hu">)
<p>
* ATAPI Drive and debug/helptool for NASM:
Christopher Li (<url url="mailto:chrisl@gnuchina.org" name="chrisl@gnuchina.org">)
<p>
* Y2k workaround patch
Santiago Garcia Mantinan (<url url="mailto:manty@i.am" name="manty@i.am">)

</article>