|
vdkshell修正I字符的自动输入方式20060318
楼主,你在处理带分区表的vhd文件时,所用命令好像不太对,
我做了这个vhd文件,里面包含两个分区
[UploadFile=D0C2D3B2C5CC_1142602363.rar]
我用命令
vdk open 0 "新硬盘.vhd" /rw 再按i
可以正确的同时挂载两个分区
而你用的命令:
Vdk.exe OPEN * "新硬盘.vhd" /RW /p:0 /L:f
挂载的不是分区,而是挂载的分区表,分区结构认不出,而且只有一个盘符
在vdk帮助中有一段,就讲明了你这个问题的错误所在
With usual (partitioned) virtual disks, the first partition on the disk
is partition 1, the second is partition 2, and so on.
Unlike Linux, partition numbers for primary partitions and logical
partitions are not distinguished -- logical partition number starts just
after the last primary partition and can be any number from 1.
Partition 0 represents the whole disk (like /dev/hda, /dev/hdb,
/dev/sda, etc. in Linux) and you should not assign a drive letter to it.
You can assign a drive letter, but file system drivers cannot access the
partition, because it is not formatted in any file system. It is just
like you don';t usually mount /dev/hda in Linux.
Non-partitioned virtual disks (such as floppy image and removable disk
image) only have partition 0, and a drive letter is to be assigned to
this partition. Again, it is like mounting /dev/fd0 in Linux.
|
|