My name is Charles Newland, from Lakeview Arkansas.  We have a small trout fishing lodge.  For many years, we used Winows XP, and were locked into this because of Quickbooks and our  company reservation system (programmed in Visual FoxPro).   I tried VirtualBox with Linux as host and XP as guest, but never could get things lined out to my satisfaction (and gave up).  But I still thought it's a great concept. 

To give it another shot, and try to get this done, I contacted Joe at eRacks.com, to buy a computer from him, and for him to set everything up for me.   We decided on a Sager NP2740 (Clevo W740su) laptop.  Joe suggested virtualization by KVM (Kernel based Virtual Machine, built into the Linux kernel) hypervisor using Virtual Machine Manager.  

Select a computer that is capable of utilizing KVM.   You may already have one - check this link to see if your processor will work.  Also, the BIOS must be capable of utilizing "virtualization".  

Some computers that, for sure, will work include: Clevo W740su, Dell Optiplex 745,  755, 760.

Install Linux Mint, it's easy to do.  You can download it and create an image.  Or, as I did, buy a disk from OSDisc.   You can read about "security and other tips".  

Install KVM (linklink and link) and VMM.

Install Mint xx.LTS
Update Mint xx.LTS:
sudo apt-get update
sudo apt-get upgrade

Add remote management of Mint system:
sudo apt-get install openssh-server


apt-get install qemu-system
apt-get install qemu-utils
apt-get install libvirt-bin
apt-get install virt-manager

For remote and local access to VMs (by default, uses VNC; can alternatively use Spice for display component, which works faster; to change to Spice: details > remove current display device > add new display device > Spice.
  apt-get install python-spice-client-gtk
  apt-get install virt-viewer

For adding users that want to manage VMs / Providing access to the hypervisor - the libvirtd group:

Shut down and restart computer

Install MintUpdate Mint xx.LTS:  sudo apt-get update     sudo apt-get upgrade
Add remote management of Mint system:  sudo apt-get install openssh-server
add KVMapt-get install qemu-systemapt-get install qemu-utilsapt-get install libvirt-binapt-get install virt-managerFor remote and local access to VMs (by default, uses VNC; can alternatively use Spice for display component, which works faster; to change to Spice: details > remove current display device > add new display device > Spice.   apt-get install python-spice-client-gtk  apt-get install virt-viewerFor adding users that want to manage VMs / Providing access to the hypervisor - the libvirtd group:Shut down and restart computer

From any SG computer, hook up "Apricorn Sata Wire" with "Seagate 1000GB Laptop SSHD From SG9".

From SGx /home/charles/VirtualMachines/winxp.qc2 copy to "Seagate 1000GB Laptop SSHD From SG9".

Transfer "Seagate 1000GB Laptop SSHD From SG9" to Experimental Computer.

From "Seagate 1000GB Laptop SSHD From SG9", copy "VirtualMachines/winxp.qc2" to Experimental Computer /home/charles/

At Experimental Computer start VMM.

Step 1 of 5: Name=" ?  " > Choose how you would like to install OS = "import existing disk image"

Step 2 of 5: Provide existing storage path: = "Experimental Computer /home/charles/VirtualMachines/winxp.qc2" > OS type="Windows" > Version="xp"

Step 3 of 5: Memory="2048" > Cpu="2"

Step 4 of 5: Customize configuration="X" > Finish

Step 5 of 5: Overview > Machine Settings > Enable ACPI="X" > Enable APIC="X"

             Boot Options > Autostart/Start VM on host boot up = "X" > Boot device order/Enable boot menu = "X" > Hard Disk = "X".

             Disk 1 > Advanced options/Disk bus = "IDE" > Storage format = "qcow2"

             NIC > Device model = "rtl8139"

             Sound > Device model = "ich6"

             Video > Model = "Vga"

"Begin Installation"(in top left corner)

THUNDERBIRD -
From source computer, organize Thunderbird email as best as possible.
From source computer, locate /home/charles/.thunderbird > copy to a thumb drive (in Nemo, remember to "show hidden files" to see this file)
At target computer, be sure "/home/charles" is set up correctly
At target computer, rename /home/charles/.thunderbird to /home/charles/.thunderbird.bak (just in case)
At target computer, copy .thunderbird from thumb drive to /home/charles
See it it works.  If so, at target computer, delete /home/charles/.thunderbird.bak

====

THE FOLLOWING MAY NOT BE NECESSARY -
hookup external DVD > install WinXP from CD
From Linux Mint: "1.2.12-67-i486"
From VM: "Sunplus Innovation Technology.  USB to Serial-ATA bridge"
Desktop > menu > "virt-manager" (VMM) > make shortcut to desktop >
Place WinXP (WinXPProSP2,DellGreenLabel.FJDCK-C9D3K-QFG77-GVXM9-MBP2Q) in external DVD (before starting VMM)
start VMM > Create new VM (monitor icon) > name="WindowsXP.20" > how to install = "local media, CDROM"
Memory = 2048 > CPUs = 2 >
Create disk image = 12GB > Allocate entire disk now? un-check (will create dynamis size that grows as needed, rather than fixed)
If you want VM to be seen on network, select Shared Physical Device, then select device with bridge attached to it.
WinXP installs: > Enter > F8 > Enter > Enter (Format using NTFS) > "insert CD XP SP2" in drive D > hangs "file asms from SP2 is needed" >
Press Ctrl Alt to release pointer
For Apr 2019, since Dropbox no longer works on XP, no need for SP3!!!!
Try another VM (allocate entire disk now - unchecked), and differnt CD (WinXPProSP2,brownish tan label): No hang-up.
Regional & Language settings > customize > regional options > customize > leave alone
Computer name = WinXP
P/W = blank
Workgroup or Domain > make member of "NEWLANDS"/"WORKGROUP"
CG9F3-KK9VC-PCYX6-6YFTR-6TGWW
Error starting domain: Failed to open file '/dev/sr0': No medium found 
(must have disk in CDROM)
/home/charles/VirtualMachines/winxp.qc2

Install Guest operating system, like Windowx XP, or Win7, or anything else.

Install Program, or programs, into guest OS, Visual FoxPro and Quickbooks.

Fine-tune everything, like placing icons on desktop;  setting up email; setting default save locations in Libre office, etc, etc.  Get everything the way you want it because your cloned drives are going to be exactly the same way.

Clone, Clone, Clone - with "Clonezilla" (other cloning programs are available).  At this point, I had a second computer - same as the first Sager/Clevo.  I wondered if I could make a clone of the master hard drive (SSD), then put it in the second computer - would it work?  I did, and it did (work).   That was really neat - to have another computer that works as good as the first one...without having to install and set everything up.   Turns out this can be done for as many computers as you might want.  So far, I've done four.  You can download Clonezilla and create an image.  Or, as I did, buy a disk from OSDisc.  

If you are cloning a desktop computer, you can open it up and plug in the blank drive.  Or you can use something like a SATA/IDE to USB Adapter to hook it up.  For notebook computer, I use a SATA Wire

In my experience, the blank hard drive needs to be same size, or larger, than your source drive.

The first time using Clonezilla, I followed along this linklink I followed, except for the very last one "sdc".  I think this has to do with getting "source" and "target" drives selected.  I wonder if this command can be entered without going through the routine...and just make sure the drives are correctly selected?

 

 

 

Enjoy being able to set up multiple computers a good stable host operating system along with a guest operating system for programs you can't live without.