Posts

Showing posts from May, 2025

Fix the Gnome Boxes issue when importing a vm created in Quickemu

Image
Quickemu Project on GitHub For two years now I have been using Quickemu for all my vm need (Good bye Virtualbox). I could go down the path of Virt Manager, but the simplicity of Quickemu has attracted me more. However Quickemu is not the only contender in this regard. The Gnome Boxes proves to be an alternative as well. In particular I would need the Gnome Boxes to boot the vm with a two disks. The only issue is Quickemu created a vm with UEFI, while Gnome Boxes pre-selects BIOS during vm creation. Therefore the vm would not boot. Creating a vm in Gnome Boxes So please make sure to select UEFI (see the picture) when importing existing vm created by Quickemu.

Add a second disk to Gnome Boxes

Image
Gnome Boxes icon If you are like me, who wonders how to add a second disk to a gnome boxes vm, but doesn't knows a lot about qemu-kvm xml configuration, then the following tips is for you too. There is no way to do this in the Gnome Boxes preferences. The only way is to edit the configuration file. To open the configuration file right click on the vm and then on Preferences . Click on the Edit Configuration at the bottom. You'll see the configuration in xml format in the text editor that has opened up. Now add the entry for the second disk. The whole entries for all disks can look like this:     <disk type='file' device='disk'>       <driver name='qemu' type='qcow2' cache='writeback' discard='unmap'/>       <source file='/home/user/.local/share/gnome-boxes/images/main-disk.qcow2'/>       <target dev='vda' bus='virtio'/>       <address type='pci' domain='0x0000' b...