WinImage and Connecting to Legacy Hardware

Contents

1. Download Links

WinImage can be downloaded from here and will be used to convert CD/DVD and Floppy Drives into Virtual equivalents for installation in the VM:

http://www.winimage.com/download.htm

Use the 64 Bit .exe for 64 Bit Windows and the 32 Bit .exe for 32 Bit Windows.

2. Installation

The installation of WinImage is straight forward double click the installer:

vlcsnap-2015-11-22-01h14m43s249

Select yes at the UserAccount Control Prompt:

vlcsnap-2015-11-22-01h14m50s220

Select Next, Next, Agree with the license Agreement and select Next again. Then select Next, Next, Next and then Finish:

vlcsnap-2015-11-22-01h14m56s608

vlcsnap-2015-11-22-01h15m13s458

vlcsnap-2015-11-22-01h15m19s659

vlcsnap-2015-11-22-01h15m28s881

vlcsnap-2015-11-22-01h15m35s471

vlcsnap-2015-11-22-01h15m46s509

vlcsnap-2015-11-22-01h15m51s069

vlcsnap-2015-11-22-01h15m57s399

The next part of this guide is creating .iso from CD/DVDs and .img files from Floppy Disks which may be needed for Legacy Window installation. If you are installing a modern version of Windows or Linux you do not need to carry out these steps. The part after is about connecting legacy hardware to a VM via serial, parallel and USB ports on the host PC. Again if you don't plan to use legacy hardware with your VM you do not need to carry out these steps.

3. Creating a .iso from a CD/DVD

Most legacy Windows OS such Windows 95/98SE/2000/ME/XP come as a CD and XP MCE/Vista/7 come as a DVD. Windows 7, 8.1 and 10 are directly downloadable in .iso format so this step is not needed for these versions. Note one should only use Retail Full versions or Volume License versions of Windows to make .isos from. OEM and Retail Upgrade versions on the otherhand will cause issues with Microsoft Product Activation especially for Windows XP or later. Much legacy software also came in CD or DVD format.

In order to utilise these CD/DVDs in a VM it is best to convert them to .iso format. This also ensures that they can be used in future machines without optical drives..

On a computer with an internal or USB Optical Drive, launch WinImage and insert your CD/DVD. Then open the CD/DVD in Windows Explorer:

vlcsnap-2015-11-22-14h03m18s490

Next close down all Windows Explorer instances to prevent this error message:

vlcsnap-2015-11-22-14h03m45s084

Select Disk and then ensure "Use CD-Rom D:" is selected:

vlcsnap-2015-11-22-14h06m11s728

Then select Read Disk:

vlcsnap-2015-11-22-01h24m20s221

You will be prompted for a location and name for the .iso. Name the .iso and then select save. This is a Windows XP Pro SP3 Disk so I have labelled it appropriately.

vlcsnap-2015-11-22-01h25m01s854

WinImage will read the Disk and copy its contents as a .iso:

vlcsnap-2015-11-22-01h25m32s686

It will then show you the .iso:

vlcsnap-2015-11-22-01h25m45s804

4. Loading the .iso

You can select to load the .iso during the creation of a VM.

Left click player → Left Click File → Left Click New Virtual Machine:

vlcsnap-2015-11-21-11h20m57s648

Select Installer Disk Image File (.iso):

vlcsnap-2015-11-21-11h21m38s875

Select browse…. and left click the .iso you created.

iso2

If you wanting to load a .iso into a VM thats already up and running you can via the Player Menu. Left click Player on an open VM and select Removable Devices → CD/DVD (SATA) and then settings…

vlcsnap-2015-11-22-14h29m10s410

Select Browse:

vlcsnap-2015-11-22-14h29m21s336

Select your .iso and select open:

vlcsnap-2015-11-22-14h29m45s365

The VM will now load the .iso as a CD/DVD:

vlcsnap-2015-11-22-14h29m52s621

5. Creating a .flp Image from a Floppy Disk

This will instruct in creating a read only floppy image for use in a VM.

On a computer with an internal or USB floppy Drive, launch WinImage and insert the Floppy Disk. Then open the floppy in Windows Explorer:

vlcsnap-2015-11-22-01h16m19s644

Have a look at the files listed:

vlcsnap-2015-11-22-01h16m27s015

Select Disk and then ensure "Use Floppy A:" is selected:

vlcsnap-2015-11-22-01h16m47s674

Select Read disk:

