How ThinkPad uses DiskPart to repartition the pre-installed Vista system is as follows:
1. Use the ThinkVantage program with pre-installed system (2005 Machines shipped in 2008 or later are pre-installed with this component) and create a set of factory recovery CDs. In this way, even if the following operations fail, you can still restore to the pre-installed system. (The hardware equipment of different models may be different. Some models are not configured with burning devices, and customers need to add burning devices themselves.)
The specific method is: Start → All Programs → ThinkVantage → Create Recovery Media (create recovery media). The system will prompt you to insert a blank disc, and then follow the system prompts.
·2. After the recovery disc is created, in Windows Vista system, use the "Disk Manager" program in the control panel to understand your current disk information (total capacity, remaining space, etc.).
For example: total hard disk capacity: 74.53GB, C: partition: 69.97GB, C: partition remaining space: 63.8GB, implicit partition: 4.56GB.
3. After entering the command prompt environment, run the Diskpart command to enter the Diskpart working environment: diskpart.
4. Use the "select disk 0" command to select the first hard disk of the system.
5. You can use the "list partition" command to check the partition status of the hard disk.
6. Use “select partition 1” to select the first partition to be operated on, which is the C: drive.
7. Use the "shrink querymax" command to check the disk space that can be released by the C: drive.
8. If you think this amount is acceptable, use "shrink desired = 35000" to free up 35GB of disk space.Can be created as a new partition in subsequent operations. You can also modify "desired = 35000" to a smaller value to free up less space.
9. After completing the operation, use the "exit" command to exit the Diskpart working environment, and use the "exit" command again to exit the command prompt window. Then restart the system. After entering the Windows vista system, the system may prompt that new hardware is found, and the driver will be automatically installed and restarted. Please follow the instructions of Windows to complete the corresponding operations. After entering Windows Vista again, use the "Disk Management Tool" that comes with Windows Vista to re-partition the 35GB disk space just released from the C: partition according to specific needs.
Tips:
If the recyclable space returned by the "shrink querymax" command is too small during Diskpart operation, for example, there is a total of 60GB of remaining space. For the C: partition with a capacity of 70GB, it was found that only 1GB or less of disk space could be released. This is because on the C: partition, there are files distributed at the end of the partition, so the space that can be released in the C: partition is very limited. The method to solve this problem is as follows:
1. First start the machine and enter the Vista system, and first temporarily disable the page file in the system properties. Then run the pre-installed Diskeeper Lite disk defragmentation software (for early ThinkPads and ThinkCentres that do not have Diskeeper Lite pre-installed, you can use the disk defragmentation software that comes with Windows Vista) to analyze the C: partition. You can find that there are some files at the end of the C: partition. document. At this time, use disk fragmentation software to defragment the disk, and you will find that these files have been sorted to the front of the C: partition.
2. At this point, you can use the Diskpart tool to free up more C: partition space using the previous method. After all operations are completed, you can reset the Windows Vista page file.
Others:
After testing, the above methods will not affect various functions of the ThinkPad or ThinkCentre pre-installed system, such as one-click recovery.
It is recommended that compared with other lossless partition tools, the size of the C: partition space that can be released by the Diskpart tool is related to the disk file distribution of the C: partition. Since the location distribution of files in the partition cannot be freely adjusted, use This method cannot set the C: partition arbitrarilysize.
Recommendation C: The size of the partition should not be less than 20GB to ensure the normal operation of the pre-installed system.
Before using the method introduced in this article to adjust the partition, do not install any applications or files, temporarily disable the disk page file and do a disk defragmentation to ensure that as much space as possible can be released from the C: partition. come out.