Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 629
  • Last Modified:

Recover VM from only vmdk file...Possible?

hi
I lost some of my VM related files due to harddisk failure. I only have a vmdk file of a VM i need to bring online again. Is this possible? if so, how can that be done?
0
adjaddy
Asked:
adjaddy
  • 3
  • 2
  • 2
3 Solutions
 
adjaddyAuthor Commented:
hi Guys
sorry i didn't add this. I'm running ESXi 4.
0
 
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
Hi

If you have the vmdk(virtual disk) and this is not corrupted, then just create a new VM, and add the disk to it.

When creating the Virtual Disk, choose use disk, not new, and point to that vmdk file.

Is the file is ok this will work with no problem

Jail
0
 
adjaddyAuthor Commented:
Jail
the new VM did not see any existing OS. Do i have to reinstall the OS as well during the creation of the new VM?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Deepak KosarajuDevOps EngineerCommented:
Yes Reinstall the new OS same as your OLD and add the vmdx file as a HARD Drive ask it to use existing vmdk file when creating the Hard Drive.
0
 
adjaddyAuthor Commented:
thanks Guys. One more thing
Sorry if my questions sound silly. What happens to installed programs in the original VM? any chance of them working in the new VM
0
 
Deepak KosarajuDevOps EngineerCommented:
I don't think so as library path changes etc, better always do a backup of your vmdk and vmfx files.
Following file makes complete VM:
http://www.vmware.com/support/ws5/doc/ws_learning_files_in_a_vm.html
http://www.file-extensions.org/filetype/extension/name/configuration-files

So try to backup all these files periodically,do a COLD Backup.
0
 
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
Hi

Regarding the OS, the disk that you need to add into the new VM is a OS disk?? Or a data disk?? If is a data, yes you need to create a new one and install the OS normally, and then add the other disk(as a 2 disk) into the VM.

Don't  believe that will happen because of the dll and install files in the Windows. There are some programs that can run, but don't count on this.

You can try to install the programs into the same folder, some times this helps. But again some programs can have some issues.

Jail
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now