Freedom The Open Source Way Contribute Articles or News to OSForgeOSForge HomeLogout from Forums
Contacting OSForgeOSForge HomeAbout OSForge
  

Root
Contribute News
Learning Corner
Linux Distributions
Linux Common FAQ's
Discussion Forums
Community Gallery
Links Directory
Search OSForge
Networking
Industry Updates
Linux & Open Source
Opinions
Press Release
Programming
Security
Web Development

White Paper
OpenKM - Document Mangement announces version 2.0
SugarCRM Manages End-to-End SaaS Offering with Zenoss
Linux Foundation’s Annual Collaboration Summit Kicks Off
Engine Yard Kicks Off Hackfest Series for Ruby Developers
Plat'Home Launches First Linux-based Eco-Friendly Servers In United States
World’s Largest Python Conference Sees 70 Percent Jump in Attendance
Leading SaaS Infrastructure Provider Deploys Zenoss to Improve Uptime and Reduce Cost
JasperSoft is Most Widely-Deployed Business Intelligence Software in the World
Cluster Resources to Showcase Adaptive Windows/Linux Cluster at BrainShare
Funambol Helps New AGPLv3 Open Source License Gain Formal OSI Approval

View More »

Dual Boot Windows 2000 & Redhat 7.0
  [Printable Version]



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:oot.ini
add the following line to the bottom of the file:

c:ootsect.lnx="LINUX"

Save this file and close it.  Next type:

attrib +s +h c:ootsect.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.

  

[ Back to Linux Computing | Sections Index ]

 
Scroll Up

   About | Term of Use | Privacy | Adras | Tell a Friend | Advertise  

OSForge News RSS Feed