How to Dual Boot Windows 2000 and Linux
(Specifically Redhat 7.0)

 

   This document is a quick outline of how to dual-boot a Windows NT/2000 operating system with a Linux Operating System. This document will assume that you have a single hard drive partitioned into two sections, however, the process for using two hard drives is very similar. This guide will assume you have already setup your partitions and have installed Windows NT/2000 on one partition and Redhat 7.0 on the other.

  First thing you need to be aware of is that Windows NT/2000 has to own the MBR (Master boot Record). So, when you install Linux be sure to have LILO installed on the first part of the partition, NOT in the master boot record, or this method of dual-boot will not work.

  Now that Windows NT/2000 and Redhat are both installed correctly we will setup the NT-Loader to boot linux as well as NT/2000. To do this we need a dos boot disk (a Windows 98 boot disk works fine, or you can go to a command prompt and type format a: /s. This will create a bootable dos disk.) Insert your linux boot disk and boot into linux. Once you have booted insert the dos boot disk and type:

dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1

mount -t msdos /dev/fd0 /mnt

cp /bootsect.lnx /mnt

umount /mnt

  Now, leaving the floppy in your drive, reboot the computer. at the a: type copy bootsect.lnx c:\
Then type edit c:\boot.ini
add the following line to the bottom of the file:

c:\bootsect.lnx="LINUX"

Save this file and close it. Next type:

attrib +s +h c:\bootsect.lnx

  That's it, take out the boot disks and reboot your computer, whenthe NT loader comes up you should see LINUX, selecting it will run LILO which will load linux..

  One more thing you can do if you don't want to have to push enter when LILO comes up is go into linux and type

pico /etc/lilo.conf

Change the timeout value to 0 and you LILO will begin loading linux instantly.

 

 
 

About Me
| Photo Album | Cool Link | About Lao
Notebook | My Family | My Classmate | Guest Book