can't restore Virtual Machine of Linux Mint without any backups

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Ubuntu_stranger
Posts: 6
Joined: 14. Apr 2018, 14:44
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Linux Mint, Ubuntu
Location: Estonia

can't restore Virtual Machine of Linux Mint without any backups

Post by Ubuntu_stranger »

Hi everyone.

I please you help. Recently my guest OS Windows 8.1 was crashed and i install windows 10. Before crashing i haven't time to make backup on the virtual machine and its snapshots. But sources of virtual
machines and snapshots( .vbox and .vdi files ) are kept as you can see on the pic1.png ( sorry for Russian in that screen ). For restoring Virtual Machines from old source file:
  • 1. I created virtual machine with a same name like old one and used its appropriate existing .vdi disk (pic 2)
  • 2. I closed the virtualBox and added snapshots from Snapshot folder
    D:\Users\Dima\VirtualBox VMs\Linux mint Cinnamon\Snapshots
    to
    C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon\Snapshots
  • 3. I replaced the created files
    C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon\Linux mint Cinnamon.vbox and 
    C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon\Linux mint Cinnamon.vbox-prev
    to
    Cinnamon.vbox
    and
    Cinnamon.vbox-prev


    from folder of old virtual machine
    D:\Users\Dima\VirtualBox VMs\Linux mint Cinnamon
  • 4. I entered in the config file
    D:\Users\Dima\.VirtualBox\VirtualBox.xml
    , finded there following tag:

    Code: Select all

    <MachineRegistry>
          <MachineEntry uuid="{6b58343e-6fa3-4461-8e3b-648a334008de}" src="D:\Users\Dima\VirtualBox VMs\Linux mint Cinnamon\Linux mint Cinnamon.vbox"/>
    </MachineRegistry>
    
    and replaced uuid value to MachineEntry tag with suitable src( in my case src to new machine is
    C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Linux Mint Cinnamon.vbox
    or
    C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Linux Mint Cinnamon.vbox
    )
  • 5. I moved the file
    VirtualBox.xml-prev

    from folder
    C:\Users\Дмитрий\.VirtualBox

    to another folder sо that VirtualBox couldn't erase the changes in its config file
  • 6. After that i runned VirtualBox and select last Snapshot and i pressed Run( pic 3 )
But afrer perfoming that steps error is occuring.

Here is full log while attempting the run virtual machine from last shapshot:
01:49:13.368507          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={edba9d10-45d8-b440-1712-46ac0c9bc4c5} aComponent={ExtPackManagerWrap} aText={No extension pack by the name 'Oracle VM VirtualBox Extension Pack' was found}, preserve=false aResultDetail=0
01:49:15.306766          ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={85cd948e-a71f-4289-281e-0ca7ad48cd89} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=0
01:49:18.302833          Saving settings file "C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Linux Mint Cinnamon.vbox" with version "1.14-windows"
01:49:18.481347          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{e422826b-8c13-43b8-9ddf-5f83ca8d7806}.vdi'.
01:49:18.481846          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{e422826b-8c13-43b8-9ddf-5f83ca8d7806}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.482347          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{4cfabaaa-bb83-4602-a3ad-a18624dd2c54}.vdi'.
01:49:18.482347          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{4cfabaaa-bb83-4602-a3ad-a18624dd2c54}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.483346          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{6bcc80a4-24c0-4bc9-99a9-e56294069b66}.vdi'.
01:49:18.483346          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{6bcc80a4-24c0-4bc9-99a9-e56294069b66}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.484850          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{a07f95a5-0119-4770-b0f3-4cd1166fdac9}.vdi'.
01:49:18.484850          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{a07f95a5-0119-4770-b0f3-4cd1166fdac9}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.486845          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{78a6ccea-08c1-405f-95cf-e335a2818afa}.vdi'.
01:49:18.486845          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{78a6ccea-08c1-405f-95cf-e335a2818afa}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.494347          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{3968524d-fffd-4658-b30c-fe76fd9492fe}.vdi'.
01:49:18.494849          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{3968524d-fffd-4658-b30c-fe76fd9492fe}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.496848          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{6e58f0c4-ae3e-4e00-91fb-69fbb7b9fb00}.vdi'.
01:49:18.496848          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{6e58f0c4-ae3e-4e00-91fb-69fbb7b9fb00}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.517349          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{e5662e71-9dbd-41a2-8fcf-b0ac2f8c4326}.vdi'.
01:49:18.517349          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{e5662e71-9dbd-41a2-8fcf-b0ac2f8c4326}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.531854          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{49918b79-8b12-4aa2-a600-7029ec3eaf31}.vdi'.
01:49:18.531854          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{49918b79-8b12-4aa2-a600-7029ec3eaf31}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.533854          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{60081096-f2d5-49f1-8860-2c77cd9295df}.vdi'.
01:49:18.533854          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{60081096-f2d5-49f1-8860-2c77cd9295df}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.546353          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{bd66eb9d-5214-46c3-9222-acad3af1bd2e}.vdi'.
01:49:18.546353          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{bd66eb9d-5214-46c3-9222-acad3af1bd2e}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.552355          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{276b4d7e-2d95-4c5f-afc0-f80303f5a55e}.vdi'.
01:49:18.552355          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{276b4d7e-2d95-4c5f-afc0-f80303f5a55e}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.555355          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{74096777-c19c-4374-8682-de0c3afdb7cd}.vdi'.
01:49:18.555355          VD: error VERR_PATH_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Snapshots/{74096777-c19c-4374-8682-de0c3afdb7cd}.vdi' (VERR_PATH_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.559856          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Could not open the medium 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Linux mint Cinnamon.vdi'.
01:49:18.559856          VD: error VERR_FILE_NOT_FOUND opening image file 'C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Linux mint Cinnamon.vdi' (VERR_FILE_NOT_FOUND)}, preserve=true  aResultDetail=0
01:49:18.692874          Saving settings file "C:\Users\Дмитрий\VirtualBox VMs\Linux Mint Cinnamon\Linux Mint Cinnamon.vbox" with version "1.14-windows"
Therefore i have the questions. What i done wrong ? What i specifically missed out in the restoring the old virtual machine on thee new VirtualBox ? Can i restore virtual machine without backups ? If i can, so how to do this ??
Attachments
snapshots of old virtual machine
snapshots of old virtual machine
pic3.png (58.85 KiB) Viewed 2056 times
pic2.png
pic2.png (17.86 KiB) Viewed 2056 times
sources of old virtual machine
sources of old virtual machine
pic1.png (44.15 KiB) Viewed 2056 times
Last edited by Ubuntu_stranger on 16. Apr 2018, 20:47, edited 1 time in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can't restore Virtual Machine of Linux Mint without any backups

