I downloaded the Virtual Disk Managersdk and created a new virtual disk with the follwoing options
vmware-vdiskmanager -c -a lsilogic -s 40GB -t 0 mydisk.vmdk
then i tired mounting this newly created disk using this command
vmware-mount J: "C:\My Virtual Machines\Windows98\Windows98.vmdk"
i got this error
Unable to mount the virtual disk. The disk may be in use by a virtual
machine, may not have enough volumes or mounted under another drive
letter. If not, verify that the file is a valid virtual disk file.
can someone point what i am doing wrong?
The VMDK needs to be attached to a VM that has Operating system, and gets formatted at the OS level.
So what you create using vmware-vdiskmanager is just a vmdk file, and when you copy into a VMFS datastore and then add the same to a VM, after which you format the same.
I hope i answered your query right.