Created
September 27, 2023 15:34
-
-
Save aatizghimire/f4adb4cbb46cdb62bb9eaa4067cc638d to your computer and use it in GitHub Desktop.
Use QEMU to boot another OS (windows)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Set Up a Virtual Disk | |
Under C:/ Drive Run these command: | |
$ qemu-img create image.img 200M | |
2. To Run : | |
$ qemu-system-i386 -hda image.img -cdrom isofile.iso -m 16M -boot order=dc | |
qemu-system-i386 : Legacy System or you can use qemu-system-x86_64 | |
-hda : denotes the image file of harddisk. | |
-cdrom: bootable iso image file | |
-m : memory allocated ( M for MB or G for GB) | |
-b order=dc:Boot sequence try d (cdrom), then c (hardisk) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use $qemu-img create image.img 20G -f qcow2 in 1