If something goes wrong and you need to revert to a snapshot, just do Remember to take another differently-named snapshot after installation is complete (I like to name mine clean_install). Qemu-img snapshot disk.qcow2 -c brand_new That way, we won’t have to redownload the VHDX file. We are going to take a snapshot of our QCOW2 file, just in case anything goes wrong during installation. Once it’s done, delete the original VHDX file, as we no longer need it. Now grab your beverage of choice this might take a while. Remember to change Windows.vhdx to the path to your own vhdx file. Qemu-img convert -O qcow2 Windows.vhdx disk.qcow2 We want to convert it to a QCOW2 file, so we can take snapshots of it and compress it. Now that you’ve built QEMU, the Windows VHDX is probably done downloading. Right now, the only working display option is ramfb so we’ll just have to modify it.curl -L | tar xzĭd if=/dev/zero of=pflash0.img bs=1m count=64ĭd if=/dev/zero of=pflash1.img bs=1m count=64ĭd if=QEMU_EFI.fd of=pflash0.img conv=notruncĭd if=QEMU_VARS.fd of=pflash1.img conv=notrunc This lets us use higher resolutions at the cost of more RAM usage, because the virtual display is actually just a bunch of data in your RAM. Go visit the Windows for ARM download page and sign in with a Microsoft account. To install QEMU, install Homebrew and run brew install qemu. PrerequisitesM1 Mac32GB of Free SpaceXcode or Xcode Command Line Tools (run xcode-select -install to install)QEMU 6.2 or higher
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |