Accidently deleted the vmdk file

52 views
Skip to first unread message

ibia

unread,
Dec 2, 2019, 5:09:17 AM12/2/19
to Vagrant
Hi

The box i am using https://app.vagrantup.com/malthejorgensen/boxes/caffe-deeplearning but a vmdk file got deleted however i do have the vbox file and the most recent snapshot , i am using oracle virtualbox . my question is can i make a vmdk for the box to work again.

Vassilis Rizopoulos

unread,
Dec 2, 2019, 5:17:25 AM12/2/19
to vagra...@googlegroups.com
Hi
.vmdk is the file used as the disk(or part thereof) for the virtual machine. So you won't really be able to recreate it. I guess whatever data you had in there is lost.
But you can recreate the vm - destroy the current one with 'vagrant destroy' and create a fresh one with 'vagrant up'
Cheers,
V.-

On Mon, Dec 2, 2019 at 11:09 AM ibia <ibia...@gmail.com> wrote:
Hi

The box i am using https://app.vagrantup.com/malthejorgensen/boxes/caffe-deeplearning but a vmdk file got deleted however i do have the vbox file and the most recent snapshot , i am using oracle virtualbox . my question is can i make a vmdk for the box to work again.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4cfa9059-1535-4e8c-9b57-66c1b5d59278%40googlegroups.com.


--

ibia

unread,
Dec 4, 2019, 3:12:35 AM12/4/19
to Vagrant
Hi 
1). First i ran the command vagrant global-status and choose the id of missing .vmdk file, then i ran this command again the id was shown again . 
2). Then i ran the vagrant destroy box_id 
3). Then ran the command vagrant up box_id but the cmd complained about the missing vmdk file.
4). After this I did few more things but i don't remember there sequence .i did something like removing the box from vboxmanage
5). Now when i run the vagrant global-status. it is not showing me the id anymore

is there any way to get the box working again . 


On Monday, December 2, 2019 at 3:17:25 PM UTC+5, Vassilis Rizopoulos wrote:
Hi
.vmdk is the file used as the disk(or part thereof) for the virtual machine. So you won't really be able to recreate it. I guess whatever data you had in there is lost.
But you can recreate the vm - destroy the current one with 'vagrant destroy' and create a fresh one with 'vagrant up'
Cheers,
V.-

On Mon, Dec 2, 2019 at 11:09 AM ibia <ibia...@gmail.com> wrote:
Hi

The box i am using https://app.vagrantup.com/malthejorgensen/boxes/caffe-deeplearning but a vmdk file got deleted however i do have the vbox file and the most recent snapshot , i am using oracle virtualbox . my question is can i make a vmdk for the box to work again.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagra...@googlegroups.com.

ibia

unread,
Dec 4, 2019, 3:20:14 AM12/4/19
to Vagrant
sorry it was vboxmanage startvm box_id was complaining about missing file. vagrant up is now complaining that box is not configured to run with vagrant
Reply all
Reply to author
Forward
0 new messages