home *** CD-ROM | disk | FTP | other *** search
/ ftp.cdrom.com/pub/cdrom/ / cdrom.tar / cdrom / osbs20b8.zip / README.135 < prev    next >
Text File  |  1992-12-18  |  11KB  |  301 lines

  1.  
  2.  
  3.        OS Boot Select Version 1.35,                   December 1992
  4.        Copyright (c) 1991, 1992 Thomas wolfRAM
  5.        Manual
  6.        ------------------------------------------------------------
  7.  
  8.        I.    INTRODUCTION
  9.        II.   INSTALLATION
  10.        III.  HINTS
  11.        III.1  FDISK (!)
  12.        III.2  FDISK /mbr
  13.        III.3  DOS disk caching programs
  14.        III.4  ISC UNIX 2.x, OS/2 2.0, MS DOS 5.0, DR DOS 6.0
  15.        III.5  ISC UNIX 3.0
  16.        III.6  386BSD 0.1
  17.        III.7  Linux
  18.        IV.   BUGS
  19.  
  20.  
  21.        I. INTRODUCTION
  22.        ---------------
  23.  
  24.        OS Boot Select is a replacement of the ordinary master boot
  25.        program. It provides a customizable boot menu with a timeout
  26.        and the abiltity to automatically set the active partition
  27.        before booting. This avoids boot problems with some UNIX
  28.        systems. Unlike the OS/2 2.0 boot manager it only requires
  29.        the 512 byte of the master boot sector (sector 0) and no
  30.        seperate partition.
  31.        OS Boot Select comes with a installation program running
  32.        under DOS.
  33.  
  34.  
  35.        II. INSTALLATION
  36.        ----------------
  37.  
  38.        Installation is quite simple. First you must unpack the
  39.        archive. This is done by typing:
  40.  
  41.        C:\>os-bs135.exe
  42.  
  43.        This will create a directory "os-bs".
  44.  
  45.        WARNING!!! At this point having a *tested* bootable DOS
  46.        floppy is strongly recommended! Don't continue without!
  47.        To recall:
  48.  
  49.        C:\>format a: /s
  50.  
  51.        will do it. Copy then os-bs to the boot floppy!
  52.  
  53.        C:\>cd os-bs
  54.        C:\OS-BS>copy os-bs.com a:\
  55.  
  56.        OS Boot Select comes with an installation program. To start
  57.        it, type:
  58.  
  59.        C:\OS-BS>os-bs
  60.  
  61.        A simple desktop appears. In the upper half the partition
  62.        table is displayed with number, hex id byte, state (bootable,
  63.        active or "os-bs"-default) and in the lower half you'll see
  64.        a menu:
  65.  
  66.        Install
  67.        Uninstall
  68.        Change active partition
  69.        Exit
  70.  
  71.        (You can also quit os-bs by pressing <ESC>. The third
  72.        item is only for convenience.)
  73.  
  74.        If you select 'Install', OS Boot Select will first create a
  75.        backup copy of the original master boot sector. You can either
  76.        enter the path name, or use the default, which is a:\mbs.sec.
  77.        (Be sure to put the backup on the DOS boot floppy!). Next, you
  78.        can create your boot menu. For every *bootable* partition the
  79.        program asks you whether you want it to add the partition to
  80.        the menu. If you do, you are prompted for the partition name,
  81.        which can be up to 15 characters long. (Note, os-bs starts
  82.        partition numbering with 0.)
  83.  
  84.  
  85.        E.g.: Suppose following partition table is displayed:
  86.  
  87.        #  id ... system
  88.  
  89.        0  63     ISC UNIX, other System V/386, GNU HURD or MtXinu Mach
  90.        1  06     Primary 'big' DOS (> 32MB)
  91.        2  A5     386BSD
  92.        3  00     unused
  93.  
  94.        Than you can create a boot menu of any combination
  95.        of partition 0, 1, 2.
  96.        E.g.:
  97.  
  98.        ISC 2.2...........1      (part. 0)
  99.        MS-DOS 5.0........2    (part. 1)
  100.        386BSD 0.1........3      (part. 2)
  101.  
  102.        or
  103.  
  104.        Interactive.......1      (part. 0)
  105.        386BSD............2      (part. 2)
  106.  
  107.        (partition 1 is not added here)
  108.  
  109.        The next step consists of choosing the "default" operating
  110.        system. The "default" system is the system that will be
  111.        booted after the boot timeout period has elapsed without
  112.        a valid key being pressed.
  113.        NOTE: The active id hasn't its usual meaning to os-bs (this
  114.        is the "default" id to os-bs)! "Active" is only a flag in
  115.        the partition table passed to the respective operating
  116.        system.
  117.  
  118.        You can now customize the boot timeout in seconds (1..90).
  119.        Use '+' and '-' to adjust it, press <Enter> to confirm.
  120.  
  121.        Last but not least you have to choose whether
  122.        os-bs will make the booting partition active before
  123.        continuing with the second stage boot code. That means the
  124.        master boot sector is written back every time you boot! Use
  125.        it only if you really need it (see HINTS). If you use it
  126.        you cannot use the master boot sector write protection
  127.        feature provided by some BIOSes. Otherwise, your machine will
  128.        hang.
  129.  
  130.        After asking whether you are sure about all this, os-bs is
  131.        installed and a new menu is displayed:
  132.  
  133.        Change boot menu
  134.        Change default boot operating system
  135.        Modify start id before booting (set active), yes/no
  136.        Change boot timeout
  137.        Uninstall
  138.        Change active partition
  139.        Exit
  140.  
  141.        You can change all items again if you want. (The first
  142.        item doesn't see the previous boot menu.)
  143.  
  144.        Now you can test os-bs. Reboot your machine. After the
  145.        several BIOS tests the menu should be displayed. Test all
  146.        menu items.
  147.        If it works, test the timeout. Reboot and look whether
  148.        the default system gets booted after the delay.
  149.  
  150.        If something goes wrong and the machine is hanging:
  151.        put in your boot floppy (remove the write protection!)
  152.        and boot DOS. After the prompt comes, run os-bs,
  153.        choose 'Uninstall' from the menu and enter the path
  154.        name of the previously created backup file.
  155.        This will put the old master boot sector back.
  156.  
  157.        If a particular system doesn't boot with os-bs please
  158.        email me (which system and what happens).
  159.  
  160.  
  161.        III. HINTS
  162.        ----------
  163.  
  164.        III.1 FDISK (!)
  165.        ---------------
  166.  
  167.        There are quite a few differences in how the fdisks of MS DOS,
  168.        DR DOS, OS/2 or UNIX are using and writing the partition
  169.        table. To avoid an inconsitent state in case you don't always
  170.        use the same fdisk, first uninstall os-bs before changing the
  171.        partition table! Afterwards you can reinstall os-bs and
  172.        it can pick up your new partition table. (Its a good idea to
  173.        follow the same procedure even if you use always the same fdisk.
  174.        But at least you must recreate the boot menu to update the os-bs
  175.        internal table!)
  176.        On uninstallation os-bs recognizes if the partition table
  177.        has been changed. It could be a moved active id but also a real
  178.        different partition table. Here you must decide what to do,
  179.        using the backup file as it is (could be dangerous since
  180.        you might be putting back an out-of-date table, but also usefull
  181.        if your master boot sector is destroyed), or copy the actual
  182.        partition table in the backup file and use this.
  183.  
  184.  
  185.        III.2 FDISK /mbr
  186.        ----------------
  187.  
  188.        Some fdisk versions (at least on MS-DOS 5.0) have the usefull
  189.        switch /mbr. If your master boot sector is really destroyed you
  190.        can use this switch to put a "normal" sector back to disk. But
  191.        some older fdisk versions only do it if the partition table is
  192.        empty. On MS-DOS 5.0 fdisk /mbr doesn't affect the partition
  193.        table. It puts only a ordinary master boot program back. This is
  194.        another way to uninstall os-bs.
  195.  
  196.  
  197.        III.3 DOS disk caching programs
  198.        -------------------------------
  199.  
  200.        If you are using such programs with "write delay", like
  201.        PC CACHE, be sure the master boot sector is written to
  202.        disk before reboot, or disable the "write delay"!
  203.  
  204.  
  205.        III.4 ISC UNIX 2.x, OS/2 2.0, MS DOS 5.0, DR DOS 6.0
  206.        ----------------------------------------------------
  207.  
  208.        The second stage boot code of ISC 2.x reads the partition
  209.        table again. It uses the active id to locate itself in the
  210.        table. This is the reason why the ISC partition must
  211.        be set active on the disk and why booting ISC 2.x with the
  212.        OS/2 2.0 Boot Manager doesn't work.
  213.        There are no problems if you have one primary DOS partition
  214.        and one ISC. Install os-bs, set ISC active and booting DOS
  215.        or ISC should work. But if you have two or three primary DOS
  216.        or OS/2 partitions and ISC you have problems since then DOS
  217.        uses the active id to determine, which primary partition will
  218.        be drive C:, which D:, etc.. In this case you should use the
  219.        above described feature of os-bs to set the partitions active
  220.        on disk before booting.
  221.  
  222.        Its possible to use a primary DOS partition and a primary
  223.        OS/2 2.0 (HPFS) partition simultaneously, if you first install
  224.        OS/2 or fake the DOS partition (put other id byte in the partition
  225.        table with disk editor) during installation of OS/2.
  226.        But note, for unknown reasons its impossible to access a
  227.        primary DOS partition from OS/2. (You could create a small
  228.        primary DOS partition only holds DOS and a big extended partition
  229.        holds your DOS applications you want to run from both systems
  230.        which can access a extended DOS partition.)
  231.        But it seems that there is an mysterious bug in OS/2. It gets
  232.        confused during booting if its entry in the partition table is
  233.        not *before* the primary DOS entry. A workaround is to sort the
  234.        entrys with a disk editor carefully by hand.
  235.  
  236.        BTW, from my experience DR DOS 6.0 only boots from the first
  237.        of two primary DOS partitions.
  238.        MS DOS 5.0 doesn't care about this.
  239.  
  240.        Another hint: It seems that ISC UNIX 2.0.x doesn't boot after
  241.        Ctrl-Alt-Del if EMM386.EXE was loaded under MS DOS.
  242.        A reset is safety.
  243.  
  244.  
  245.        III.5 ISC UNIX 3.0
  246.        ------------------
  247.  
  248.        ISC 3.0 comes with its own boot menu included in the second
  249.        stage boot code. The only way to get rid of this rigid menu
  250.        only knows "UNIX" and "DOS" would be patch a copy of /etc/boot
  251.        and then install the patched version with mkpart.
  252.        But its possible to install os-bs anyway. Then you get a
  253.        second menu if you boot ISC from the os-bs boot menu. Its not
  254.        nice but it works.
  255.  
  256.  
  257.        III.6 386BSD 0.1
  258.        ----------------
  259.  
  260.        Problem with the CODRV console driver from Holger Veit
  261.        (veit@du9ds3.fb9dv.uni-duisburg.de) fixed. No other problems with
  262.        386BSD 0.1 reported yet.
  263.  
  264.  
  265.        III.7 Linux
  266.        -----------
  267.  
  268.        Os-bs can boot Linux if you install (e.g.) the LiLo boot program
  269.        in the Linux partition boot sector to boot Linux from hard disk.
  270.  
  271.  
  272.  
  273.        IV. BUGS
  274.        --------
  275.  
  276.        Some versions of fdisk store the partition table backwards.
  277.        There is no easy way to put the last entry (refering to the
  278.        first partition) in the first line of the os-bs menu.
  279.        (A somewhat dangerous workaround is to sort the entries
  280.        with a disk editor by hand *before* installation of os-bs.)
  281.  
  282.        Neither os-bs is able to boot from a second disk nor from
  283.        a Extended DOS partition. Sorry.
  284.  
  285.  
  286.  
  287.        Probably more. Please email me if you run into one.
  288.  
  289.        Thomas Wolfram
  290.        Platz der Vereinten Nationen 6
  291.        1017 Berlin
  292.        Germany
  293.  
  294.        Home: thomas@aeon.in-berlin.de     +49 030 4262960
  295.        Work: wolf@prz.tu-berlin.de        +49 030 31421294
  296.  
  297.        Special thanks to:
  298.        MCE (eyckmans@imec.be) for helping out with english
  299.        and problem report with disk caching programs
  300.  
  301.