|
[原创]DOS下实现硬盘自动无损数据重新分区的方法
我刚试用了一下下,但是对我的硬盘好像无效。付上调试结果,请指教是什么原因。
PowerQuest PartitionInfo -- DOS engine edition.
Date Generated: 04/09/2005 19:55:22
CPU Vendor: "GenuineIntel"
CPU Signature: 00000f29 CPU Features bfebfbff
***************************** BOOT.INI *****************************
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Microsoft Windows XP Professional /fastdetect
C:\BOOT\BOOTDISK.bin="由虚拟启动软盘启动"
**************************** END PREPEND ***************************
BiosExtensions: 0x3000 Subsets (0x00000005): Access EDD
EGeo 0x0000 16383 16 63 29336832 0 512
Disk Geometry requires extended BIOS support
============================================================================
Disk 0: 21166 Cylinders, 33 Heads, 42 Sectors/Track.
BiosExtensions: 0x3000 Subsets (0x00000005): Access EDD
The BIOS supports INT 13h extensions for this drive.
============================ Partition Tables ==============================
Partition -----Begin---- ------End----- Start Num
Sector # Boot Cyl Head Sect FS Cyl Head Sect Sect Sects
---------- - ---- ---- ---- ---- -- ---- ---- ---- ---------- ----------
0 0 80 [1023 2 29] 0C [1023 32 42] 2123464 16386566 [Large Drive Placeholders]
1532 2 29 13354 32 42 Actual Values
Error #105: Partition didn';t begin on head boundary.
ucBeginHead expected to be 0 or 1, not 2.
Error #106: Partition didn';t begin on head boundary.
ucBeginSector expected to be 1, not 29.
==================================================================================
Disk 0: 14324.3 Megabytes
============================= Partition Information ==============================
Volume Partition Partition Start Total
Letter:Label Type Status Size MB Sector # Sector Sectors
------------- --------------- -------- -------- ---------- - ---------- ----------
Type 00 Pri 14324.3 105 0 0 29336076
}
Exiting enStartEngine... Return value: 0 Time = 0:00
--------------------
--------------------
pq.ps
--------------------
Syntax check
Syntax check complete: 0 errors found, 0 warnings found
--------------------
Playing script
--------------------
Script command: Dim PriSize
--------------------
Script command: PriSize=2048
PriSize=2048
--------------------
Script command: Set Default Bad Sector Test State Off
--------------------
Script command: Select Disk 1
--------------------
Script command: Dim PriNum
--------------------
Script command: Dim i
--------------------
Script command: i=1
i=1
--------------------
Script command: PriNum=0
PriNum=0
--------------------
Script command: Select Partition First
--------------------
Script command: Do While i<GetTotalPartitions
--------------------
Script command: If IsPrimary Then
--------------------
Script command: PriNum=PriNum+1
PriNum=1
--------------------
Script command: End If
--------------------
Script command: Dim ExtNum
--------------------
Script command: ExtNum=GetPartitionNumber Extended
ExtNum=0
--------------------
Script command: If ExtNum<>0 Then
--------------------
Script command: End If
--------------------
Script command: If PriNum<4 Then
--------------------
Script command: Select Partition Last
--------------------
Script command: Resize Larger Max
0 operations pending
--------------------
Script command: Dim bQuit
--------------------
Script command: bQuit=0
bQuit=0
--------------------
Script command: If GetUnusedAmount>=PriSize Then
--------------------
Script command: Resize Space After PriSize
Error #1830
Scripting halted by error.
[Script error(60)]: Unable to complete command
Script stopped
Entering enStopEngine(...) ID:193 File:Engine.cpp Line:381
{
DbgMgr->Uninit
|
|