Skip navigation
VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
13,856 Views 7 Replies Last post: Jul 27, 2006 8:42 AM by RDPetruska RSS
tysonkey Hot Shot 212 posts since
Jan 30, 2006
Currently Being Moderated

Apr 11, 2006 6:37 AM

VMware Disk Mount Utility for Linux

Does anyone know where I can get a utility for mounting VMware Disk Images on a Linux system (official, or unofficial software), as the ones on VMware's site are just for Windows?

edillon Hot Shot 138 posts since
Oct 28, 2004
Currently Being Moderated
1. Apr 11, 2006 7:56 PM in response to: tysonkey
Re: VMware Disk Mount Utility for Linux

vmware-mount.pl comes standard with the linux-based products now,

i believe.  at least, i've seen it with ESX, VC beta, and WS 5.5.

 

Re: VMware Disk Mount Utility for Linux

\# vmware-mount.pl

 

This script requires 3 (not 0) mandatory argument(s).

 

Usage: /usr/bin/vmware-mount.pl

        -p          : Print the partition table

        disk        : Name of the Virtual Hard Disk file

or

        disk        : Name of the Virtual Hard Disk file

        partition   : Number of the partition

        \[-t type]   : Partition type

        \[-o options]: Partition mount options(s)

        mount-point : Directory where to mount the partition

/code

AMcCreath Master 1,075 posts since
Jan 7, 2005
Currently Being Moderated
3. Apr 12, 2006 6:04 AM in response to: tysonkey
Re: VMware Disk Mount Utility for Linux

It should be in /usr/bin/

If you don't have it let me know and I'll shoot it over mate.

kix1979 Champion 3,769 posts since
Oct 14, 2004
Currently Being Moderated
4. Apr 12, 2006 6:05 AM in response to: tysonkey
Re: VMware Disk Mount Utility for Linux

They just need to update the links.  It still should be provided free of charge, it just seems that since the last update of the scripts they have not updated the addon section there or in the Workstation downloads.  I would send them an email and support could probably get it done.

Thomas H. Bryant III Director, Advanced Technology & Products [Vizioncore, Inc.|http://www.vizioncore.com] VMware Communities User Moderator
edillon Hot Shot 138 posts since
Oct 28, 2004
Currently Being Moderated
5. Apr 12, 2006 9:01 PM in response to: tysonkey
Re: VMware Disk Mount Utility for Linux

if you've already got the linux version of VMware Server installed somewhere,

like andrew said it should be in /usr/bin.  you'll also need the /usr/bin/vmware-loop

executable which vmware-mount.pl depends on.  if you have the VMware Server

linux tarball lying around, you can extract only those two files:

 

Re: VMware Disk Mount Utility for Linux

cd /tmp

tar -xzvf /path/to/VMware-server-e.x.p-22874.tar.gz vmware-server-distrib/bin/vmware-mount.pl vmware-server-distrib/bin/vmware-loop

/code

take the two files and put them in the /usr/bin directory.  the perl script also

looks for the variable loop.fullpath in /etc/vmware/config, so you'll need to

create that file as well unless you want to hardcode it into the perl script:

 

Re: VMware Disk Mount Utility for Linux

mkdir /etc/vmware

echo 'loop.fullpath = "/usr/bin/vmware-loop"' >> /etc/vmware/config

/code

i think that should do it.  if you want to put the programs somewhere other

than /usr/bin, change the path for loop.fullpath appropriately.

parisandre Lurker 1 posts since
Jul 27, 2006
Currently Being Moderated
6. Jul 27, 2006 8:17 AM in response to: tysonkey
Re: VMware Disk Mount Utility for Linux

get the following error when I try to mount a vmdsk

 

Warning: Unable to open the virtual hard disk "/var/vm/Windows XP Professional/Windows XP Professional-flat.vmdk": The file specified is not a virtual disk.

 

Unable to invoke /usr/bin/vmware-loop. You may want to re-install VMware.

 

yet I am able to open it in Vmware Server no problems, of course

 

any ideas?

 

thx in advance

RDPetruska Guru User Moderators vExpert 16,760 posts since
Jan 11, 2005
Currently Being Moderated
7. Jul 27, 2006 8:42 AM in response to: parisandre
Re: VMware Disk Mount Utility for Linux

Open the main file (without the -flat suffix) which is the disk descriptor, not the actual binary disk file.  The descriptor-file properly points to any/all binary pieces needed by the mount script.

Bookmarked By (0)

Share This Page

Communities