New answers tagged

1

If you have set up a virtual serial console for your VM, you can use the virsh console command to connect to it. You will have to use an expect script to login with username and password, run your command(s), extract the output, and then logout. Note, though, that expect is a single-purpose language and, IMO, there's no point in learning/using it if you ...


2

The -drive option takes parameters that look like this: qemu-system-x86_64 -drive format=raw,file=x86-64.img ... you need to use commas between its "sub"-options, not spaces. For example, here is one I tested to boot a Debian Installer CD: qemu-system-x86_64 -drive format=raw,media=cdrom,readonly,file=debian-8.2.0-amd64-DVD-1.iso


0

The problem was that I didn't edit a few files in the image, as outlined here. Once I did that, it booted fine.


1

Yes, it looks like it's running a VNC server at display :11 (on the host system), which you should be able to connect a VNC client to. E.g., xvnc4viewer :11 There are of course many other VNC viewers to choose from, and I would believe any of them will do. See http://wiki.qemu.org/download/qemu-doc.html for more details. EDIT: the page I point at ...


0

The simple answer is: no As long as you have to create those two partitions via a script or similar on the usb stick, you are editing the partition table and create a file system which is something that requires root access. Given that you already have those partitions with the correct file system and you have the two images from qemu mounted locally ...



Top 50 recent answers are included