BBS水木清华站∶精华区

发信人: trueip (地瓜), 信区: Linux 
标  题: 微软的Linux卸载方案 
发信站: BBS 水木清华站 (Tue Dec 28 22:08:10 1999) WWW-POST 
 
How to Remove Linux and Install Windows 2000 or Windows NT on Your Computer  
This article discusses a Beta release of a Microsoft product. The information  
in this article is provided as-is and is subject to change without notice. 
 
No formal product support is available from Microsoft for this Beta product.  
For information about obtaining support for a Beta release, please see the  
documentation included with the Beta product files, or check the Web location  
from which you downloaded the release. 
------------------------------------------------------------------------------ 
-- 
 The information in this article applies to: 
 
Microsoft Windows 2000 Advanced Server  
Microsoft Windows 2000 Datacenter Server  
Microsoft Windows 2000 Professional  
Microsoft Windows 2000 Server  
Microsoft Windows NT Server version 4.0  
Microsoft Windows NT Workstation version 4.0 
 
------------------------------------------------------------------------------ 
-- 
 
 
SUMMARY 
This article describes how you can remove the Linux operating system from  
your computer, and then install the Windows NT 4.0 or the Windows 2000  
operating system.  
 
 
 
MORE INFORMATION 
The partition types used by the Linux and Windows operating systems are  
incompatible. To remove Linux from your computer and install Windows 2000 or  
Windows NT, you must manually delete the partition used by the Linux  
operating system. The Windows compatible partition can be created  
automatically during the installation of the Windows operating system. 
 
IMPORTANT: Before you follow the steps in this article, verify that you have  
a bootable disk or bootable CD-ROM for the Linux operating system, because  
this process completely removes the Linux operating system installed on your  
computer. If you intend to restore the Linux operating system at a later  
date, verify that you also have a good backup of all the information stored  
on your computer. Also, you must have a full release version of the Windows  
operating system you want to install. 
 
Linux file systems use a "superblock" at the beginning of a disk partition to  
identify the basic size, shape and condition of the file system.  
 
The Linux operating system is generally installed on partition type 83 (Linux  
native) or 82 (Linux swap). The Linux boot manager (LILO) can be configured  
to start from:  
 
The hard disk Master Boot Record (MBR). 
 
 
The root folder of the Linux partition. 
 
 
The Fdisk tool included in Linux can be used to delete the partitions. To  
remove Linux from your computer and install Windows 2000 or Windows NT:  
Remove native, swap, and boot partitions used by Linux: 
 
 
Start your computer with the Linux setup floppy disk, type fdisk at the  
command prompt, and then press ENTER. 
 
NOTE: For help using the Fdisk tool, type m at the command prompt, and then  
press ENTER. 
 
 
Type p at the command prompt, and then press ENTER to display partition  
information. The first item listed is hard disk 1, partition 1 information,  
and the second item listed is hard disk 1, partition 2 information. 
 
 
Type d at the command prompt, and then press ENTER. You are then prompted for  
the partition number you want to delete. Type 1, and then press ENTER to  
delete partition number 1. Repeat this step until all the partitions have  
been deleted. 
 
 
Type w, and then press ENTER to write this information to the partition  
table. Some errors may be generated as information is written to the  
partition table, but they should not be significant at this point since the  
next step is to restart the computer and then install the new operating  
system. 
 
 
Type q at the command prompt, and then press ENTER to quit the Fdisk tool. 
 
 
Insert either a bootable floppy disk or a bootable CD-ROM for the Linux  
operating system on your computer, and then press CTRL+ALT+DELETE to restart  
your computer. 
 
 
 
 
 
Remove LILO. To remove the LILO, type fdisk /mbr at the command prompt, and  
then press ENTER.  
 
 
Install Windows 2000 or Windows NT. Follow the installation instructions for  
the Windows operating system you want to install on your computer. The  
installation process assists you with creating the appropriate partitions on  
your computer.  
 
 
Examples of Linux Partition Tables 
Single SCSI drive 
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 
    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 
    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 
    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 recognizes more than forty different partition types, such as:  
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) 
 
 
 
Additional query words:  
 
Keywords          : kbsetup  
Version           : WINDOWS:2000; winnt:4.0 
Platform          : WINDOWS winnt  
Issue type        : kbhowto  
  
 
 
Last Reviewed: December 22, 1999 
© 1999 Microsoft Corporation. All rights reserved. Terms of Use. 
  
 
 
 
-- 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 202.118.226.88]  

BBS水木清华站∶精华区