Read more

Using QEMU to quickly test an ISO or bootable USB drive

Arne Hartherz
May 09, 2011Software engineer at makandra GmbH

When you want to quickly boot from a drive or image in a virtual machine you do not need to setup up a VirtualBox machine. Often QEMU does the job well enough.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

Install it:

sudo apt-get install qemu

To boot an ISO:

qemu-system-x86_64 -cdrom filename.iso

If you prepared a USB pen drive and want to test it, run it like this (/dev/sdx being your device name; you may need to sudo to access it):

qemu-system-x86_64 -hda /dev/sdx

Be aware that not everything runs smoothly in QEMU -- you might need to set up a VirtualBox for complex scenarios.

On older Ubuntus, you could still say qemu where it's now qemu-system-x86_64 or qemu-system-i386.

Posted by Arne Hartherz to makandra dev (2011-05-09 10:02)