Avatar of nobus
nobus
Flag for Belgium asked on

Set up a VM

i want to set up a VM for XP, maybe later also windows7.

What is the best way to do that?  i have a windows 10 home system with 16 GB Ram and ample disk space.

do i first setup the VM and install XP in it?  or do i have to set up a system for XP.

as you can see - i am a newbee in the VM field, so best keep the answers  on the dummy level

VirtualizationWindows OSWindows 10Windows XP

Avatar of undefined
Last Comment
nobus

8/22/2022 - Mon
Ross McCandless

Hi; ideally you would use Hyper-V running on your laptop; issue is hyper-V isn't available with W10 Home edition (requirements are here https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v)

You could use VMWare Workstation and create a VM (https://www.vmware.com/uk/products/workstation-player/workstation-player-evaluation.html)

You will need to have the media in order to install to OS
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
rindi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
nobus

ASKER
Andrew and Rindi - that seems ok to me
i'll set it up as you both told me -  and come back with follow up Q if needed tomorrow
Ross - does the VMware run on home edition?  and is it free?
Ross McCandless

Nobus, yes it works on Home Edition
Your help has saved me hundreds of hours of internet surfing.
fblack61
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

VMware Workstation is NOT FREE, hence why I provided you with a free solution.

It just offers an evaluation for 30 days! Then you have to purchase!

It's an application which runs on any version of Windows.

You can of course, pay and upgrade your version of Windows 10 Home to Pro, and then use a much better and faster solution Hyper-V. (if your PC supports it , .e.g hardware)
rindi

There is a VMware Workstation Player (or called similar) which is free. But VirtualBox is easier to use, & it is less picky on the Hardware. In terms of Performance both are similar.

But for example, if you are running Windows 10 Pro & you have installed Hyper-V on it, VMware Workstation Player won't run without disabling Hyper-V in the bootloader, while VirtualBox runs.
SOLUTION
dbrunton

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
nobus

ASKER
for installing  XP on the VM- is that just like installing XP on a disk?  eg run setup from the cd?
and how to use the ISO for setup?  i have both available
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Connect the iso to the CD-ROM in the VM and turn on the VM and let it boot from CD-ROM

Then the setup is exactly the same as installing on a physical PC
nobus

ASKER
>>  Connect the iso to the CD-ROM in the VM and turn on the VM and let it boot from CD-ROM   <<  how? plse post the steps
rindi

If you right click on the VM you have setup, select "Settings", then "Storage", then select the 2nd IDE disk or whatever looks like a CD drive in your Setup. If you then on the right side, if you click on the CD icon, you should be able to click on "Choose a Disk file". Then you can navigate to your iso file & select it.
I would recommend to use the iso file rather than the CD or DVD. Optical media is less reliable (you tend to get read errors), & they are also slower.


I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
nobus

ASKER
i don't see "settings"  = instellingen in Dutch
here's what i have :
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

click New or +

Maybe a video would help

https://youtu.be/sB_5fqiysi4

make sure you have a product key for XP and a bootable CD-ROM or iso !
rindi

You must first create the VM, & then select that VM (In my screenshots you can see 2 VM's one Ubuntu, the other PCRepix, & I selected the PCRepix VM to show the Settings.

You are in the VirtualBox Manager Window, where you add the Extensions & can set the Language of VirtualBox, as well as where you want to store your VM's. These are Global settings for VirtualBox, but each VM has it's own settings.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
nobus

ASKER
ah - ok will try that  ( everything is logical - after you see the solution)
rindi

By the way, when you create a new VM in VirtualBox, you enter a name for it, then if you call it something like Windoze XP or Windoze 7, the program will suggest default settings that either apply to XP or Win7. But the memory it suggests is a little low, so increase that. Depending on what you will use the VM's for, the suggested disk size may also be rather low, so increase that too. If you select Dynamically allocated for it's size the virtual Disk can reach that size eventually, but the space it takes up on your host will be lower to start off with. It'll take up more space, the more software you install within the VM, or the more updates get downloaded etc.
nobus

ASKER
i suppose i can copy the contents of the XP cd to my disk and run setup from there also?
another Q arises : this board has USB 3 ports - that did not exist with XP; so will the ports perform as usb 2 ?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

i suppose i can copy the contents of the XP cd to my disk and run setup from there also?
another Q arises : this board has USB 3 ports - that did not exist with XP; so will the ports perform as usb 2 ?

no you cannot!

Unless you make an ISO !

This board - motherboard ? Remember you are creating a VIRTUAL MACHINE, which uses virtual hardware! What is in the physical machine is irrelevant!
rindi

No, XP needs to be booted from to install it. For that you either need an iso file or the CD & boot the VM from the iso or CD you attached.

VirtualBox VM's use USB 2 as the default setting, whether your host has USB 1,2,3 etc. But you can change those settings to fit your needs. This is what you need to install the VirtualBox extensions within your VM after the installation for. They provide you with the Virtual VirtualBox "Drivers" for your Guest OS, so it can then access USB ports at higher speeds (You can then also change the Settings of the VM for USB 3 in VirtualBox).
nobus

ASKER
iwas able to select the iso file; but saw this warning 
how to proceed?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Have you enabled Intel-VT in the Computer BIOS (physical computer)
nobus

ASKER
i would not know how or why - it is a H97M-plus board
here the asus site :  H97M-PLUS - Support (asus.com) 
i can confirm intel virtualisation technology is disabled
dbrunton

>>  i can confirm intel virtualisation technology is disabled

You'll need to enable that.  Should be in the BIOS.  Look for Intel Virtualization Technology under CPU Configuration.  

There's also VT-d under System Agent Configuration.  You may not need that and I'm not sure if VirtualBox supports that yet.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
nobus

ASKER
Dbrunton, i don't understand; the pic i posted says :
System Acceleration page :
The hardware acceleration in the section acceleration in the system page is ON, while the host sytem does not support it.
it should be disable in order for the VM to start

can you elaborate a bit?
rindi

I think you need to show us another screenshot, for me it isn't clear which hardware Acceleration is meant from the screenshot you posted. An example below shows settings for a Windoze 7 VM on my system:

Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Please Enable - intel virtualisation technology in the BIOS
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
dbrunton

>>   can you elaborate a bit?

As Andrew says Please Enable - intel virtualisation technology in the BIOS.

Look under CPU Configuration.
nobus

ASKER
dbrunton & all- since i could confirm the setting, i know where to find it; but tx for getting back
what i did not understand is this :
>>>  The hardware acceleration in the section acceleration in the system page is ON, while the host system does not support it. it should be disable in order for the VM to start   <<<
does that say " in the VM, the acceleration is on, and it should be enabled in the HOST "
but what does   " it should be disable in order for the VM to start    "  mean then ??  and where disabled?
sorry - i just could not understand it ( maybe due to the auto translate of the error txt)
nobus

ASKER
here is what i have - after enabling VT

and this : 
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
nobus

ASKER
after seleting the iso i get this - but it does not move
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

how long have you waited ?
nobus

ASKER
maybe 5 minutes or more - in the meantime i installed xp from an install cd - that went without problems.
inspection of the iso install shows noow  no bootable media found
can i create easily a bootable iso from my install cd? then i'll try with that
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

nobus

ASKER
i'll try with my CDBurnerXP
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

I've not used that app, only the app in my article and video, I'm sure it can do the same function.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
rindi

You can also install the VM directly from the CD, you don't need to attach the iso file. As long as the CD is good there should be no problems.

But I do believe that it would be a good idea to have an iso of the CD, for example as backup.

CDBurnerXP has the following instructions:

https://www.cdburnerxp.se/help/Data/copydata
nobus

ASKER
ok guys - i have tested the install from cd and from iso - both ok now( seems a bad iso file?)
but i have now another problem : when i enable copy and paste - bidirectional - in the VM it does not work -  the paste is grayed out
and when i insert an usb drive - i have to enable it in devices - and then it disappears from the host
rindi

Have you installed the VirtualBox extensions within XP? Start XP, & then in the Window of VirtualBox click on "Devices", "Insert Guest Additions CD Image...". You should then see the "VirtualBox Guest Additions" CD Drive within XP. Run the VBoxWindowsAdditions.exe file within XP & allow the drivers to install, then reboot the VM. All those extra Features require those additions to be installed. I'm not 100% sure whether all of them still work properly with XP, as the OS hasn't been maintained for some time. I can't test it myself, as I no longer have XP installation Media...
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
nobus

ASKER
ok drivers were updated - butcopy/paste still does not work
i'll install windows 7 to test if that works better
dbrunton

Are you trying to Copy Paste from XP to Windows 10 or just within XP?
nobus

ASKER
from host  (win 10) to vm (XP) and VV

another q - i have several bootable sticks with different windows versions  - can i use that?
how do i select the setup file on the stick ?
Your help has saved me hundreds of hours of internet surfing.
fblack61
dbrunton

rindi

It depends on how the Windoze versions are stored on the Stick. If they are iso files you can just select them & mount them as CD's or DVD's. If they aren't iso's, you'd have to make an iso from the stick, & that can be quite a task.
nobus

ASKER
dbrunton - that is exactly what i did
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
dbrunton

Reading the documentation indicates that Guest Additions must be installed.  This gives you the instructions

https://techsupportwhale.com/make-virtualbox-full-screen/

I've just tried this on my Windows 98SE virtual machine and have screwed it up totally.  The VM is now garbage so make a backup of your VM folder before trying.
rindi

Those additions don't work the same with all guest OS's, and particularly older ones that are no longer supported won't work as well. With a Windoze 7 Guest copy paste works between the Guest & Host (Linux) on my PC.
nobus

ASKER
dbrunton    lol   no problem -  just experimenting
rindi - tx for that comment
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
nobus

ASKER
ok - i installed a windows 7 VM also
now i have 3 Vm's - 2x XP - and 1x Win7 - wher copy paste does not work
installing the extensions gives always an error window
can some body help me further?
rindi

What error do you get when installing the extensions? I've installed them on my system with no problems, but my host is Linux, although that shouldn't make any difference.
nobus

ASKER
for the command  - i found out when i simply typed it in - it did not work; but when i navidated to the cd with geust additions - it did work - very strange

i used this site for instructions :  https://docs.oracle.com/cd/E36500_01/E36502/html/qs-guest-additions.html
and as command in run box :  D:\VBoxWindowsAdditions.exe /with_autologon /with_vboxmmr
still no cut and paste after restarting win 7 and VM

⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
rindi

You should just be able to use the Explorer to open the CD, & if the exe file doesn't run automatically, just double click on VBoxWindowsAdditions.exe & the installation should start. You shouldn't need to use the run box or the options "/with_autologon /with_vboxmmr".

nobus

ASKER
as i said -  it ran ok - but i'm no further - copy paste still unavailable
nobus

ASKER
thanks for the setup help, but no copy paste yet, so for me it is not something useable to work with
what can you do with a system that you cannot use copy/paste
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
rindi

With Copy/Paste, do you mean between the Host & the Guest? Make sure in the VM's Settings, General, Advanced Tab, both "Shared Folders" & "Shared Clipboard" is set to "bidirectional".
nobus

ASKER
yes - that's what i mean and the settings are set that way