FuseMount: Mounting the disk read-only instead.
mount: 无法以只读方式挂载 /dev/loop0
NTFS signature is missing.
Failed to mount '/dev/loop0': 无效的参数
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Failed to mount partition 5 of disk 'xxxxxxxxxx.vmdk' on '/mnt/vm/test': The virtual disk does not have any partitions that the host system knows how to mount
-----------------------------------------
How to solve this problem?
Use hexdump -C /dev/loop0 | less.
The first few bytes of a mountable NTFS partition should look like this
i cannot dump /dev/loop0.
mount vmdk file with vmware, The following error is prompted.
Your problem is either:
- you try to mount a partition that is either of an unknown kind or corrupt
- you try to mount the wrong partition or the full disk
- vmware-mount itself fails
For debugging we need to see a hexdump of the partition header or details about your vmdk - or better both.
this is my vmdk:
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=63713856
parentCID=ffffffff
createType="twoGbMaxExtentSparse"
# Extent description
RW 8323072 SPARSE "CentOS7-64-vm-s001.vmdk"
RW 8323072 SPARSE "CentOS7-64-vm-s002.vmdk"
RW 4325376 SPARSE "CentOS7-64-vm-s003.vmdk"
# The Disk Data Base
#DDB
ddb.adapterType = "lsilogic"
ddb.geometry.cylinders = "1305"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.longContentID = "e41a4609687051b0e9d295cf63713856"
ddb.toolsInstallType = "4"
ddb.toolsVersion = "10282"
ddb.uuid = "60 00 C2 90 5e d5 91 0b-61 a9 a4 39 e0 a7 22 b0"
ddb.virtualHWVersion = "16"
Do you have an NTFS-partition inside that vmdk ?
Please show the partitiontable of that vmdk with gparted or gdisk / fdisk.
i create this vm on windows, and open it on linux.
Your story does not really add up.
The first message speaks about a missing NTFS-signature - which is not even required for the disk you show us now.
This disk uses an unusual partition-scheme.
Most tools would probably expect that an extenteded partition uses the number 4 instead of 3 in your case.
And whats the point in trying to mount a swap-partition ? If you want to do that in a forensic investigation context you sure would not use vmware-mount to do so.
Anyway - I dont think that vmware-mount is a reliable tool - even with the good old version 12 it already appeared to be buggy - but in your case I rather blame the obscure partitiontable and / or the fact that you try to mount a swap partition.
i don't mount a swap partition.i can mount the vmdk which created by linux vmware, but not created by windows.
reproduce this case, create a centos7 vm on windows, mount it with linux vmware-mount tool on linux.
> Failed to mount partition 5 of disk 'xxxxxxxxxx.vmdk' on '/mnt/vm/test': The virtual disk does not have any partitions that the host system knows how to mount.
and
> i don't mount a swap partition.
Again - your story does not add up.
i don't mount swap partition.error occurred.
it will prompt "The virtual disk does not have any partitions that the host system knows how to mount" when i use vddk.
they are same error.
> "The virtual disk does not have any partitions that the host system knows how to mount"
Look into that !!!
this means vddk can recognize three partitions, include Linux swap partition 、Extended partition、Linux partition, but these three partitions all cannot be mounted.
I declare defeat - this troubleshooting pattern is boring / non productive.
You: provide one detail
Me: that looks like ....
You: I dont do that / have that ... here is another detail
Me: that looks like ....
You: I dont do that / have that ... here is another detail
Why dont you simply use another Linux VM to read that vmdk ?
ok, just one way, read this vmdk by using vmware-mount, this way still failed.
i need read this vmdk by code.
vmware-mount asks for a vmdk.
You tell it which one to use.
This works.
vmware-mount next asks for a partition
You tell it which one to use.
FAILURE
Now I am clueless:
First looks like you try to mount a NTFS partition
- next reply it looks like you use a swap partition
- next reply you give 3 partition types ....
- explain with complete details or I am done.