Post by socratis »

Ubuntu_stranger wrote:But sources of virtual machines and snapshots( .vbox and .vdi files ) are kept
You say that you don't have a backup, but you've kept the files (?). Can you please list all the files that you have kept? The output "dir <VM_folder>/*.* /s". And ZIP and post the "Linux mint Cinammon.vbox" file. The original, not the one that you created by hand.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Ubuntu_stranger
Posts: 6
Joined: 14. Apr 2018, 14:44
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Linux Mint, Ubuntu
Location: Estonia

Re: can't restore Virtual Machine of Linux Mint without any backups

Post by Ubuntu_stranger »

socratis,
The output "dir <VM_folder>/*.* /s"
here:

Code: Select all

C:\Users\Дмитрий\VirtualBox VMs>dir "C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon(backup)"\*.* /s
 Том в устройстве C не имеет метки.
 Серийный номер тома: 2AAC-CBE7

 Содержимое папки C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon(backup)

15.04.2018  00:41    <DIR>          .
15.04.2018  00:41    <DIR>          ..
21.10.2015  21:52           182 682 Linux mint Cinnamon.vbox
21.10.2015  21:52           182 625 Linux mint Cinnamon.vbox-prev
14.04.2018  20:55     8 592 031 744 Linux mint Cinnamon.vdi
28.03.2018  01:36    <DIR>          Logs
28.03.2018  01:42    <DIR>          Snapshots
               3 файлов  8 592 397 051 байт

 Содержимое папки C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon(backup)\Logs

28.03.2018  01:36    <DIR>          .
28.03.2018  01:36    <DIR>          ..
21.10.2015  21:52           105 193 VBox.log
21.10.2015  18:22            88 483 VBox.log.1
17.10.2015  01:50            87 833 VBox.log.2
16.10.2015  22:08            87 702 VBox.log.3
21.10.2015  21:52           336 346 VBoxStartup.log
               5 файлов        705 557 байт

 Содержимое папки C:\Users\Дмитрий\VirtualBox VMs\Linux mint Cinnamon(backup)\Snapshots