vlcsnap-2015-11-22-01h17m08s581

You should now see the contents of the floppy.

Note you may get some error messages select okay at each of these and just make sure all the files/folders are listed there.

Select the save button:

vlcsnap-2015-11-22-01h17m16s643

Ensure you opt to save in the .flp format:

vlcsnap-2015-11-22-01h17m44s855

Save the bootdisk as filename,flp

vlcsnap-2015-11-22-01h18m09s937

6. Adding a Virtual Floppy Drive and Loading a .flp in VMware Player

Make sure your VM is powered down and single left click your desired VM (a double left click will launch the VM) and select "Settings…"

vlcsnap-2015-11-24-16h06m30s625

vlcsnap-2015-11-24-16h06m53s001

If Floppy Drive is not displayed select Add to Add the Hardware:

vlcsnap-2015-11-24-13h20m23s272

Accept the User Account Control:

vlcsnap-2015-11-24-13h20m27s875

Select Floppy Disk and then select Next:

vlcsnap-2015-11-22-13h35m47s176

Select Use a Floppy Image:

vlcsnap-2015-11-22-13h35m58s291

Browse for the .flp image you created earlier:

vlcsnap-2015-11-22-13h36m07s287

Select the .flp image and select open:

vlcsnap-2015-11-22-13h36m30s004

You can opt to have it connected at power on or not. Select Finish:

vlcsnap-2015-11-22-13h36m50s788

Then select Ok and you can now launch the VM with the Virtual Floppy Drive Image:

vlcsnap-2015-11-22-13h37m00s164

Changing a .FLP image on an up and running VM is a more or less identical procedure to changing the CD/DVD .iso image as mentioned above.

Note adding a .FLP image to a VM will likely result in the VM trying to boot from the floppy disc which you likely will not want to prevent this you will need to change the boot settings discussed later.

7. Example of USB Devices

I will now demonstrate the power of VMware Player when it comes to connecting to hardware. If I right click the start button on the host PC and go to the Device Manager:

vlcsnap-2015-11-28-21h39m44s350

Then aerosnap this to the right I can see I have the Epson V330 scanner in the Windows 10 Device Manager. I have deliberately not installed the driver for it so it shows under unknown devices and not Imaging Devices:

vlcsnap-2015-11-28-21h40m00s689

In the VM I can select Player → Removable Devices and pick from a list of USB devices. I shall select the Epson V330 scanner and connect to it:

vlcsnap-2015-11-28-21h40m17s508

The Epson scanner then disappears from the Device Manager in the Windows 10 Host and the new hardware Wizard begins in the VM:

vlcsnap-2015-11-28-21h40m26s918

I have installed the Epson scanning software in the VM so will just select next. The system is offline so it won't find anything from Windows Update:

vlcsnap-2015-11-28-21h40m48s613

I'll select install this software automatically and select next:

vlcsnap-2015-11-28-21h40m53s694

The driver for the scanner will now be installed:

vlcsnap-2015-11-28-21h40m57s983 vlcsnap-2015-11-28-21h41m11s358 vlcsnap-2015-11-28-21h41m32s502

When its done I can select Finish:

vlcsnap-2015-11-28-21h42m02s440

I can now open up the Device Manager in the XP VM by going to start and right clicking computer and selecting properties:

vlcsnap-2015-11-28-21h42m38s914

I can then select the Hardware tab:

vlcsnap-2015-11-28-21h42m46s794

Then launch the Device manager:

vlcsnap-2015-11-28-21h42m53s515

The scanner should show up in the Imaging Devices category, in my case I had to power it on and off again after the driver installation for it to show:

vlcsnap-2015-11-28-21h43m34s613

I can now launch the Epson Scan software from the XP VM:

vlcsnap-2015-11-28-21h44m17s449

vlcsnap-2015-11-28-21h44m29s013

I can then select scan:

vlcsnap-2015-11-28-21h44m39s792

Then ok to begin the scan:

vlcsnap-2015-11-28-21h44m46s051 vlcsnap-2015-11-28-21h45m08s103

The scan is now in my pictures in the VM and can open it in the VM:

vlcsnap-2015-11-28-21h46m51s289 vlcsnap-2015-11-28-21h47m01s812

I can then use drag and drop to copy the file from the VM to the host PC:

vlcsnap-2015-11-29-13h34m59s816

You will see the quick flash about copying files from the VM:

vlcsnap-2015-11-29-13h35m37s614

