Installation of RedHat Linux Along With
Microsoft Windows To Allow Dual Boot

Introduction

This document was born of frustration, trial and error. This is true of most of my technical tips pages. It is my hope that someone else will avoid troubles where I had to experiment.

The goal is simple: Install RedHat Linux and Windows 98 on a box, and have the ability to boot either one without using a diskette. The problem: which operating system to install first, and what options to use when installing. This document describes how I do this type of installation successfully.

Clear Out Partition Table

If you've previously had Linux on the system, and are fresh-installing both operating systems, I recommend cleaning the partition table completely. The Windows/DOS FDISK utility can, in some cases, be unable to remove partitions created by Linux.

If you are trying to install Windows, but have trouble getting its FDISK to remove the partitions, insert your Linux boot diskette and CDROM, go far enough into the installation system to allow it to run the Linux fdisk and use it to wipe the partitions out. Then have it write the partition table and use CTRL-ALT-DEL to reboot. Now you're ready to let Microsoft's tools have at it.

Install Windows

Use Microsoft's installation tools, or run FDISK yourself first, as you choose. Make sure you don't allocate the whole disk to Windows. Leave some space for Linux. Now complete the Windows installation as normal.

Install RedHat Linux

The Linux installation will be fairly uneventful, and you'll be installing in whatever space you didn't use in the Windows install. Near the end of the installation, you'll be asked whether the bootloader should be installed in /dev/hda or /dev/hda5 (or some other numbered partition). This is the key point... you need to choose /dev/hda or else Lilo will not be able to support your dual boot needs.

Lilo will then at startup time be set up with two tags, dos and linux. You can boot one or the other by typing the right one. You can edit /etc/lilo.conf and running /sbin/lilo to change the default.


If you found this information helpful and useful, please let me know. If you require further information or assistance in this area, this can be arranged. For consultation beyond simple questions, Amaranth Networks, Inc. can provide advice, services and information for a fee.

Copyright © 1999, Amaranth Networks, Inc.
All Rights Reserved