On Tue, Jan 20, 2015 at 07:42:10AM -0800, Rogier wrote: > > It looks as if libguestfs is configured wrongly, or maybe you've got > > the 32 bit version of libguestfs installed on your system. > > I do have a 32-bit version (my entire userland is still 32-bit - it > used to be the better choice, and as migrating to 64-bit is a major > operation, it is not a high priority...). > > So the 32-bit version of libguestfs assumes that the qemu version of > choice must also be 32 bit, but then it chooses to boot a 64-bit > kernel ?
You can choose which kernel gets booted by setting up some environment variables. See the manual page here: http://libguestfs.org/supermin.1.html#USING-A-CUSTOM-KERNEL-AND-KERNEL-MODULES Basically just: export SUPERMIN_KERNEL=/boot/my-vmlinuz export SUPERMIN_KERNEL_VERSION=3.XX.0 export SUPERMIN_MODULES=/lib/modules/3.XX.0 Of course, it means you must have a 32 bit kernel for this to work, and supermin will need to find 32 bit binaries and so on. Alternative is to set LIBGUESTFS_HV=/usr/bin/qemu-system-x86_64 which seemed to work for you. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org