[Libguestfs] mount device of 'unknow' filesystem type

Richard W.M. Jones rjones at redhat.com
Fri Sep 7 08:16:25 UTC 2012


On Fri, Sep 07, 2012 at 01:04:00PM +0800, 周涛 wrote:
> hi all!
> 
> some windows vm's filesystem type is unknown(/dev/sda: unknown), 
> and 'mount' command leads to: 
> 'libguestfs: error: mount: /dev/sda on / (options: ''): mount: you must specify the filesystem type '
> if i don't know the type, whether i could mount the device?

There are lots of possible causes for this:

 - You don't have ntfs-3g installed

 - /dev/sda isn't a filesystem (maybe /dev/sda1?)

 - The filesystem type really is some unknown new thing.

(The last one is least likely)

Try running the 'file' or 'vfs-type' command on the filesystem, or run
'virt-filesystems --all --long' on the disk and see what it says.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list