The image file will now be in the folder of the host PC I dragged it to:

vlcsnap-2015-11-29-13h35m45s579

I can now use all the programs on my Windows 10 PC to edit the Image or to email it etc. This was an example using a scanner (which works natively with Windows 10) but its a good demonstration. This could equally have been a very expensive scientific instrument with no modern software and an ageing PC that needs replaced with a more reliable VM.

8. Adding Virtual Serial and Parallel Ports

Make sure your VM is powered down. Aerosnap VMware player to the right and open the Device Manager on the Host to the left by right clicking start and selecting Device Manager:

vlcsnap-2015-11-29-15h00m42s856

This system is a Latitude D820 with a D Series dock.  The D series Dock has a Serial Port Com1 and Parallel Port LPT1:

vlcsnap-2015-11-29-15h00m59s974

To add these ports to the VM, right click your VM and then left click settings:

vlcsnap-2015-11-29-15h01m25s024

Select Add:

vlcsnap-2015-11-29-15h01m36s747

Select Serial port and then next:

vlcsnap-2015-11-29-15h02m13s518

Select use physical serial port on the host and select next:

vlcsnap-2015-11-29-15h02m19s658

Ensure that you select Com1 this will make this new serial port in the VM using the Com1 port of the host:

vlcsnap-2015-11-29-15h02m30s389

Select Finish:

vlcsnap-2015-11-29-15h02m36s414

So theres a slight complication here and source of confusion….

In Windows XP and later the VMs virtual hardware already assigns virtual hardware to Com1 (in Windows 98 and earlier its likely the unknown devices which don't have drivers so you don't get this problem). Therefore any new serial device added comes as Serial Port 2 (Com2 in the XP Device Manager). I will amend this later as some legacy applications need the ports to be specific.

Select Add:

vlcsnap-2015-11-29-15h02m45s152

Now I will add the parallel port highlighting it and selecting next:

vlcsnap-2015-11-29-15h03m01s836

I will select Use physical parallel port on the host and select next:

vlcsnap-2015-11-29-15h03m09s641

I will change it to LPT1 and select next:

vlcsnap-2015-11-29-15h03m20s865

The ports line up like this. Select ok and launch the VM:

vlcsnap-2015-11-29-15h03m28s853

Open up the Windows XP Device Manager:

vlcsnap-2015-11-29-15h04m03s899

Select hardware:

vlcsnap-2015-11-29-15h04m15s244

 

Select Device Manager:

vlcsnap-2015-11-29-15h04m22s654

The ports by default align like this. The red Com1 is part of the virtual machines virtual hardware and not a Com port on the host. We first want to change its port number in order to free up Com1 so we can align the ports accordingly or you can make the right port numbers on your VM for your legacy hardware (usually legacy hardware uses Com1 or Com3).

vlcsnap-2015-11-29-15h04m37s548

Right click Communications Port 1 and select properties:

vlcsnap-2015-11-29-15h05m00s006

Select port settings and then select Advanced:

vlcsnap-2015-11-29-15h05m30s933

I will change this from Com1 to Com256 (which I have no intention of using):

vlcsnap-2015-11-29-15h05m41s203

I will then press ok:

vlcsnap-2015-11-29-15h05m54s888

I will press ok again:

vlcsnap-2015-11-29-15h06m00s435

I can now rename Com2 by right clicking it and selecting properties:

vlcsnap-2015-11-29-15h06m12s317

Again I can go to port settings:

vlcsnap-2015-11-29-15h06m19s368

Advanced:

vlcsnap-2015-11-29-15h06m25s865

And now I can move it from Com2 to Com1:

vlcsnap-2015-11-29-15h06m35s210 vlcsnap-2015-11-29-15h06m44s107

I can then press ok:

vlcsnap-2015-11-29-15h06m50s927

The Device Manger needs refreshed I will close it down and open it again:

vlcsnap-2015-11-29-15h07m00s568

We can now see that Com1 is Com1 in both the host and the VM.

vlcsnap-2015-11-29-15h07m39s709

These ports are set to automatically connect when the VM is launched. They can however be accessed from the player menu. Go to player → Removable Devices and you will see the Serial Port (its still called Serial Port 2) and Parallel Port. You can then disconnect each or go to settings.

vlcsnap-2015-11-29-15h55m26s200

You can now control devices by plugging them into the serial/parallel ports of the host PC and by launching the legacy software in the VM in an identical manner to the USB scanner I demonstrated earlier.

