fdisk
utility to create a new MBR with the undocumented flag /mbr
. This ONLY rewrites the MBR to boot the primary DOS partition. The command should look like the following:
fdisk /mbr
fdisk
, you will experience the Partitions exist but they do not exist problem. The best way to remove non-DOS partitions is with a tool that understands partitions other than DOS.
linux rescue
. This starts the rescue mode program.
list-harddrives
. This command lists all hard drives on your system that are recognizable by the installation program, as well as their sizes in megabytes.
Warning
parted
. Start parted
, where /dev/hda is the device on which to remove the partition:
parted /dev/hda
print
command, view the current partition table to determine the minor number of the partition to remove:
print
command also displays the partition's type (such as linux-swap, ext2, ext3, ext4 and so on). Knowing the type of the partition helps you in determining whether to remove the partition.
rm
. For example, to remove the partition with minor number 3:
rm 3
Important
print
command to confirm that it is removed from the partition table.
quit
to quit parted
.
parted
, type exit
at the boot prompt to exit rescue mode and reboot your system, instead of continuing with the installation. The system should reboot automatically. If it does not, you can reboot your computer using Control+Alt+Delete .