Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

MS/Windows/NT or MS/Windows/2000

Set up MS/Windows/NT or MS/Windows/2000 and it will automatically set up a dual boot for any DOS or MS/Windows/95 system installed. If you install MS/Windows/95 after installing MS/Windows/NT it will break the MS/Windows/NT boot mechanism and you'll have to repair it.

Next install Linux but don't let lilo install a master boot record (although in my recipe below I do). Instead have it install a boot record to the root partition. You probably also want to create a boot floppy so you can boot your Linux system the first time after installation.

MINI and Velox (36.52): After compiling the kernel set up dual boot. Use LILO to install boot sect in MBR. On MINI /etc/lilo.conf is:

  boot=/dev/hda
  root=/dev/hda2

Run lilo:

  # lilo
  Added 2.2.18 *

After running lilo (if you overwrite the master boot record—MBR) you can no longer boot into MS/Windows/NT immediately. But, lilo stores a backup MBR in /boot/boot.0300, so don't despair. Copy the lilo boot sector to file then restore the MS/Windows/NT MBR using lilo -u.

The recipe is:

  # dd if=/dev/hda of=/root/bootsect.lnx bs=512 count=1
  # mcopy /root/bootsect.lnx a:
  # lilo -u /dev/hda

  # reboot (into NT)
  C:\>copy a:\bootsect.lnx c:\bootsect.lnx
  C:\>attrib -s -r c:\boot.ini 
  C:\>notepad c:\boot.ini
    [boot loader]
    timeout=5
    default=C:\bootsect.lnx
    [operating systems]
    C:\bootsect.lnx="Debian GNU/Linux"
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows..." 
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows..." 
    C:\>attrib +s +r c:\boot.ini 
    C:\>reboot (into Linux)


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.