9. BIOS and Boot Delay Time

By Default VMware player sets a VM to boot from the Virtual CD/DVD upon first launch. At every subsequent launch it defaults to the HDD (unless a floppy drive is present) and has a VMware virtual BIOS screen that is too fast for the user to c;lick into the VM and then access. This speeds the launch of the VM:

vlcsnap-2015-11-29-16h11m04s077

To alter this we need to go the Virtual Machine Configuration file. Power down the VM and right click your VM and select settings…

vlcsnap-2015-11-29-16h06m34s913

Select options. And copy the location of the working directory:

vlcsnap-2015-11-29-16h06m48s285

Go to the working directory in Windows Explorer and close down VMware Player:

vlcsnap-2015-11-29-16h07m29s744

Find the Virtual Machine Configuration file and right click it. Select open with:

vlcsnap-2015-11-29-16h08m12s940

Select more apps:

vlcsnap-2015-11-29-16h08m22s957

Select notepad and then select ok:

vlcsnap-2015-11-29-16h08m29s264

You now need to add or modify a line in the code:

vlcsnap-2015-11-29-16h08m40s532

Press [Ctrl] and [f] then search for bios if you can find it then change the line with bios.bootdelay to

bios.bootdelay = "10000"

vlcsnap-2015-11-29-16h08m55s666

If you cannot find it:

vlcsnap-2015-11-29-16h09m42s655

Then type in

bios.bootdelay – "10000"

At the top of the file. Then save and close the file and folder in Windwos Explorer.

10000 = the boot time in ms. The machine will give a BIOS screen that shows for 10 s allowing you ample time to access the BIOS setup or boot to a different device:

vlcsnap-2015-11-29-16h10m06s681

Open VMware player and launch your VM:

vlcsnap-2015-11-29-16h10m30s138 vlcsnap-2015-11-29-16h10m54s495

You will get the normal VMware Virtual BIOS which is too fast as normal:

vlcsnap-2015-11-29-16h11m04s077

You will then get an additional VMware Virtual BIOS screen which waits 10 seconds:

vlcsnap-2015-11-29-16h40m48s156

This longer boot screen allows you to enter the BIOS setup by pressing [F2] and to change the Boot order if necessary. In this case I want to boot to the Hard Drive by default and not the floppy Drive so will highlight the Hard Drive and select [+]:

vlcsnap-2015-11-29-16h14m43s545 vlcsnap-2015-11-29-16h14m52s931 vlcsnap-2015-11-29-16h15m02s810

I can then save the changes by pressing [F10]:

vlcsnap-2015-11-29-16h15m27s144

Then select yes:

vlcsnap-2015-11-29-16h15m32s819

 

vlcsnap-2015-11-29-16h40m48s156

This longer boot screen allows you to enter the Boot menu for a single launch by pressing [Esc]. I can then reinstall Windows from the .iso (CD/DVD Rom Drive) if I wanted:

vlcsnap-2015-11-29-16h16m02s071

<h1 "WhatOS">10. What Operating Systems can you Virtualise?

To see the list of Windows and Linux OS you can virtualise, select Player, File → New Virtual Machine:

vlcsnap-2015-11-24-16h42m40s304

Normally the installer would begin by loading the .iso (or using a physical optical drive on the host). VMware Player would then detect the OS from the .iso and make conditions appropriate for the VM:

vlcsnap-2015-11-24-16h42m47s789

If however I will install the OS later is selected one may have a look through the list of possible VMs:

vlcsnap-2015-11-24-16h43m04s987

Selecting Microsoft Windows we can see the list of available Windows OS we can virtualise:

vlcsnap-2015-11-24-16h43m13s908

The most popular ones are highlighted.

vlcsnap-2015-11-24-16h44m05s583

If these versions of Windows are selected VMware Player will setup the hardware using the default settings it recommends for that version of Windows. I usually up the HDD, RAM and Number of CPUs in most cases but have separate guides on most of these Windows OS VMs.

Selecting Linux allows us to have a look at the Linux OS and we can see that there are a large abundance of these:

vlcsnap-2015-11-24-16h44m24s682 vlcsnap-2015-11-24-16h44m52s236 vlcsnap-2015-11-24-16h45m07s930

The most popular are Ubuntu, Fedora and Mint with Mint being similar to Ubuntu so Ubuntu should be selected for installation of Mint. I will look at installation of these main three Linux versions.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.