SUMMARY

This shows how you can remove the Linux operating system from your PC, and install a Windows operating system. This thought that Linux is already installed on hard disk using Linux native and Linux swap partitions, which are inappropriate with operating system, and that there is no free space left on the drive. Windows and Linux can coexist on the same PC.

MORE INFORMATION

To install Windows on a system that has Linux installed when you want to remove Linux, you must delete the partitions used by Linux operating system. The Windows-compatible partition can be made repeatedly during the installation of the Windows operating system. Linux file systems use a "superblock" at the start of a disk partition to recognize the basic size, shape, and condition of the file system.

The Linux OS is typically installed on partition type 83 (Linux native) or 82 (Linux swap). The Linux boot manager (LILO) can be rearranged to set up from:

• The hard disk Master Boot Record (MBR).
• The root folder of the Linux partition.

The Fdisk tool added with Linux can be utilized to erase the partitions. There are additional utilities that work as well, for example Fdisk from MS-DOS 5.0 and later on, or you can also erase the partitions all through the installation procedure. To eliminate Linux from your PC as well as install Windows:

1. Remove native, swap, and boot partitions used by Linux:

a. Start your PC with the Linux setup floppy disk, type fdisk at the command prompt, as well as press ENTER key.

b. Type p at the command prompt and after that presses ENTER key to explain partition detail. The first item scheduled is hard disk 1, partition 1 information, as well as the second item listed is hard disk 1, partition 2 information.

c. Type d at the command prompt, as well as press ENTER key. You are after that forced for the partition number you want to remove. Type 1, as well as press ENTER key to erase partition number 1. Continue this step until all the partitions have been completely removed.

d. Type w, and after that press ENTER key to write this data to the partition table. Several error notes can be produced as information is written to the partition table, but they must not be significant at this point as the next step is to restart the PC and afterward set up the fresh operating system.

e. Type q at the command prompt, as well as press ENTER key to stop the Fdisk tool.

f. Insert either a bootable floppy disk or a bootable CD-ROM for the Windows operating system on your PC, and then press CTRL+ALT+DELETE to restart your PC.

2. Install Windows. Follow the installation commands for Windows operating system you would like to install on your PC. The installation procedure supports you with creating the proper partitions on your PC.

Examples of Linux Partition Tables

Single SCSI drive
Code:
Device    Boot Start End Blocks  Id System
/dev/sda1  *    1    500 4016218 83 Linux native (SCSI hard drive 1, partition 1)
/dev/sda2       501  522 176715  82 Linux swap   (SCSI hard drive 1, partition 2)
Multiple SCSI drives
Code:
    Device  Boot Start End Blocks  Id System
/dev/sda1    *    1    500 4016218 83 Linux native (SCSI hard drive 1, partition 1)
/dev/sda2         501  522 176715  82 Linux swap   (SCSI hard drive 1, partition 2)
/dev/sdb1         1    500 4016218 83 Linux native (SCSI hard drive 2, partition 1)
Single IDE drive
Code:
Device  Boot  Start  End  Blocks  Id  System
/dev/hda1    *     1     500  4016218 83  Linux native (IDE hard drive 1, partition 1)
/dev/hda2          501   522  176715  82  Linux swap   (IDE hard drive 1, partition 2)
Multiple IDE drives
Code:
Device   Boot  Start End  Blocks   Id  System
/dev/hda1     *     1    500  4016218  83  Linux native (IDE hard drive 1, partition 1)
/dev/hda2           501  522  176715   82  Linux swap   (IDE hard drive 1, partition 2)
/dev/hdb1           1    500  4016218  83  Linux native (IDE hard drive 2, partition 1)
Also, Linux identifies further than forty unusual partition types, for example:

• FAT 12 (Type 01)
• FAT 16 > 32 M Primary (Type 06)
• FAT 16 Extended (Type 05)
• FAT 32 w/o LBA Primary (Type 0b)
• FAT 32 w/LBA Primary (Type 0c)
• FAT 16 w/LBA (Type 0e)
• FAT 16 w/LBA Extended (Type 0f)