  Smart Boot Manager 3.0 ûָ
  Suzhe, suzhe@263.net
  v0.2, 2000  4  8 

  ĵ򵥽 Smart Boot Manager 3.0 ʹ÷.
  ______________________________________________________________________

  Table of Contents


  1.   

     1.1   Ȩ
     1.2 Smart Boot Manager 3.0 ʲô, ʲô?
     1.3 Smart Boot Manager 3.0 

  2. Ͷ Smart Boot Manager 3.0?

     2.1  Smart Boot Manager 3.0?
        2.1.1 Ҫʲô?
        2.1.2 ?
     2.2 ƺͰװļ?

  3. װ Smart Boot Manager 3.0?

     3.1 װʹ÷
     3.2 ضϵͳİװ˵
        3.2.1 װ Linux ˵
        3.2.2 װ Windows NT, Windows 2000, FreeBSD, OS/2 and Solaris ˵
        3.2.3 װ DOS, Windows 9x ˵

  4. ʹ Smart Boot Manager 3.0?

     4.1 б?
     4.2 Smart Boot Manager 3.0 Ľ
     4.3   
     4.4 ߼ʹü
        4.4.1 
        4.4.2   ʱ
        4.4.3 ߼ϰװ DOS/Windows 9x ϵͳ?
        4.4.4 ڵڶ(Ժ)Ӳϰװ DOS/Windows 9x ϵͳ?

  5. 

     5.1 Ӳ
     5.2 Smart Boot Manager 3.0 ֪Ĵ
     5.3 ϵͳ

  6. ҪɵĹ

  7. ϵ

  8.   л

  9.   



  ______________________________________________________________________

  1.    





  1.1.    Ȩ

  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.


  Smart BootManager ; (FSF)
  GNU ͨùȨЭ (GNU GPL) ڶ汾ǰ,
  ·޸ı.

  ǻʵõ, ûκε, ֤
  κ;. μ GNU ͨùȨЭ, ԻϸϢ.

  Ӧøһ GNU ͨùȨЭĸ, û, º
  (FSF): 675 Mass Ave, Cambridge, MA 02139, USA.


  1.2.  Smart Boot Manager 3.0 ʲô, ʲô?

  Smart Boot Manager (дΪ SmartBtmgr),
  һϵͳ޹ص---- һκϵͳ֮ǰ,  BIOS
  òִеĳ. ѡҪ ϵͳ.

  SmartBtmgr  OS/2 BootManager, Bootit, Bootstar, System Command Լ
  PQ-Boot . һϵͳ. Ҳ˵,
  ʹñ ϵͳʱ, ʹ LILO
  ()  Linux.


  1.3.  Smart Boot Manager 3.0 

  SmartBtmgr ĿǼ, ԼСĳߴ.
  Ѻõരڽ . ļó,
  й.  , ڵһеʱ,
  Զͷ. Ȼ, 
  ʱ򶼿½. ÿ¼ҲĽֱ
  ޸. ڰװԺ, Ͳʹðװ, ⵽ƻ. 㲻
  ԽװӲ, ԰װ. һο԰װֿ, 
  һ⵽, Զʹһ
  (Իûڵǰװʵ).

  SmartBtmgr ǳС, ԰װӲ̵ĵһŵ(),
  Ҫ ķ, ϵͳ޹ص,  System
  Commander, OS/2 Boot Manager  PQ-Boot ͬ. Ȼ, Linux
  ҲǱ.

  ǳС, ĹܻǷǳǿ. ,
  , Զʱ, ֱ ( Choose-OS е single-shot
  autoboot ), û.

  Ժ׵ض SmartBtmgr ûķ. ļͳ
  ȫ, ԿԶظı, ±. ǰ汾
  а׼Ľļ----ĽӢĽ.


  2.  Ͷ Smart Boot Manager 3.0?

  2.1.   Smart Boot Manager 3.0?

  2.1.1.  Ҫʲô?

   Linux û, Ҫ gcc, make  nasm (Netwide Assembler, صַ:
  http://www.web-sites.co.uk/nasm/ <http://www.web-sites.co.uk/nasm/>).
   DOS û, ߱ DJGPP (GCC  DOS ֲ, صַ:
  http://www.delorie.com/djgpp/ <http://www.delorie.com/djgpp/>) 
  nasm.


  2.1.2.  ?

  ༭ Makefile ļ, ޸ 'TARGET=xxx' һ. ʹõ Linux,
  иΪ TARGET=linux, ʹõ DOS, Ϊ TARGET=dos.

  Ȼִ make .

  õĿִļ installer/ Ŀ¼.


  ִ make install װ.  Linux, ȱʡװĿ¼ /usr/sbin/
  ҪıĿ¼, ༭ installer/Makefile ļ.
  װĿǰ Linux ¹.


  2.2.  ƺͰװļ?

  Դӱṩ׼ļʼ༭Լļ. ׼
  ļ manager/themes/ Ŀ¼.

  ڱ༭ļʱ, ļеע.

   nasm ܱļ.  뷽ǳ, ,
  ļΪ mytheme.asm, һ һ mytheme.asmm
  Ķư汾:



       % nasm -fbin -o mytheme.bin mytheme.asm




  ʹµļװ Smart Boot Manager  (μ ``''):

   linux:



       % sbminst -t mytheme.bin -d /dev/hda




   dos:



       > sbminst -t mytheme.bin -d 128




  3.  װ Smart Boot Manager 3.0?

  3.1.  װʹ÷

  Ŀǰ DOS  Linux İװ. װ installer/
  Ŀ¼.  DOS  Linux װʵͬһԴļ.
  ǵ÷Ҳǳ .

  װ÷:



         sbminst [-t us|zh] [-d drv] [-b backup_file] [-u backup_file]

         -t us, zh   ѡҪʹõļ(ļ)
                     us = Ӣ, zh=Ľ
                     ָһûļ.
         -d drv      ѡҪװ SmartBtmgr 
                      Linux:
                        /dev/fd0 һ
                        /dev/hda һӲ
                      DOS:
                        0    һ
                        128  һӲ
         -b backup_file Ҫǵ, ԱԺж SmartBtmgr.
         -u backup_file ж Smart BootManager, ѡֻܶʹ.




  ,  Linux ʹ smbinst -t zh -d /dev/hda -b sbm-bak.dat 
  Ľ SmartBtmgr װһӲ, ԭʼݱݵ sbm-bak.dat
  ļ.

  ʹ 'sbminst -u sbm-bak.dat' ж.


  3.2.  ضϵͳİװ˵

  3.2.1.  װ Linux ˵

   Smart BootManager  Linux, 뽫 LILO װ Linux
   Superblock ,  MBR .

  ༭ļ /etc/lilo.conf,  "boot=/dev/hda" һиΪ
  "boot=/dev/hda?",  /dev/hda?  Linux ڵķ.  Ȼ
  /sbin/lilo.


  3.2.2.  װ Windows NT, Windows 2000, FreeBSD, OS/2 and Solaris
  ˵

  ӦýЩϵͳװһӲ̵Ļ.
  ߼͵ڶ()Ӳ ֧.
  ûгԹڵһӲ̵ĻⰲװЩϵͳ.

  ӦôЩϵͳ¼Զ־, ܳ.


  3.2.3.  װ DOS, Windows 9x ˵

  Ӧý DOS  Windows 9x װһӲ̵Ļ.
  Ҳ װ߼Ӳ, Ҳô.
  μ``''һ , ԵõϸϢ.


  4.  ʹ Smart Boot Manager 3.0?

  4.1.  б?

  װɺ, . װ, 뽫̲밲װ
  ʱʹõ, .ʱ, .  
  F1 Եõ򵥵.


  4.2.  Smart Boot Manager 3.0 Ľ

  Ļ˵, г, з,
  ÿһ () Ϊһ¼, :



              Flags    Number  Type     Name
            ---------------------------------------------
              ------R    0  0  NONE     Floppy
            * -aAh---  128  1  FAT32    Primary 1
              p---HL-  128  5  FAT32    Logical 5
              --A----  129  1  Linux    Primary 1




  , һ¼Ϊ (A:),
  ڶ¼ΪһӲϵĵһ , ¼Ϊһ߼,
  ¼ΪڶӲϵĵһ .

  ˵и:




           Flags (־): ־¼ĳЩ, ÿĸŵֱΪ:
                     * : ʾ˼¼Ϊȱʡļ¼, ʱ䵹ʱΪ0ʱ,
                         ESC, ˼¼;
                     p : ʾ˼¼п,  F9 Ըıָ¼Ŀ;
                     a : ʾ˼¼ʱԶ, һ, װ
                         Windows 9XϵͳFATҪô˱־,
                         ޷ϵͳ.  F6 л˱.
                     A : ʾ˼¼Ѿ־Ϊ,  F4 ָĻ;
                     h : ʾ¼ʱ, Զش˼¼
                         (͸Ϊ0xA0). عһֻ
                         DOS, Windows 9X/NTϵͳ, Ҫֹ
                         ˷һ, ô˱־, ÿ.
                     H : ʾ˼¼Ѿ,  F5  () һ;
                     L : ʾ˼¼Ϊ߼;
                     R : ʾ˼¼Ϊƶ, Ŀǰ汾нʾ.

           Number (): ¼ͷ, ߵΪ,
                          ұߵΪ, ڿƶ, Ϊ 0;
                          Ӳ̷, Linuxеͬ.

           Type () : , ڿƶ, ΪNONE.

           Name () : ¼,  F3 ޸.








  4.3.    

  Ĺܼ:



                F1    ð
           Ctrl+F1    ʾڴ
                F2    ޸
                F3    ޸¼
                F4    һΪ
                F5    /һ
                F6    /ȡԶ־
                F7    /ȡԶر־
                F8    ȱʡ¼
          Shift+F8    ȡȱʡ¼
                F9    ı¼Ŀ
               F10    ıԱ

            Ctrl+D    ɾһ¼
            Ctrl+T    ʱ
            Ctrl+I    ɨؽ¼
            Ctrl+H    ɨӲؽ¼
            Ctrl+Q    ˳ BIOS

           Up,Down    ƶѡ
             Enter    ѡеļ¼

           Del,Home,End,PageDown    ƶ
           С +   ıʾģʽ





  4.4.  ߼ʹü

  4.4.1.  

  ֿ, Ա¼. Աֻһ,
  ÿ¼һ.  /޸¼, ,
  Զ־, Զر־, , , һ¼,
  ֻҪ¼Ŀ.  ɨ, ʱ,
  ıȱʡ¼, ɾ¼, ҪԱ.  ע,
  Աκ, ҪСı.


  4.4.2.    ʱ

  ڹ涨ʱʱûа, Զȱʡ¼. ʱΪ 0,
  򲻻뱾Ľ, ֱȱʡ¼.
  Ҫ, ֻʱס Ctrl .
  ʱΪ 255, 򲻽еʱ.



  4.4.3.  ߼ϰװ DOS/Windows 9x ϵͳ?

  һװ߼ϵ DOS/Windows 9Xϵͳ.
  ڰ װ֮ǰ, ȰѴ߼ǰ FAT .
  ̻ϵ ͳ, ʱ C: ̾Ӧ߼.
  Ȼ谲װϵͳ.

  Ҫװ߼е DOS/Windows 9X ϵͳ, ҲҪȰǰ
  FAT>.

  4.4.4.  ڵڶ(Ժ)Ӳϰװ DOS/Windows 9x ϵͳ?

  װǰһ.


  5.  

  5.1.  Ӳ

  Smart BootManager ֧ Intel i386 ƽ̨. ͬʱ֧µչ Int 13h
  (LBA ׼) ϵ CHS ׼, ִ֧ 8G Ӳ.


  5.2.  Smart Boot Manager 3.0 ֪Ĵ

  Ѿ´:

    ҷĳЩ͵尲װд BIOS,  Smart Boot Manager
     ȷʶͷ.


  5.3.  ϵͳ

  ϵͳѾ,  Smart BootManager :


    GNU/Linux x86

    FreeBSD

    BeOS

    OS/2

    Solaris x86 ( Solaris 8)

    Novell Netware

    Microsoft DOS, Windows 9x, Windows NT  Windows 2000



  6.  ҪɵĹ

  ¹ȼ:

  I. Ҫǰ汾ҪĹ:


    ĵ.  ΪҵӢˮƽܲ, Իĵû.
     ϣܰд һЩĵ.

    Ϊֲϵͳдİװ, : Windows 9X, Linux,
     FreeBSD  DOS.

    Ϊֲϵͳд Makefiles / automake/autoconf ű.
     һûѧϰд Makefile ļ. ϣ˰.

    Ϊϵͳдʵ Smart Boot Manager  "Direct Boot" .

    ĴŻ.

    ಻ͬԺ۵.

  II. δ汾Ҫ:

    ̷.

    Ԥװذ (ϵͳͰ).

    ִ֧ CD-ROM, Zip  DVD .

    ճ (ڲͬʱԶͬĲϵͳ).

    ʹѹСĳߴ.

    ͼû.

    ֧ (ʵô?)

  ʲô뷨ͽ, , ʵ.


  7.  ϵ

  ʲôõ뷨, ! ĳЩĽ, 
  һЩÿ, ˸һ, һῼǰǼһ汾.

  ҵĵʼַ: suzhe@263.net <mailto:suzhe@263.net>

  ߵĵַ, μ ``'' һ.


  8.    л

  Ҫла֧ҿ, ر:


  Chris Li (chrisl@turbolinux.com.cn <mailto:chrisl@turbolinux.com.cn>)

  Linuxrat (linuxrat@263.net <mailto:linuxrat@263.net>)

  Լ˼˾ (TurboLinux) 廪ѧ SMTH BBS Linux
  е.


  9.    

  * ĳһЩ:

  Suzhe (email: suzhe@263.net <mailto:suzhe@263.net>)

  * װ Makefile:

  Lonius (email: november@video.mdc.tsinghua.edu.cn
  <mailto:november@video.mdc.tsinghua.edu.cn>)
















