aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/qemu
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz/net>2018-11-24 16:51:02 +0100
committerneodarz <neodarz@neodarz/net>2018-11-24 16:51:02 +0100
commit59f0e9a65639c3aff85ea84aafb5ce8943445334 (patch)
tree78343c8f6b43edea55549e63fb0c4e15d156a6b1 /cheat/.cheat/qemu
parentcb58019bee2585e6d47bd995baeb93fa00622f8b (diff)
downloaddotfiles_ascii-59f0e9a65639c3aff85ea84aafb5ce8943445334.tar.xz
dotfiles_ascii-59f0e9a65639c3aff85ea84aafb5ce8943445334.zip
Add some cheat commands
Diffstat (limited to 'cheat/.cheat/qemu')
-rw-r--r--cheat/.cheat/qemu14
1 files changed, 14 insertions, 0 deletions
diff --git a/cheat/.cheat/qemu b/cheat/.cheat/qemu
new file mode 100644
index 0000000..f749c29
--- /dev/null
+++ b/cheat/.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
+