Introduction to Virtual Machining a Windows Guest with VirtualBox Andrew Dougherty Fox Valley Computing Professionals FRDC...
VirtualBox <ul><li>VirtualBox is an Open Source VM solution
Has Ubuntu packages, probably also packages for other systems </li></ul>
Terminology <ul><li>Host :- The system on which the virtual machine(s) is/are running
Guest(s) :- The virtual machine(s)
So for instance if you wanted to run MS Windows on a Linux machine, Windows would be the Guest OS, and Linux the Host OS <...
VirtualBox <ul><li>Does 32 bit Guest OSes
If you have a 64 bit machine that has virtualization technology, then can run 64 bit Guest OSes
Seems to be limited to 1 64 bit Guest running at any time
Can run any number of 32 bit Guests (even when your 1 64 Guest is running) </li></ul>
Warnings <ul><li>Extra RAM helps alot
Some processors, such as this laptop's, do not have the Virtualization Technology, which limits us to 32bit Guest OSes </l...
Installation <ul><li>sudo apt-get install virtualbox-ose </li></ul>
Installing Windows Guest <ul><li>Create the VM: -> New
Upcoming SlideShare
Loading in...5
×

VirtualBox Ubuntu Host Windows Guest

6,597

Published on

Setting up shared folders. Transitioning existing partitions.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
6,597
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "VirtualBox Ubuntu Host Windows Guest"

  1. 1. Introduction to Virtual Machining a Windows Guest with VirtualBox Andrew Dougherty Fox Valley Computing Professionals FRDCSA/POSI June 8th, 2009
  2. 2. VirtualBox <ul><li>VirtualBox is an Open Source VM solution
  3. 3. Has Ubuntu packages, probably also packages for other systems </li></ul>
  4. 4. Terminology <ul><li>Host :- The system on which the virtual machine(s) is/are running
  5. 5. Guest(s) :- The virtual machine(s)
  6. 6. So for instance if you wanted to run MS Windows on a Linux machine, Windows would be the Guest OS, and Linux the Host OS </li></ul>
  7. 7. VirtualBox <ul><li>Does 32 bit Guest OSes
  8. 8. If you have a 64 bit machine that has virtualization technology, then can run 64 bit Guest OSes
  9. 9. Seems to be limited to 1 64 bit Guest running at any time
  10. 10. Can run any number of 32 bit Guests (even when your 1 64 Guest is running) </li></ul>
  11. 11. Warnings <ul><li>Extra RAM helps alot
  12. 12. Some processors, such as this laptop's, do not have the Virtualization Technology, which limits us to 32bit Guest OSes </li></ul>
  13. 13. Installation <ul><li>sudo apt-get install virtualbox-ose </li></ul>
  14. 14. Installing Windows Guest <ul><li>Create the VM: -> New
  15. 15. Complete the Wizard, selecting an amount of RAM preferably less than half the total
  16. 16. Create a virtual disk, or if you want to use an actual hard disk, see the section on using an existing partition
  17. 17. -> Settings -> CD/DVD Rom -> Host drive or use the Virtual Media Manager -> CD/DVD Images to add an iso image </li></ul>
  18. 18. Installing Windows Guest <ul><li>Disabling the internet if necessary (using cable connected)
  19. 19. Boot and install Windows on the VM, just like one would normally
  20. 20. Installation of guest additions
  21. 21. Guest additions will allow you to seemlessly use the VM </li></ul>
  22. 22. Guest Additions <ul><li>Once you have a good installation, you will want to add the guest additions
  23. 23. These are installed by mounting an ISO image as your CD-ROM and installing from there
  24. 24. With a Windows guest, it will install video, sound and mouse drivers (possibly more, I don't remember) </li></ul>http://download.virtualbox.org/virtualbox/2.2.4/VBoxGuestAdditions_2.2.4.iso
  25. 25. Shared Folders <ul><li>Guest additions will also allow you to create a shared network drive
  26. 26. If you want to do Host Interface networking instead of NAT, in your host:
  27. 27. Then -> Settings -> Network -> Attached To, and select tap0 </li></ul>#!/bin/sh sudo tunctl -t tap0 -u andrewdo sudo ifconfig tap0 10.0.1.1 sudo tunctl -t tap0 -u <username> sudo ifconfig tap0 10.0.1.1 http://ubuntu-tutorials.com/2008/02/01/how-to-do-seamless-window-integration-with-ubuntu-virtualbox/
  28. 28. Booting an Existing Windows Partition http://mesbalivernes.blogspot.com/2008/01/virtual-box-booting-from-existing.html <ul><li>Use this tutorial
  29. 29. However, make sure to create the vmdk file inside the ~/.VirtualBox/HardDisks directory, as root, and run the VM as root
  30. 30. Also there will be an issue with Windows guests booting from different “hardware” than they are used to, so see this: </li></ul>http://www.virtualbox.org/wiki/Migrate_Windows
  31. 31. Transfering a Virtual Hard Disk to a Real Partition <ul><li>Set up a vmdk file for a partition on a hard drive
  32. 32. Create a new VM with Linux guest, having the Virtual Hard Disk and the new partition as primary and secondary Hds
  33. 33. Boot linux, and run as root “dd if=/dev/sdXX of=/dev/sdYY”
  34. 34. Resize the filesystem to fill the whole partition (somehow, I forget how to) </li></ul>
  35. 35. Misc. <ul><li>Haven't had any luck getting blu-ray playback to work in a VM
  36. 36. Haven't been able to get 3d to work </li></ul>
  37. 37. Questions <ul><li>Q/A Session
  38. 38. Email: [email_address]
  39. 39. IRC: posi @ irc.freenode.net
  40. 40. Intranet: intranet.posithon.org
  41. 41. Phone: 630 300 5565 </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×