peterge Posted March 10, 2019 Share Posted March 10, 2019 Hi, i accidently deleted the file while replacing my cache drive. Now, when i start vm manager, it says "Libvirt Service failed to start." in VM Tab. How can i recreate this file, to get vm manager working again? Quote Link to comment
JorgeB Posted March 10, 2019 Share Posted March 10, 2019 Settings -> VM Manager Make sure advanced view is enable (top right) Quote Link to comment
JorgeB Posted March 10, 2019 Share Posted March 10, 2019 Please don't crosspost, see your other thread. Quote Link to comment
peterge Posted March 10, 2019 Author Share Posted March 10, 2019 2 minutes ago, johnnie.black said: Settings -> VM Manager Make sure advanced view is enable (top right) I did enable advanced view. I can select the new file, but the /system/libvirt/ directory is empty...... (Because i deleted the file...) Quote Link to comment
JorgeB Posted March 10, 2019 Share Posted March 10, 2019 You have to specify the file, e.g. /system/libvirt/libvirt.img Quote Link to comment
trurl Posted March 10, 2019 Share Posted March 10, 2019 I have merged your threads. 2 minutes ago, johnnie.black said: Please don't crosspost, see your other thread. Crossposting has been considered a bad thing on message boards since long before the world wide web. How are we supposed to coordinate our responses when you do this? Quote Link to comment
peterge Posted March 10, 2019 Author Share Posted March 10, 2019 1 minute ago, johnnie.black said: You have to specify the file, e.g. /system/libvirt/libvirt.img This file doesnt exist, because i deleted it. As i already wrote 2 times. (Screenshot of my /system/libvirt/ directory) Quote Link to comment
JorgeB Posted March 10, 2019 Share Posted March 10, 2019 You need to re-created by 6 minutes ago, johnnie.black said: You have to specify the file, e.g. /system/libvirt/libvirt.img Quote Link to comment
peterge Posted March 10, 2019 Author Share Posted March 10, 2019 9 minutes ago, johnnie.black said: You need to re-created by Wow, this was way simpler than i thought. just typed the path in. thanks! Quote Link to comment
905jay Posted August 23, 2019 Share Posted August 23, 2019 (edited) I also deleted my libvirt.img file accidentally I was able to recreate it but VMs section no longer seens my domain that I have created, although I can verify that the domains folders exist can someone help me reimport them so I can boot the VMs? Quote root@i5unRAID:~# ls -alrt /mnt/user/system/libvirt/ total 1048576 drwxrwxrwx 1 nobody users 35 Aug 6 23:43 ../ drwxrwxrwx 1 nobody users 25 Aug 23 12:15 ./ -rw-rw-rw- 1 nobody users 1073741824 Aug 23 12:16 libvirt.img Quote root@i5unRAID:~# ls -alrt /mnt/user/domains/ total 0 drwxrwxrwx 1 nobody users 24 Aug 21 01:51 Windows\ 10/ drwxrwxrwx 1 nobody users 42 Aug 21 01:55 ./ drwxrwxrwx 1 nobody users 24 Aug 21 01:55 Confluence/ drwxrwxrwx 1 nobody users 90 Aug 23 11:50 ../ Edited August 23, 2019 by 905jay added screenshot and quoted fs dir listings Quote Link to comment
JorgeB Posted August 23, 2019 Share Posted August 23, 2019 15 minutes ago, 905jay said: can someone help me reimport them so I can boot the VMs? If you don't have a libvirt.img backup, and you should, you'll need to recreate the XMLs for all VMs, using the same config and pointing to the existing vdisks, uefi booting VMs might also require this. Quote Link to comment
905jay Posted August 23, 2019 Share Posted August 23, 2019 I actually just fixed it so what I did is go through the motions of creating another Windows10 VM BUT instead of making a new vDisk I simply selected manual, and pointed to the already existing vdisk that I created before I bunged everything up. Windows10 VM booted as if nothing happened 3 Quote Link to comment
toyota4runner Posted August 12, 2020 Share Posted August 12, 2020 Thanks heaps for the suggestion above! Just saved me so many headaches! Quote Link to comment
abhi.ko Posted June 17, 2023 Share Posted June 17, 2023 (edited) On 8/23/2019 at 11:36 AM, JorgeB said: If you don't have a libvirt.img backup, and you should, you'll need to recreate the XMLs for all VMs, using the same config and pointing to the existing vdisks, uefi booting VMs might also require this. Hi @JorgeB how do I restore if I do have a backup from CA Backup. I don't see a restore option for VM's, only for appdata within that plugin. Is it just a copy and paste the backup file to the actual location? Edited June 17, 2023 by abhi.ko Quote Link to comment
JorgeB Posted June 17, 2023 Share Posted June 17, 2023 21 minutes ago, abhi.ko said: Is it just a copy and paste the backup file to the actual location? That should do it, VM service must be disabled first. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.