CNT4603 — 2019 Fall
Assignment 5
No journal for this assignment

Assignment: QEMU and Debian 10.1




Your objectives are to install QEMU on your Debian server, and then install Debian 10.1 as a virtual server using QEMU.

First, install QEMU. Become root, and use "apt install qemu qemu-system" and you should get a reasonably complete version of QEMU.

After you have installed QEMU, become an ordinary user. Do not do the following steps as root, as it is possible that you could make your Debian host system inoperable if you did so and made an error.

Create a new subdirectory called qemu.images: "mkdir -v qemu.images". Change directory to your new directory. Inside of that directory, create a new QEMU image file like so: qemu-img create -f qcow2 debian-10-1.img 30G

Now pull down the netinstall ISO for Debian 10.1: wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso

Now it's time to start your installation: use qemu-system-x86_64 -enable-kvm -cdrom debian-10.1.0-amd64-netinst.iso -hda debian-10-1.img -m 4096 -boot d to start the installation. From there, configure your new Debian image much like you did your original one.

When you finish installing, stop the image (i.e., exit QEMU), and give this new QEMU command: qemu-system-x86_64 -enable-kvm -hda debian-10-1.img -m 4096 -boot c Let me know that you have finished, and I will check your work.



A journal is not due for this assignment. Please let me know when you finish, and I will verify your work.