![]() The initial file size of windows2000.qcow will be <1MB because it is expandable, the file size will increase as you write more data to the image, up to the maximum of 5GB we set. ![]() Qemu-img will create an VM hard drive image file named windows2000.qcow with a maximum capacity of 5GB. Next we need to create a virtual hard drive to install Windows onto, a C:\ drive: $ qemu-img create -f qcow2 windows2000.qcow2 5G Install QEMU in Ubuntu on WSL: $ sudo apt install qemu You may need 7-Zip for working with 7z files on Windows or you can use 7za on the command line in WSL. On WSL2: $ echo "export DISPLAY=$(cat /etc/nf | grep nameserver | awk ''):0.0" >. Install and run an X client on Windows like X410, VcXsrv, or Xming and configure your DISPLAY variable in WSL. Install Ubuntu on WSL if you have not done so already. QEMU runs on both WSL and WSL2 on Windows 10. As I have mentioned here before QEMU is a great way to emulate old hardware to explore vintage operating systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |