TransWikia.com

Unable to use virt-sysprep on libvirt/qemu virtual machine on Ubuntu 20.04

Super User Asked by ghjlx on September 3, 2020

I am trying to run virt-sysprep on a qemu virtual machine on Ubuntu 20.04. I tried the following commands: virt-sysprep --format=qcow2 -a /var/lib/libvirt/images/Debian10-1.qcow2 and virt-sysprep -d debian10-1

The virtual machine is off. I have tried changing permissions and ownership of the image. I have searched the internet for segments of the error message and did not find a solution. I searched libguestfs.org for matches and found nothing relevant.

Here is the complete output with debugging info.

One Answer

It is required to run sudo chmod 0644 /boot/vmlinuz* on Ubuntu. More information here

Correct answer by ghjlx on September 3, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP