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

Multistep ssh – is it possible?

3  Asked on December 22, 2020 by vahagn-tumanyan

 

Microsoft Word: Table of Figures Ordering

2  Asked on December 21, 2020 by scoopsahaagendazs

 

not able to open my downloads through terminal in Mac OS

0  Asked on December 21, 2020 by daiwik-kashyap

   

Chrome high processor usage on Asus Tuf A15

0  Asked on December 20, 2020 by geeky-gurdeep

     

Lost files since renamed folder

1  Asked on December 20, 2020 by asklep

 

Renaming disks: from D: to F:

1  Asked on December 20, 2020 by user2925716

       

Windows 10 Taskbar Icons Blinking (Compressing)

1  Asked on December 19, 2020 by guy-thomas

     

Mysql Workbench import CSV 0 record imported

1  Asked on December 19, 2020 by zhenyu

   

Ask a Question

Get help from others!

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