Nuxified

FOSS technologies explained

  • Useful Articles
  • Blogs
  • Images
  • Tips
  • Archives
You are here: Home / Boot a CD image in Qemu

Boot a CD image in Qemu

You can use Qemu to boot a CD ISO image you downloaded before you even burn it. This could be useful for just checking it out before you decide to spend a CD for burning it or to take screenshots you otherwise wouldn’t be able to from the real bootup.

Here’s a simple command to do it:

qemu -cdrom cdimage.iso

qemu -cdrom cdimage.iso

You can even install a CD image on a special virtual disk you can create on qemu. This disk is actually not a disk, of course, but a disk image which contains free space that can be used within qemu emulation.
To create this disk image do this:

qemu-img create myimage.img mysize

qemu-img create myimage.img mysize

Of course, replace myimage.img with the desired name and “mysize” with the desired amount of free space you want it to take, for example 2GB.

To be able to install from a CD image, you have to boot it with the support of the qemu disk image you created above. Here’s the command for that:

qemu -cdrom cdimage.iso -boot d /path/to/diskimage.img

qemu -cdrom cdimage.iso -boot d /path/to/diskimage.img

cdimage.iso is the name of the CD ISO you need to boot and diskimage.img is the disk image containing free space you can install on (from the CD ISO you booted from).

There are many ways you can use qemu. For more information you can type man qemu on your GNU/Linux terminal or read Qemu documentation.

Learn Unix

I run Unix Tutorial website and help anyone interested to pick up Unix skills. If you have questions or just want to share your ideas – please join the Unix Tutorial on Facebook.

Tech Stack Solutions

Tech Stack Solutions is my company that provides Unix support. Sign up or simply get in touch to find out how I can help!

Search this Website

You May Also Like

Recent Posts

  • Advice on using SUDO
  • FFmpeg 4.0
  • KDE Plasma 5.9.0 Release
  • How to Install Ubuntu Linux without a DVD or USB
  • How to Securely Save All Your Passwords with Keepass
  • 9 Signs You Should Use Linux on Your Computer
  • The Easiest Way to Optimize Your MySQL Database Performance
  • Setting up a Linux Web Development Environment in Windows
  • Hunting Down Disk Space Hogs on Linux Command Line
  • 6 Simple Android Apps for Monitoring and Managing Your Linux Server

Archives

Categories

  • Community Blogs
  • Images and Screenshots
  • News
  • Technical Topics
  • Useful Articles

Basic Unix Commands

Basic Unix Commands
  • ls command
  • mkdir command
  • man command in unix
  • cd command - change directory
  • uname command

Advanced Unix Commands

Advanced Unix Commands
  • ln command - symlinks
  • tune2fs unix command - filesystem parameters
  • du command - disk usage
  • lsb_release command
  • find unix command

Unix Reference

Unix Reference
  • SSH port forwarding
  • unix commands
  • visudo tutorial
  • mtime unix
  • lrwxrwxrwx
  • Unix Tutorial digest

Unix Books

Unix Tutorials

Unix How-Tos
  • check raspbian version
  • autostart in KVM
  • List files in Ubuntu package
  • check CentOS version
  • create bootable USB in MacOS
  • Useful Articles
  • Blogs
  • Images
  • Tips
  • Archives

Copyright © 2022 · Education Pro Theme on Genesis Framework · WordPress · Log in