Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just deleted my VirtualBox.dvi file and lost valuable information.

I'm using Ubuntu 9.04 and the VirtualBox is a Windows XP image.

Detail 1: I deleted using gnome, not terminal.

Detail 2: The file isn't in trash, because when I saw that I was removing the file, I have canceled operation. So the file isn't in original folder neither in trash folder.

I want to use foremost or scalpel, but I don't know how to use these programs with dvi files...

Thanks a lot!

share|improve this question
I've found the dvi header: 3C 3C 3C 20 53 75 6E 20 \x3C\x3C\x3C\x20\x53\x75\x6E\x20 And footer is dynamic... – Topera Apr 8 '11 at 14:47
Can you tell us if you were able to recover your data or not? – jmort253 Dec 26 '12 at 6:35
up vote 2 down vote accepted

If the dvi file was located on the same partition as Ubuntu (or is in use by you) there is a small chance for recovery. Foremost and scalpel both read directly from the disk or partition, and need to be instructed to work with the correct header and file end. As VDI's are often some gigabytes in size, it's not getting easier.

If you want to take the foremost approach, I would suggest looking for the header format using your favorite search engine. In any case, if your vdi was located on the disk you are currently using, power the machine off and use a LiveCD so your disk does not get touched.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.