QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.
1
vote
2answers
283 views
Drive not recognized by linux when launched from qemu
I'm attempting to boot a linux kernel, ramdisk, and a drive using qemu:
qemu -initrd ramdisk.cpio.gz -kernel mylinux.i686 -m 1024 -append console=ttyS0,38400 -serial file:serial.out -hdd raw.img
...
8
votes
1answer
950 views
How crazy is “sudo qemu -hda /dev/sda”(mounting host's sda as client's hda)?
I was playing with qemu on Linux when I discovered that I could just run
sudo qemu -hda /dev/sda
And it would boot up my system again! I closed qemu immediately after Grub was loaded successfully ...
0
votes
1answer
275 views
Write qemu booting virtual machine output to a file
I've been trying out qemu to play around with some VMs. It's working well but I keep wanting to be able to view the text (linux boot process) that quickly scrolls by in the qemu window on startup of ...
0
votes
1answer
848 views
KVM and libvirt: How to configure a new disc device to an existing VM?
I've got an Ubuntu 9.04 server running two VM's. In /etc/libvirt/qemu/machine1.xml two disk devices are defined like this:
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk ...
0
votes
0answers
477 views
Networked Parallel Port in Linux / KVM / QEMU
What I want to use is the "-parallel" tcp or udp option from KVM / QEMU, but I don't seem to find any server for this client. I don't serve a printer but a hardware dongle.
I checked ser2net, which ...
1
vote
1answer
2k views
How to use qcow2 disk image in Linux?
I have a large qcow2 formatted disk image, which I use as storage. Often I need to move data to and from this disk image. I mount the disk using the qemu-nbd tool as follows:
modprobe nbd max_part=63
...
1
vote
1answer
585 views
open a console on a virtual machine
I have a KVM Virtual machine running, I can see that using "ps aux | grep kvm".
What I need to open a console into that VM. How do I do that?
0
votes
2answers
651 views
Where can one download PartEdit a partition listing tool for Microsoft OSes?
There are many references to this tool, which seems to be an advanced fdisk-like utility for microsoft OSes, available from Microsoft.
But searching support.microsoft.com provides now download! ...
0
votes
1answer
152 views
debian installation without internet connection
I want to install some Debian distributions (Grip, Crush, Lenny...)
for arm / armel architectures.
www.emdebian.org/
I'm referring to this guide:
http://www.aurel32.net/info/debian_arm_qemu.PHP
...
3
votes
5answers
542 views
How does it hurt to use Linux (Ubuntu) as a guest OS for all my tasks?
I have a machine running Windows, where the disk has two partitions C (50 GB) and D (250GB).
I do research in Information Retrieval and need to work with a large corpus (more than 50 GB) and in ...
1
vote
3answers
269 views
Make a bootable cd from a floppy
I have followed this tutorial http://wiki.osdev.org/Bare_bones to build a simple C kernel and boot it successfully. But, how to convert the floppy image to CD image to use it with my real PC?
1
vote
0answers
370 views
Trying to run QEMU with a file as hda
I'm trying to run QEMU and use a simple file on the host system as the guest's hard drive. Here's what I attempted so far:
$ dd if=/dev/zero of=/home/felix/vm/archlinux.img bs=1MB count=8192
8192+0 ...
2
votes
4answers
3k views
Qemu in an ssh session or the quest for the nographic option?
I ssh to a machine and I would like to start a qemu session inside this ssh session.
I thought that the nographic option would do the trick.
-nographic
Normally, QEMU uses SDL to display the ...
2
votes
2answers
167 views
What emulator / VM software can I use to create a Win32-portable Linux Guest?
I want to create a portable VM setup so that I can boot a Linux install regardless of which Windows XP / Windows 7 host machine I am on.
I was looking at Qemu but it doesn't appear to have a ...
2
votes
1answer
819 views
How To Change The Floppy Image Of Qemu?
I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?
1
vote
2answers
980 views
GDB breakpoint problems attaching to QEMU
I have the following problem: When I connect gdb to qemu for debugging, it won't break on breakpoints. I can set breakpoints, break with ctrl+c etc.
Any clues how this can be fixed?
I have:
$ qemu ...
2
votes
5answers
11k views
Windows 7 fails to install on KVM with qemu
I'm trying to install Windows 7 on a virtual machine on my 64 bit Ubuntu Karmic box. I get to the point of selecting my language settings and clicking 'install now', but a short while later I get a ...
4
votes
2answers
9k views
Is it possible to resize a QEMU disk image?
Like the title says: Is it possible to resize a QEMU disk image in Linux? And if so, what happens to the partitions within it? Are they automatically resized as well (doubtful) or is there just a new ...