10
Creating a Windows XP Virtual Machine using Virtual Box A. Install Virtual Box: 1. Download the Virtualbox installer http://www.virtualbox.org/wiki/Downloads 2. Run the installer and have the installer complete. The Virtualbox User Manual has very detailed instructions on the installation and setup. You can find the manual for the latest version here http://www.virtualbox.org/manual/UserManual.html Note: Please take appropriate precautions such as running a virus-scanner and/or other malware detection tools before executing/running any files downloaded from the internet. Neither the instructor nor the teaching assistant is responsible for any damage or harm that may be caused as a result of files downloaded from the web. In the following pages, we’ll walk through a setup process for a virtual machine running Windows XP, on a Windows host machine. Obtaining Windows XP: The Department of Computer Science and Engineering at Texas A&M University is licensed under the MSDN Academic Alliance Program. This enables eligible students and faculty members to access software available under the Program free of charge. Visit https://wiki.cse.tamu.edu/index.php/MSDNAA for instructions on accessing the Online Software System. Note: You will only get ONE copy of Windows XP from MSDNAA for your use. Hence, keep the ISO (XP Installation disc image file) and license key in a safe location. You will not get additional copies or duplicate license keys if you lose what you downloaded from the store.

Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

Embed Size (px)

Citation preview

Page 1: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

Creating a Windows XP Virtual Machine using Virtual Box

A. Install Virtual Box:

1. Download the Virtualbox installer http://www.virtualbox.org/wiki/Downloads

2. Run the installer and have the installer complete.

The Virtualbox User Manual has very detailed instructions on the installation and setup. You can find the manual for the latest version here http://www.virtualbox.org/manual/UserManual.html

Note: Please take appropriate precautions such as running a virus-scanner and/or other malware detection tools before executing/running any files downloaded from the internet. Neither the instructor nor the teaching assistant is responsible for any damage or harm that may be caused as a result of files downloaded from the web.

In the following pages, we’ll walk through a setup process for a virtual machine running Windows XP, on a Windows host machine.

Obtaining Windows XP:

The Department of Computer Science and Engineering at Texas A&M University is licensed under the MSDN Academic Alliance Program. This enables eligible students and faculty members to access software available under the Program free of charge.

Visit https://wiki.cse.tamu.edu/index.php/MSDNAA for instructions on accessing the Online Software System.

Note: You will only get ONE copy of Windows XP from MSDNAA for your use. Hence, keep the ISO (XP Installation disc image file) and license key in a safe location. You will not get additional copies or duplicate license keys if you lose what you downloaded from the store.

Page 2: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

B. Setting up the virtual machine

1. Once the installation of VirtualBox is complete, run VirtualBox from Start>Programs. You should get a screen like the following:

2. Click on New, and the New Virtual Machine Wizard should pop up and guide you through the process of creating a new virtual machine.

Page 3: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

3. Click Next to start the process.

a. The first steps are to give your virtual machine a name and select the OS and version. b. Type in a name for your machine (I recommend using a single word not a phrase). c. Under Operating System: Choose Microsoft Windows d. Under Version, choose Windows XP e. Click Next

4. The next step is to select the amount of RAM for your virtual machine. The amount of memory given here will be taken away from your host machine and presented to the guest operating system, which will report this size as the (virtual) computer's installed RAM. 1024MB (1GB) is the recommended memory allocation for Windows XP.

Note[1]: Choose this setting carefully! The memory you give to the VM will not be available to your host OS while the VM is running, so do not specify more than you can spare. For example, if your host machine has 1 GB of RAM and you enter 512 MB as the amount of RAM for a particular virtual machine, while that VM is running, you will only have 512 MB left for all the other software on your host. If you run two VMs at the same time, even more memory will be allocated for the second VM (which may not even be able to start if that memory is not available). On the other hand, you should specify as much as your guest OS (and your applications) will require to run properly.

[1] http://www.virtualbox.org/manual/ch01.html#intro-installing

Page 4: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

5. The next step is to create/select a virtual hard-disk for your virtual machine. a. If you are using an image from the lab, select that image file from the “Use existing harddisk”

option. b. Else, select Create New Hard disk and select Next/

6. Choose “dynamically expanding storage” as your type of harddisk, and click Next

Page 5: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

7. The virtual hard-disk exists as a file on your host computer. Choose the location of where you want to

store the hard-disk file. (Also choose the size.) a. 10GB is a good size for Windows XP b. Make sure the location has 10GB to spare. The file will start out smaller (since we chose

dynamically expanding storage, but can reach the full 10GB if you fill up your virtual machine). c. When ready, click Next.

8. Click Finish if you are ready to create the disk. Or click Back if you want to change any settings.

Page 6: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

9. You should now return to the Create Virtual Machine page. Which will present you a summary of the

Virtual Machine to be create. Verify that all the data looks ok, and click Finish to complete creating the machine.

10. Congratulations! You just created your virtual machine. It is now ready to accept the installation of Windows XP. On your VirtualBox manager screen, you should now see the machine you just created listed.

Page 7: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

11. Before we boot up this machine, we need to configure the CD drive.

a. This is to enable it to find the disc image (containing Windows XP) so that it can to boot from this disc.

b. For this, select the machine you just created, and click the Settings button on the toolbar. You should see a screen like the following show up.

12. Select the “Storage” option on the left pane. a. Now click on the single + symbol next to the entry “IDE Controller” under the entry Storage

Tree.

Page 8: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

13. When prompted to Add a New CD/DVD drive, choose “Choose Disk”

14. You will now be taken to choose the file to mount. Choose the ISO image containing Windows XP, and click Open

Page 9: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

15. The drive should now be mounted and will be listed under the storage tree.

16. Click OK and you’ll return to the Virtual Box Manager screen.

Page 10: Creating a Windows XP Virtual Machine using Virtual Boxcourses.cse.tamu.edu/stoleru/spring14/csce613/project/create_xp_vm... · Creating a Windows XP Virtual Machine using Virtual

17. It is now time to boot up our machine and install XP! Select the XP machine and click the START icon.

a. You should see the machine begin to boot and bring you to the Windows XP install screen. b. Hit Enter to begin the installation process. c. This is the typical XP installation process. Follow the prompts and let Windows install.

18. When you are done installing, the virtual machine will reboot and when you login, you should be presented with the Windows XP desktop

Congratulations! Your XP virtual Machine is now running.