home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 August / PCWorld_1999-08_cd.bin / doc / HOWTO / unmaintained / mini / Linux+DOS+Win95 < prev    next >
Text File  |  1998-01-14  |  2KB  |  60 lines

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