Red Hat ENTERPRISE LINUX 3 - INSTALLATION GUIDE FOR X86-ITANIUMTM-AMD64 AND INTEL EXTENDED MEMORY 64 TECHNOLO Installation Manual page 79

Installation guide for x86, itanium, amd64, and intel extended memory 64 technology (intel em64t)
Table of Contents

Advertisement

To uninstall Red Hat Enterprise Linux from your system, you must remove the GRUB or LILO infor-
mation from your master boot record (MBR).
Note
It is always a good idea to backup any data that you have on your system(s). Mistakes do happen
and can result in the loss all of your data.
In DOS and Windows, use the Windows
flag
. This will ONLY rewrite the MBR to boot the primary DOS partition. The command should
/mbr
look like the following:
fdisk /mbr
If you need to remove Linux from a hard drive and have attempted to do this with the default DOS
(Windows)
, you will experience the Partitions exist but they do not exist problem. The best
fdisk
way to remove non-DOS partitions is with a tool that understands partitions other than DOS.
To begin, insert the Red Hat Enterprise Linux CD #1 and boot your system. Once you have booted off
the CD, you will receive a boot prompt. At the boot prompt, type: linux rescue. This will start
the rescue mode program.
You will be prompted for your keyboard and language requirements. Enter these values as you would
during the installation of Red Hat Enterprise Linux.
Next, a screen will appear telling you that the program will now attempt to find a Red Hat Enterprise
Linux install to rescue. Select Skip on this screen.
After selecting Skip, you will be given a command prompt where you can access the partitions you
would like to remove.
First, type the command
that are recognizable by the installation program, as well as their sizes in megabytes.
Warning
Be careful to remove only the necessary Red Hat Enterprise Linux partitions. Removing other parti-
tions could result in data loss or a corrupted system environment.
To remove partitions, use the partitioning utility
device on which to remove the partition:
parted /dev/hda
Using the
command, view the current partition table to determine the minor number of the
print
partition to remove:
print
Removing Red Hat Enterprise Linux
fdisk
list-harddrives
utility to create a new MBR with the undocumented
. This command will list all hard drives on your system
. Start
parted
Appendix B.
, where /dev/hda is the
parted

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 3

Table of Contents