Lost settings files [Solved]

Discussions related to using VirtualBox on Linux hosts.
Post Reply
nouvo09
Posts: 23
Joined: 8. Jan 2010, 22:03
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: win xp, win7 32 and 64 bits
Location: France

Lost settings files [Solved]

Post by nouvo09 »

Hi everybody !

I don't know how I did that but all setting files in the directory have been turned down to 0 byte, so I can't start the corresponding machine.

The .vdi file is still there, but I can't connect it to a new created one. How can I do to insert and use this vdi disk without reinstalling the os ? It is a win11 and I would be painfull.

Thanks
Last edited by nouvo09 on 10. Nov 2023, 11:08, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Lost congigs files

Post by mpack »

There is only one settings file (.vbox) and its previous state (.vbox-prev). If the latter exists then rename the extension to the former.
nouvo09
Posts: 23
Joined: 8. Jan 2010, 22:03
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: win xp, win7 32 and 64 bits
Location: France

Re: Lost congigs files

Post by nouvo09 »

mpack wrote: 9. Nov 2023, 12:45 There is only one settings file (.vbox) and its previous state (.vbox-prev). If the latter exists then rename the extension to the former.
In fact when I saw all these files empty, I deleted them, hoping there was a possibility to recreate them.
Obviouly there is not ;(

I tried to create a new machine but never could attach the disk to it.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Lost settings files

Post by scottgus1 »

Unless you have backups that can restore the .vbox or .vbox-prev files, you can try to make a new VM. If you had a simple VM without any snapshots or encryption, you may be able to put the old VM's disk on the new VM:

Make a new VM as close as possible to the old VM's settings. In the VM's Storage settings, click the hard disk (not the Optical Drive) made for the new VM. In the popup menu, click "Choose/Create a disk image...". The Virtual Media Manage will open. Choose the old VM's hard disk.
nouvo09
Posts: 23
Joined: 8. Jan 2010, 22:03
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: win xp, win7 32 and 64 bits
Location: France

Re: Lost settings files

Post by nouvo09 »

Thanks for your reply. It is a bit late to try it now. I'll do it tomorow and I'ii come back and say what.
nouvo09
Posts: 23
Joined: 8. Jan 2010, 22:03
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: win xp, win7 32 and 64 bits
Location: France

Re: Lost settings files

Post by nouvo09 »

Hi !

I did it and went fine, thanks a lot again.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Lost settings files [Solved]

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply