I'm working on a Linux mint virtualbox image hosted on Windows 10 where I accidentally deleted the /etc/share directory and subdirectories.
Now my Image can't boot and I have sensitive data that I want to recover.
How can I do so?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI'm working on a Linux mint virtualbox image hosted on Windows 10 where I accidentally deleted the /etc/share directory and subdirectories.
Now my Image can't boot and I have sensitive data that I want to recover.
How can I do so?
OK.. ok.. the problem you are going to have here is that the file system is probably ext4 (or similar) and even if you can open the VDI from windows, you probably won't be able to see the files.
There are windows drivers for some linux file systems but this is the PAINFUL way to solve this (IMHO).
I myself would:
mount
your partition/volume from the VDI in step two into the folder of your choice. To figure out your disk ID, try this.It depends on how you created the VM in first place. If you chose to have all the machine in one file (.vdi file) or have separated file for configuration and for virtual drive in it (ie .vhd file).
Either way you want to mount the file as a virtual drive so that if it can't boot as it is for you, you will be able to read the data inside the file.
.vdi
file with 7zip..vhd
file and your host is windows.