18.16. How to Uninstall Linux
on your hard drive will inevitably result in the loss of all data stored
on those partitions. Please make sure you've backed up all of the data you
want to keep before proceeding.
If for any reason you want to uninstall Mandriva
Linux, you can do so. The process of uninstalling
Mandriva Linux is done in two steps:
To do so, reboot your
computer with the installation CD or
DVD (see Section 18.1, “The Mandriva Linux
Rescue System option.
In the new
menu that appears, choose the Restore Windows Boot
Loader option, then press Enter to write
the MBR with a
These are usually partitions
hosting ext3 file systems and the
Swap partition. You can also replace them with
a single partition using fdisk.
rescue mode, select option Go to
fdisk /dev/sda (if the hard disk containing
Mandriva Linux is other than the
1st disk, change
p command to display partition information,
and then use the
d command to delete all
If you want
to create a single partition, use the
1 as the partition number,
make it use all of the space available, and when asked for the
partition type, use the
L command to list the
supported partition types and choose the one for the
OS you plan to install later.
for a FAT32
for a NTFS
for a Linux partition.
Finally use the
w command to write changes back to
Once this is
done, just reset or shutdown the machine using the corresponding