Link to home
Start Free TrialLog in
Avatar of nobus
nobusFlag 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

Avatar of Ross McCandless
Ross McCandless
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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?
Nobus, yes it works on Home Edition
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)
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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
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
Avatar of 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
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.


User generated imageUser generated image
Avatar of nobus

ASKER

i don't see "settings"  = instellingen in Dutch
here's what User generated imagei have :
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 !
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.
Avatar of nobus

ASKER

ah - ok will try that  ( everything is logical - after you see the solution)
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.
Avatar of 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 ?
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!
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).
Avatar of nobus

ASKER

iwas able to select the iso file; but saw this warning User generated image
how to proceed?
Have you enabled Intel-VT in the Computer BIOS (physical computer)
Avatar of 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
>>  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.
Avatar of 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?
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:

User generated image
Please Enable - intel virtualisation technology in the BIOS
>>   can you elaborate a bit?

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

Look under CPU Configuration.
Avatar of 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)
Avatar of nobus

ASKER

here is what i have - after enabling VT
User generated image
and this : User generated image
Avatar of nobus

ASKER

after seleting the iso i get this - but it does not move
User generated image
Avatar of 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
Avatar of nobus

ASKER

i'll try with my CDBurnerXP
I've not used that app, only the app in my article and video, I'm sure it can do the same function.
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
Avatar of 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
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...
Avatar of nobus

ASKER

ok drivers were updated - butcopy/paste still does not work
i'll install windows 7 to test if that works better
Are you trying to Copy Paste from XP to Windows 10 or just within XP?
Avatar of 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 ?
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.
Avatar of nobus

ASKER

dbrunton - that is exactly what i did
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.
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.
Avatar of nobus

ASKER

dbrunton    lol   no problem -  just experimenting
rindi - tx for that comment
Avatar of 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?
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.
Avatar of 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

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".

Avatar of nobus

ASKER

as i said -  it ran ok - but i'm no further - copy paste still unavailable
Avatar of 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
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".
Avatar of nobus

ASKER

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