Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a linux kernel and I am trying to to debug it in QEMU. I want to be able to run it in QEMU but it stops because I do not have a virtual hard drive to boot it(using the -hda command). I read in another question that a virtual hard drive could be created with qemu-img but I could not download it by doing sudo apt-get install qemu-img or sudo apt-get qemu-img I also read that qemu-img could be accessed from qemu-utils but i was unable to download that also. How can I download qemu-img on my ubuntu laptop?

share|improve this question
up vote 2 down vote accepted

Installing qemu, qemu-system and qemu-kvm should be all you need. Just make sure you have the universe repository enabled.

share|improve this answer
universe repository? – Coder404 Mar 10 '13 at 2:56
Yes, see here for details: help.ubuntu.com/community/Repositories/Ubuntu . – schaiba Mar 10 '13 at 9:50
Ive got it thanks! – Coder404 Mar 10 '13 at 14:51

I have the same question, but I'm using Ubuntu Trusty 14.04.

It worked doing

apt-get install qemu-utils 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.