VirtualBox Ubuntu Host Windows Guest
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

VirtualBox Ubuntu Host Windows Guest

on

  • 6,947 views

Setting up shared folders. Transitioning existing partitions.

Setting up shared folders. Transitioning existing partitions.

Statistics

Views

Total Views
6,947
Views on SlideShare
6,938
Embed Views
9

Actions

Likes
0
Downloads
36
Comments
0

2 Embeds 9

https://duckduckgo.com 5
http://www.slideshare.net 4

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

VirtualBox Ubuntu Host Windows Guest Presentation Transcript

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