home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / LINUX / HOWTO / mini / ldos95.txt < prev    next >
Text File  |  1997-07-07  |  2KB  |  55 lines

  1. The Linux Linux+DOS+Win95 mini-HOWTO
  2. by Alan L. Wendt, alan@ez0.ezlink.com
  3. v1.0, 10 September 1996
  4.  
  5. How To Boot Linux, DOS, and Windows 95 from one Hard Drive using Lilo.
  6.  
  7. The problem:
  8.  
  9. W95 and DOS get confused if more than one partition is marked active,
  10. so it's necessary for the boot manager to activate their partition 
  11. before booting them, and to unmark any others.  W95 and DOS also for
  12. some reason relabel partitions on the booted device so that the OS
  13. always appears to be located on drive C.  So for example, even if
  14. you install DOS into partition E on your main drive, it will appear
  15. as partition C when it's booted.
  16.  
  17. 1.  Use Linux fdisk or Partition Magic to create three partitions on
  18.     your drive.    Install W95 on one partition, DOS on one with
  19.     (for example) format /s c:, and Linux on the third.  If you have
  20.     only one (DOS) partition on your drive to start with, Partition
  21.     Magic is the easy way to break it up into three.   FIPS does the
  22.     same thing for free, but it's a little trickier to run.
  23.     
  24. 2.  Get a copy of lilo.17.tar.gz, which as of August 1996 was the only
  25.     revision with the ability to update the active flag at boot time.
  26.     There's a copy at ftp://ftp.ezlink.com/pub/lilo.17.tar.gz.
  27.     Compile and install it with REWRITE_TABLE defined in the Makefile.
  28.  
  29. Install something like the following in /etc/lilo.conf and run /sbin/lilo
  30. to update the MBR record on your drive:
  31.  
  32.  
  33.     boot = /dev/sda
  34.     compact
  35.     delay = 5        # optional, for systems that boot very quickly
  36.     vga = normal    # force sane state
  37.     ramdisk = 0        # paranoia setting
  38.     root = current    # use "current" root
  39.  
  40.     image = /vmlinuz.1.3.97
  41.       append = "aha1542=0x230 ro"
  42.       label = linux
  43.  
  44.     other = /dev/sda1
  45.       table = /dev/sda
  46.       rewrite-table
  47.       label = dos
  48.  
  49.     other = /dev/sda2
  50.       table = /dev/sda
  51.       rewrite-table
  52.       label = w95
  53.  
  54.  
  55.