diff options
Diffstat (limited to 'cheat/.cheat/qemu')
-rw-r--r-- | cheat/.cheat/qemu | 14 |
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 + |