Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Deleted libvirt.img. Cant start VM service. How to recreate libvirt.img? By

Featured Replies

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?

 

 

  • Community Expert

Settings -> VM Manager

 

Make sure advanced view is enable (top right)

  • Community Expert

Please don't crosspost, see your other thread.

  • Author
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...)

  • Community Expert

You have to specify the file, e.g.

/system/libvirt/libvirt.img

 

  • Community Expert

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?

  • Author
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.

 image.png.8b92cc896a68e2c19ff247da5fdff66c.png

(Screenshot of my /system/libvirt/ directory)

  • Community Expert

You need to re-created by

6 minutes ago, johnnie.black said:

You have to specify the file, e.g.


/system/libvirt/libvirt.img

 

  • Author
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!

  • 5 months later...

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 ../

 

 

 

Image 325.png

Image 326.png

Edited by 905jay
added screenshot and quoted fs dir listings

  • Community Expert
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.

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

 

1329598291_image(5).thumb.png.2e02ad241f1dbccdb133bf4b25bf723b.png

  • 11 months later...

Thanks heaps for the suggestion above! Just saved me so many headaches!

  • 2 years later...
  • Community Expert
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 by abhi.ko

  • Community Expert
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.

  • Community Expert

Thank You!

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.