AnswerBun.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!

Related Questions

Download a file via HTTP from a script in Windows

8  Asked on February 24, 2021 by jason-r-coombs

       

ZSH prints the command I ran before showing the output

1  Asked on February 24, 2021 by anish-sharma

         

Virtualization is locked in BIOS

1  Asked on February 23, 2021 by ben-r

     

Send email from gmail alias with ssmtp or other

0  Asked on February 23, 2021 by cclloyd

       

Unable to set or remove a login PIN on Windows 10

2  Asked on February 22, 2021 by scott-severance

     

Open PDFs in Adobe instead of in Google Chrome

5  Asked on February 22, 2021 by ramzi-kahil

   

command not found after switching users

0  Asked on February 22, 2021 by dor00012

     

PC starts, but no display from the monitor

1  Asked on February 20, 2021 by micjaakson

     

Ask a Question

Get help from others!

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