Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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 (101.31): 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)

Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire