(Reference: How to display Japanese on the console)Īpparently the Japanese font is not installed. When maximized-Some warnings appear at startup Japanese characters are garbled-Japanese characters I was able to start Terminator for the time being, but as it was, there were some problems. The terminator is now displayed on Windows. Appropriatelyīy creating a shortcut of Xming and setting the above to the link destination, if you start from the shortcut, you can start with the option Set the Japanese keyboard layout with "xkbmodel jp106 -kblayout jp".
You may use it to launch additional software from Terminator. You can display multiple X Windows simultaneously with "multiwindow". Use "-clipboard" to share the clipboard with Windows "C: ~~~ \ Xming.exe": 0 -clipboard -multiwindow -xkbmodel jp106 -xkblayout jp -dpi 100 There are several startup options in Xming, but I do as follows. If you simply execute it, you will get "Could not open display" or "$ Display is properly set".įirst, you need to start Xming. There seems to be other vcxsrv, but I don't know the details because I haven't tried it. In BoUoW, GUI (X Window) cannot be opened by default, so prepare Xserver on Windows side. However, I could not use it as it was because it was different from the usual Linux environment, so I will write down the measures taken at that time. There were other options, such as wsl-terminal, but I was using it because it was very convenient to be able to perform the tab function and screen splitting function of Terminator at the same time. $ qemu-system-i386 -hda windows2000.qcow2 -cdrom EN_WIN2000_PRO_SP4.When using Windows Subsystem for Linux (Bash on Ubuntu on Windows, hereinafter referred to as BoUoW), Terminator is used as a terminal emulator.
Repeat the process of downloading, unpacking, and copying over the ISO:Īnd use the non-booting command substituting the application ISO for the Windows 2000 ISO: Lets say you wanted to try Microsoft FORTRAN PowerStation: To boot QEMU with an ISO in but not booting, specify drive 'c' after -boot: $ qemu-system-i386 -hda windows2000.qcow2 -cdrom EN_WIN2000_PRO_SP4.ISO -boot c -m 1024 -vga cirrus -localtime
I recommend keeping the ISO around for drivers you may need, like a network card. To proceed anyways: $ qemu-system-i386 -hda windows2000.qcow2 -boot c -m 1024 -vga cirrus -localtime -net nic,model=rtl8139 -net user There are known exploits for older operating systems in the wild that have not been patched and never will be. I do not recommend this without security software in place.
It is possible to add a network card to your QEMU install and access the internet from your VM. You can enlarge the display by increasing the display resolution: Then we install Windows 2000 on our hard drive after formatting the blank 'C' drive inside windows2000.qcow2: This command runs the i386 QEMU emulator, assigns windows2000.qcow2 as "hda" or Hard Drive 'A', the first hard drive, assigns our ISO as a cdrom, tells QEMU to boot from the cdrom, assigns 1024 MB, or 1 GB, or RAM to the emulator, we specify the Cirrus virtual graphics card, and to use the system clock as local time, not GMT. This means we need to be booting from the CDROM: $ qemu-system-i386 -hda windows2000.qcow2 -cdrom EN_WIN2000_PRO_SP4.ISO -boot d -m 1024 -vga cirrus -localtime Next we will boot QEMU with settings for installation. Your path may vary based on your username and ISO location. In my case this was: $ cp /mnt/c/Users/Hayden/Downloads/Microsoft\ Windows\ 2000\ Professional\ (.6717.sp4)/EN_WIN2000_PRO_SP4.ISO. Move your Windows 2000 ISO over to your WSL container for maximum performance: qcow2 is the native image format of QEMU, the type of file we are creating, so qcow2 makes a useful extension. 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.