28.03.2018  01:42    <DIR>          .
28.03.2018  01:42    <DIR>          ..
20.05.2015  07:28       879 851 940 2015-05-20T04-23-25-421747900Z.sav
21.05.2015  07:59       879 556 098 2015-05-21T04-54-09-844424100Z.sav
21.05.2015  08:04       879 954 996 2015-05-21T05-00-56-185569800Z.sav
15.07.2015  12:39       836 254 150 2015-07-15T09-37-13-162056500Z.sav
16.09.2015  05:41       819 102 068 2015-09-16T02-38-54-093637600Z.sav
20.09.2015  23:41       827 512 647 2015-09-20T20-39-30-238511000Z.sav
21.09.2015  01:42       829 516 650 2015-09-20T22-40-50-845455800Z.sav
16.10.2015  22:02       831 518 265 2015-10-16T18-59-13-731810600Z.sav
17.10.2015  01:47       842 755 428 2015-10-16T22-45-56-207345400Z.sav
21.10.2015  18:17       843 656 548 2015-10-21T15-11-04-988571900Z.sav
21.10.2015  19:28       844 060 016 2015-10-21T16-27-20-435087700Z.sav
21.10.2015  20:33       854 514 861 2015-10-21T17-31-53-955056700Z.sav
21.10.2015  21:50       858 385 904 2015-10-21T18-49-27-891670100Z.sav
21.10.2015  21:52       858 488 659 2015-10-21T18-51-20-867771400Z.sav
21.05.2015  08:00         2 097 152 {276b4d7e-2d95-4c5f-afc0-f80303f5a55e}.vdi
17.10.2015  01:45         2 097 152 {3968524d-fffd-4658-b30c-fe76fd9492fe}.vdi
20.09.2015  23:39         2 097 152 {49918b79-8b12-4aa2-a600-7029ec3eaf31}.vdi
21.10.2015  21:49         2 097 152 {4cfabaaa-bb83-4602-a3ad-a18624dd2c54}.vdi
16.09.2015  05:38         2 097 152 {60081096-f2d5-49f1-8860-2c77cd9295df}.vdi
21.10.2015  20:31         2 097 152 {6bcc80a4-24c0-4bc9-99a9-e56294069b66}.vdi
16.10.2015  21:59         2 097 152 {6e58f0c4-ae3e-4e00-91fb-69fbb7b9fb00}.vdi
21.05.2015  07:53         2 097 152 {74096777-c19c-4374-8682-de0c3afdb7cd}.vdi
21.10.2015  18:10         2 097 152 {78a6ccea-08c1-405f-95cf-e335a2818afa}.vdi
21.10.2015  19:27         2 097 152 {a07f95a5-0119-4770-b0f3-4cd1166fdac9}.vdi
15.07.2015  12:37         2 097 152 {bd66eb9d-5214-46c3-9222-acad3af1bd2e}.vdi
21.10.2015  21:51         2 097 152 {e422826b-8c13-43b8-9ddf-5f83ca8d7806}.vdi
21.09.2015  01:40         2 097 152 {e5662e71-9dbd-41a2-8fcf-b0ac2f8c4326}.vdi
              27 файлов 11 912 391 206 байт

     Всего файлов:
              35 файлов 20 505 493 814 байт
               8 папок  181 088 907 264 байт свободно
This is list of original files( of old virtual machine ) like file .vbox from .zip archive.
Attachments
vbox_mint.zip
(11.13 KiB) Downloaded 5 times
Last edited by socratis on 18. Apr 2018, 17:57, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can't restore Virtual Machine of Linux Mint without any backups

Post by socratis »

Your .vbox seems to contain a reference to every {...}.vdi file in the Snapshots folder. I'm not sure why you manually edited the .vbox file, but what happens if you simply restore things from the backup and you do *not* manually edit the .vbox file? Then simple "Add" the VM in your VirtualBox Manager and point it to the .vbox (the non-modified one).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Ubuntu_stranger
Posts: 6
Joined: 14. Apr 2018, 14:44
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Linux Mint, Ubuntu
Location: Estonia

Re: can't restore Virtual Machine of Linux Mint without any backups

Post by Ubuntu_stranger »

I'm not sure why you manually edited the .vbox file
No. I didn't edit .vbox file manually. After creating the new virtual machine i replacing the generated .vbox file by original .vbox file of old virtual machine what i sent in zip archive to you.
but what happens if you simply restore things from the backup and you do *not* manually edit the .vbox file?
You mean that i must made backup from all existing snapshots and and entire old virtual machine and restore it when i will create new virtual machine from backups( means to convert virtual machine source file and snapshots to .ovf files what is needed for export/import virtual machines, althought i think what way couldn't working in my situation because i didn't .ovf files of the virtual machine before windows 8.1 crash( my physical OS on PC) ), right ?
Last edited by Ubuntu_stranger on 18. Apr 2018, 18:06, edited 1 time in total.
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: can't restore Virtual Machine of Linux Mint without any backups

Post by Martin »

No, restoring the virtual machine from the backup would just be to copy the whole folder structure with all files back to the system and then do a "Machine" - "Add" in Virtualbox selecting the restored *.vbox file.
Ubuntu_stranger
Posts: 6
Joined: 14. Apr 2018, 14:44
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Linux Mint, Ubuntu
Location: Estonia

Re: can't restore Virtual Machine of Linux Mint without any backups

Post by Ubuntu_stranger »

Martin and anothers. Thank you for advice. I added the virtual machine from source .vbox file, but when i run virtual machine from snapshot , then next error is occuring( watch the screen ). I don't know why.
Attachments
screen.jpg
screen.jpg (112.35 KiB) Viewed 1950 times
Post Reply