aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/cheat/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/cheat/qemu')
-rw-r--r--dotfiles/cheat/qemu14
1 files changed, 14 insertions, 0 deletions
diff --git a/dotfiles/cheat/qemu b/dotfiles/cheat/qemu
new file mode 100644
index 0000000..f749c29
--- /dev/null
+++ b/dotfiles/cheat/qemu
@@ -0,0 +1,14 @@
+# Prepare folder for images
+
+mkdir ~/.qemu_imgs
+
+# Creating hard disk
+
+qemu-img create -f qcow2 ~/.qemu_imgs/image_file.cow 4G
+
+# Install operating system
+
+qemu-system-x86_64 -cdrom ~/Download/image.iso -boot order=d -drive file=/home/<user>/.qemu_imgs/image_file.cow,format=qcow2
+
+tips: Get the mouse after grabbed by qemu: Ctrl+Alt+g
+