VMware Communities
JeJen
Contributor
Contributor

Is there any other way to extract files from the virtual disk files?

I tried using VMware workstation to start the virtual machine but it says its missing a file.

Is there any other way to extract files from the virtual disk files?

0 Kudos
58 Replies
KevinG
Immortal
Immortal

What exact version of VMware Workstation?

What is the host OS?

What is the guest OS?

What is the exact error your receive?

It maybe possible to mount the .vmdk to get access to your files, once you give us more detailed information regarding your issue.

0 Kudos
JeJen
Contributor
Contributor

workstation 5.x virtual machine

guest: other linux 2.6.x kernel

error: file not found: Other Linux 2.6.x kernel-Snapshot2.vmsn

how do you mount the files?

I want to get access to two .vmdk files. one is 3 gigs+ the other is about 800mb

I need the files on there.

0 Kudos
KevinG
Immortal
Immortal

error: file not found: Other Linux 2.6.x kernel-Snapshot2.vmsn

It is related to snapshots, please post the .vmx file from the virtual machine and post the list of files in the virtual machine directory and include the file sizes

0 Kudos
JeJen
Contributor
Contributor

http://i184.photobucket.com/albums/x175/JeJem567/ff.jpg?t=1185449540

there they are

Other Linux 2.6.x kernel-000002

3.2 gigs

Other Linux 2.6.x kernel

781 mb

Other Linux 2.6.x kernel

1kb

Other Linux 2.6.x kernel.nvram

9kb

Other Linux 2.6.x kernel.vmsd

1kb

0 Kudos
KevinG
Immortal
Immortal

What version of Windows is your host?

How much free space do you have on the physical drive of your host where this virtual machine is located?

0 Kudos
JeJen
Contributor
Contributor

my version of wondows? its win xp

what do you mean where the virual machine is located? its not located anywhere. it isnt online. I just have these files to emulate it or whatever.

if you mean my machine. It has like 100 gigs of HD space.

I just want to get the files that are stored inside the 700mb and 3 gig vm files

0 Kudos
KevinG
Immortal
Immortal

Well we need to fix your virtual machine so you can have access to your files. This is why i am asking you all of these questions.

First make a backup of the complete virtual machine directory before doing any of the following steps.

You will need to merge your snapshot into the base virtual disk.

You can use vmware-vdiskmanager to do this task from a command prompt window.

"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager -r "C:\<fullpathto.vmdk>\Other Linux 2.6.x kernel-000002.vmdk -t 0 "new Other Linux 2.6.x kernel.vmdk"

Now you can remove your original virtual disk (VM-> Settings -> hard disk -Remove button and use the "ADD" button to add the "new Other Linux 2.6.x kernel.vmdk"

Delete the "Other Linux 2.6.x kernel.vmsd" before powering on the VM.

0 Kudos
JeJen
Contributor
Contributor

that just flew right over my head. ;]

let me try it out.

there isnt only 1 vmdk file though. Do I do it for both?

"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmaanger -r "C:\Documents and Settings\Jen\Desktop\YUIO\Other Linux 2.6.x kernel-000002.vmdk -t 0 "new Other Linux 2.6.x kernel.vmdk"

that path doesnt work and that has to be the right path because I just dragged the location of the file into the run field. Is something else types wrong?

Do you mean run it from windows Run command? or in dos?

"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.exe"

this path works fine.

That file is in a desktop folder named YUIO

0 Kudos
oreeh
Immortal
Immortal

open a dos prompt and cd in to the folder containing the files

then execute

"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmaanger" -r "Other Linux 2.6.x kernel-000002.vmdk" -t 0 "new Other Linux 2.6.x kernel.vmdk"

0 Kudos
JeJen
Contributor
Contributor

I am in the folder now in DOS but I don't know what to type to execute that. What is the command to execute that line in dos? I've never used dos much.

is it Run or something before entering the below line?

0 Kudos
oreeh
Immortal
Immortal

simply type the line and press Enter

0 Kudos
JeJen
Contributor
Contributor

that doesnt work

C:\Documents and Settings\Jen\Desktop\YUIO>

"C:\Program Files\VMware\VMware Work

station\vmware-vdiskmaanger" -r "Other Linux 2.6.x kernel-000002.vmdk" -t 0 "new

Other Linux 2.6.x kernel.vmdk"

'"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmaanger"' is not recognized as an internal or external command, operable program or batch file.

C:\Documents and Settings\Jen\Desktop\YUIO>

CMD.exe is dos right? that what I am doing in in.

0 Kudos
oreeh
Immortal
Immortal

All in ONE line

yes in CMD.exe

0 Kudos
JeJen
Contributor
Contributor

how do you do it all in one? Are you saying I have to type the whole line out manually?

It places it in seperate lines when you cut and paste.

0 Kudos
oreeh
Immortal
Immortal

Are you saying I have to type the whole line out manually?

exactly (including all quotes)

0 Kudos
JeJen
Contributor
Contributor

vmware-vdiskmaanger

this is a freakin typo. no wonder it isnt working.

ok I did ti and this is what came back

\----


C:\Documents and Settings\Jen\Desktop\YUIO>"C:\Program Files\VMware\VMware Work

station\vmware-vdiskmanager" -r "Other Linux 2.6.x kernel-000002.vmdk" -t 0 "new

Other Linux 2.6.x kernel.vmdk"

Using log file C:\DOCUME1\Jen\LOCALS1\Temp\vmware-Jen\vdiskmanager.log

Failed to open the disk 'Other Linux 2.6.x kernel-000002.vmdk' : The parent of t

his virtual disk could not be opened (25).

0 Kudos
oreeh
Immortal
Immortal

post the contents of the VMX file

0 Kudos
JeJen
Contributor
Contributor

where is it located?

0 Kudos
oreeh
Immortal
Immortal

In the folder on your desktop.

The file with the extension .vmx.

Open it with wordpad and post the contents.

0 Kudos