Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
hat if you could run Windows and Linux at the same time? What if you could run them, not only at the same time, but on the same computer? What if you could run your Windows and Linux applications on the same desktop, without switching between Linux and Windows? Well... you can! Virtualization allows you to create virtual machines (i.e. Virtual computers which you can run independently within their own window). Its origins go back to the early 60s but it became popular among desktop users in 1999 when a company called VMWare introduced the first x86 virtualization software. It was easy to use, and though the concept was new for many people it quickly became something many people used. In 2007, a company called InnoTek released Virtualbox, an easy to use virtualization solution released under the GNU General Public License. This open source alternative to VMWare became extremely popular. Nowadays, its used by Linux users to run a copy of Windows, by Windows users to give Linux a try, by distributions to test their releases and by reviewers to review them.
Thanks to virtualization you can create your own collection of virtual computers. You can give each computer its own resources, you can install separate operating systems, you can even give a particular virtual machine more than one partition and more than one operating system. In almost every way, with the exception of using real hardware, your virtual computers are de-facto behaving like real computers and as far as the software running in them is concerned, theres no tangible difference.
Virtual Machines
your Windows VM. You dont want to give it too much, otherwise your main operating system (Linux Mint) wont have enough memory for itself and will start getting slow, but you also want to give it enough for your virtual machine to be able to run Windows. If you have 4GB RAM, and youre only planning to run one virtual machine, you can probably give it half, i.e. 2GB RAM. If you only have 2 GB RAM, you can probably give it 1GB RAM... and if you only have 1GB, you probably just dont have enough memory to run Linux Mint and Windows at the same time. Note: When the VM is running, its using all its assigned memory. When its not running this memory is freed. Say you have 4GB RAM and you give your VM 1GB RAM, when its running your Linux Mint system can use 3GB RAM. If you turn off the VM, then Linux Mint can use the whole 4GB RAM. On the next screen youll have to decide how much disk space you want to give your Windows VM. You can create virtual hard disks, which effectively are large files which the virtual machine sees as separate hard drives. Select Create new hard disk and click Next. Then select Dynamically expanding storage and click Next. You can then select where you want the virtual hard drive to be located (i.e. Where on your real hard drive, will the file representing this virtual hard drive be stored) and more importantly how big you want it to be. Your virtual machine will operate on its own, in its own World, in its own sandbox without much interaction with your main operating system. It wont see your real hard drive for instance. If you create, say a 10 GB virtual hard disk and give it to your VM, thats the only space available it will have. If you install Windows on it, it will see this virtual hard disk as C:\ and nothing else. Similarly, the BIOS of your virtual machine will only detect one hard drive... that virtual hard disk youre about to create. After you click Next you can then click Finish and your virtual machine is ready.
tem. Guests often refer to the operating system installed in the virtual machine. What we did here, was to make our VM use our real DVD drive... so that it could see our Windows CD and install from it. Next, insert your Windows installation CD in your drive and run your virtual machine by clicking on it in the left pane of Virtualbox and by pressing the Start button. Follow the instructions on the screen and install Microsoft Win-
www.linuxidentity.com/us/
Virtual Machines
dows the way you would normally do on a normal computer. When it comes to assigning partitions and selecting hard drives, tell Windows to use the entire disk. Dont be afraid, your virtual machine cannot see your real hard drive. What it calls and sees as the entire disk, is basically the virtual hard disk you gave it, which in your real hard drive, is nothing else than a simple file. When finished you should have a virtual machine ready with Windows installed in it. You can add software to it (iTunes for instance is something many Linux users install in their Windows VM so they can sync their iPhone, iPods or iPads) and configure it. Note: You can copy your virtual hard disk to a USB stick and carry it around with you. That way, no matter what computer youre using and which operating system its running, if it has Virtualbox installed, you can point it to it and access your virtual Windows XP installation. between a PC and Mac... but Apple doesnt support other hardware devices than the ones they provide and they also include a chip in their computers which Mac OS X checks for to make sure its running on Apple hardware. Because of these limitations, at present, you can only run Mac OS in Virtualbox within Mac OS X itself... which isnt very useful.