Jack Lan, Kuowei Pai, 2021/1 0.10 Update Ch. 2 contents, add step 13 ~ 22. Fernando Lin, Fred Chou Jack Lan, Kuowei Pai, 2021/2 Formal release version. Fernando Lin, Fred Chou Jack Lan, Fernando 2021/4 Add DIO function page www.dfi.com...
1 Introduction DFI provides a virtualization solution that new X86 platform can also use ISA device. CS620 provides a host image (Ubuntu), which includes hypervisor KVM and let user install their legacy image. This document will guide user how to install legacy image and configure ISA device setting.
2 Create VM - New Legacy Image Case www.dfi.com...
Page 7
Create a new virtual machine by clicking the button in the top left-hand corner www.dfi.com...
Page 8
Select Local install media (ISO image or CDROM). Then click Forward Upload ISO image file. Then click Forward www.dfi.com...
Page 9
Enter the appropriate settings as required. EX. Windows XP case, suggest Memory: 2048MiB, CPUs:2 Assign the amount of storage for legacy image. www.dfi.com...
Page 10
Enter a name for your virtual machine, and check Customize configuration before install, then click Finish Click Sound ich6. In Sound Device, select AC97. Then click Apply www.dfi.com...
Page 11
Click Tablet. Then click Remove 10. Select www.dfi.com...
Page 12
13. After create VM finished, QEMU/KVM list will be added a new VM (winxp) 14. When Windows Setup screen is shown as below picture, please press and hold F6 immediately Press F2… in VM and release after the message shown www.dfi.com...
Page 13
15. Press in this step as below picture. 16. Press Enter in this step as below picture. www.dfi.com...
Page 14
Attention please. If the mouse cannot be used in VM when installing Windows XP, please use keyboard to choose setup items. 19. After Windows XP setup completed, shutdown it first. Floppy 1, and then select Remove. 20. Go back to hardware details, select www.dfi.com...
Page 15
Delete. 22. Now you can restart guest OS to use. Note The online update function of host image (Ubuntu) is default turned off. Please do not turns on this function to prevent online update modify the KVM library. www.dfi.com...
PC’s security identifier (SID). This allows you to capture the image and apply it to other PCs. NOTE Sysprep files for Windows XP are available in the installation CD or can be downloaded online at https://www.petenetlive.com/KB/Article/0000599. For other versions of Windows, Sysprep is already included and can be found at C:\Windows\System32\sysprep folder. www.dfi.com...
Page 17
Steps for Sysprep: Sysprep In your legacy system, create a new folder in C: drive called www.dfi.com...
Page 18
Please don’t turn on the system before the image extraction using Clonezilla is completed. Else, the system will register the original hardware again. If you have already booted-up the system without completing extracting the image using Clonezilla, re-run the Sysprep steps again. www.dfi.com...
(.iso) file. These two devices are to be plugged in together at the same time. NOTE Download Rufus at https://rufus.akeo.ie NOTE Download the Clonezilla iso file at https://clonezilla.org/downloads.php Just download stable version www.dfi.com...
Page 20
Rufus Download installer Format a USB drive that has equal or bigger size than the file you will move to (i.e clonezilla.iso) Launch the Rufus installer application Please refer to below settings to burn a Clonezilla USB boot disk www.dfi.com...
Page 21
A warning message will appear informing you that all current information on your USB storage device will be erased. Click Click Start, the Rufus USB Installer begins to create the bootable USB Clonezilla www.dfi.com...
Go to the BIOS page and boot from the USB device that has the bootable Clonezilla The boot menu of Clonezilla will appear Select the first option which is the Default settings The Debian Linux booting process screen will appear www.dfi.com...
Page 23
Choose your preferred language In keyboard layout, select Don’t touch my keymap Select Start_Clonezilla Select device-image option www.dfi.com...
Page 24
This is the empty device to save the image file Clonezilla will scan the disks on the machine. Once your USB device appears on the list, press CTRL-C to exit from the window 13. Select sdb1 as an image repository and then click www.dfi.com...
Page 25
Tab key to switch light bar on <Done>, then press Enter 15. Press Enter to continue 16. Choose Beginner mode 17. Select savedisk 18. Type in the image name. The length of image name should be less than 11 chars. www.dfi.com...
Page 26
21. Choose whether the source file system needs to be checked or not. Here, we choose to skip checking 22. Choose whether you would like to check the saved image or not. Here we choose the default option which is Yes, check the saved image www.dfi.com...
Page 27
24. Select the next action to perform when everything is finished. Here we choose the default option which is Choose reboot/shutdown/etc when everything is finished Enter 25. Press to continue 26. If you are sure about saving the image, enter ‘y’ for yes www.dfi.com...
Page 28
Enter to continue 29. In this last stage, you can choose your next action from the list as shown in the figure below Poweroff the system and press enter to boot 31. The image has now been successfully saved www.dfi.com...
4 Create VM – Old Legacy Image Case Clonezilla Copy iso file to the Ubuntu. virt-manager www.dfi.com...
Page 30
Create a new virtual machine by clicking the button in the top left-hand corner and Local install media (ISO image or CDROM). Then click Forward select NOTE Download the Clonezilla iso file at https://clonezilla.org/downloads.php Just download stable version Automatically detect from installation media / source, then click Browse Uncheck www.dfi.com...
Page 31
Click Browse Local Choose Clonezilla iso file which you saved, then click Open www.dfi.com...
Page 32
Type to start searching…, input XP, check Include end of life operating systems, Microsoft Windows XP (winxp) then select Click Forward to next step www.dfi.com...
Page 33
For Windows XP, we recommend up to 2 CPUs and a RAM of between 2GB and 4GB 10. Assign the amount of storage for the legacy image NOTE The amount of storage selected here should be equal or greater that the legacy image size www.dfi.com...
Page 34
11. Enter a name for your virtual machine, and check Customize configuration before install, then click Finish Sound ich6. In Sound Device, select AC97. Then click Apply 12. Click www.dfi.com...
Page 35
13. Click Tablet. Then click Remove 14. Select NIC: xx:xx:xx Console 1 15. Repeat step 9 ~ 10 to remove 16. After remove Tablet, NIC:xx:xx:xx, and Console 1 virtual devices, click Begin Installation www.dfi.com...
Page 36
17. When you open the VM, the Clonezilla page will appear 18. Restore the old content through Clonezilla by following the steps at Ch 5 www.dfi.com...
Then, you will see a message in yellow instructing you to plug in the USB device. This is device to restore the file image Clonezilla will scan the disks on the machine. Once you see your USB device on the list, press CTRL-C to exit from the windows www.dfi.com...
Page 38
11. Select Docs (default) as a directory name and /dev/sdb1 as the image repository. Click Done Enter 12. Press to continue 13. Choose Beginner mode 14. Now, select restoredisk 15. Select the image name 16. Select the source disk you want to restore www.dfi.com...
Page 39
19. Select the next action to perform when everything is finished. Here we choose the Choose reboot/shutdown/etc when everything is finished default option which is 20. Press Enter to continue the restoration process 21. Confirm again if you want to restore www.dfi.com...
Page 40
22. Now the Clonezilla starts to restore Enter to continue 24. Choose from options below 25. If you choose to poweroff, this following page will appear 26. Now the image has been successfully restored www.dfi.com...
Page 41
27. Power on the new Virtual Machine 28. The Windows XP front page appears 29. Now you can see the old system that you have restored is ready to use www.dfi.com...
6.1 Add ISA Device 6.1.1 Get IO Base In VM OS, open Windows Device Manager and check used IO. Choose an IO address that is not be used. Ex. 2F0 www.dfi.com...
Page 44
6.1.2 Get IRQ Device Manager and check used IRQ. Choose an IRQ that is not be In VM OS, open Windows used. Ex. IRQ 2 Note The yellow mark device is automatically generated by VM. Do not need to modify. www.dfi.com...
Page 45
IO address that is over 0x5000 and not be used and set it on ISA Card by ISA Card document. Ex. The value is 0x2F0 Note If IO base is fixed by request and it is conflict with other device, please contact to DFI to get further technical support. www.dfi.com...
Page 46
Ex. ISA Card document IO setting Ex. ISA Card IO Setting www.dfi.com...
Page 47
/proc/interrupt In Physical Ubuntu, open and input to check used IRQ. Choose an IRQ that is not be used and set it on ISA Card by ISA Card document. Ex. IRQ 7 Ex. ISA Card document IRQ setting www.dfi.com...
Page 48
Ex. ISA Card IRQ Setting Note If IO base is fixed by request and it is conflict with other device, please contact to DFI to get further technical support. www.dfi.com...
Page 49
6.1.5 Get IO Range and IO Range Physical Please reference your ISA card document. If the document did not mention it, you can temporarily set to then test the ISA card function and modify if necessary. www.dfi.com...
Page 50
6.1.6 Add ISA Device Select VM and click Open Click Show virtual hardware details www.dfi.com...
Page 51
Add New Virtual Hardware window. Then select ISA Device, fill in values to six items, including IO Base, IO Range, IRQ, IO Base Physical, IO Range Physical and IRQ Physical. Then click Finish ISA Device added to hardware details www.dfi.com...
Input Input your password Input sudo ./cs620_getnetworkname.sh, then enter There will show two Intel network devices I211 and I219. Select one you would like to do network bridge. Ex. enp4s0 if I211 www.dfi.com...
Page 63
You can modify a specific mac address here. In Device model, select e1000 Note After adding network bridge device, Windows will enumerate a new Ethernet device. Please refer to Ch 7.1 to install Ethernet driver. www.dfi.com...
Page 64
After adding Ethernet PCI host device, Windows will enumerate a new Ethernet device. Please refer to Ch 7.1 to install Ethernet driver. Note Due to lacking of Windows XP driver of Intel I219 Ethernet controller, do not passthrough Intel I219 Ethernet device. www.dfi.com...
7.1 Install Virtual Device Driver Open created VM and get into Windows desktop Click Show virtual hardware details Click CDROM1. Then click Browse www.dfi.com...
Page 67
In next page, click Browse Local Click Home. Then click Left Arrow www.dfi.com...
Page 68
Click home You will see a file named virtdriver_xxxxxx.iso. Select it and click open Note If you don’t see this file in the folder, please contact to DFI FAE. www.dfi.com...
Page 69
In source path, the file path will be shown on it, then click Apply Back to graphical console. www.dfi.com...
Page 70
10. Windows will open an explorer window. Just close it 11. On Windows Desktop, click Start, then click 12. Input devmgmt.msc, press enter. That will open device manager www.dfi.com...
Page 71
13. On device manager, you will see three devices: Device, PCI Simple Communication Controller Video Controller (VGA compatible) with yellow mark in other devices class 14. Double click Device, click Reinstall Driver www.dfi.com...
Page 72
15. Check No, not this time, then click Next 16. Click Next, the wizard will search appropriate driver to install automatically www.dfi.com...
Page 73
17. After installation completed, click Finish 18. Repeat step 12 ~ 15 to complete other two devices driver installation 19. If you see a message like below, just click Continue Anyway to install driver www.dfi.com...
DIO driver. 4. After installed DIO driver, you can use SMBUS / DIO function with proper library and tool. Note: 1. This driver is for Windows XP only. 2. Please contact FAE to get SMBUS / DIO library. www.dfi.com...