VMware Workstation gives you the possibility to test multiple systems without installing a multiboot solution on your physical computer (server) and learn easily without breaking up your underlying system. But you still have the possibility to access to the files located on you physical machine through the VM. In my career I had many questions about VMs and accessing files, and people who are inexperienced with virtualization are often not aware that the running VM behaves like a physical computer on your local network ( LAN). That’s why in many occasions I finding myself to repeat often the same thing. I’m not sure that the people which is just starting with virtualization are aware of that.
But this article was not meant to be about VMs and accessing files from those VMs, but about installing an Android OS as a VM to test this lightweight OS.
What do you need to test Android? Not much:
- Latest Android x86 installation ISO (actually I took exactly the android-x86-2.2-eeepc.iso – 2.2 version (direct link) – where you can get network access with one tip…) – http://www.android-x86.org/download
- Latest VMware Workstation 8.0.1 (you can get 60 days trial here – VMware Workstation 60 Days Trial ) or VMware Player
After downloading the iso to your hard drive, you start by creating new virtual machine in VMware Workstation 8. Go and do this:
01. File >New Virtual Machine > On this computer.
I precise on this computer for people who do not have a VMware vSphere Lab, and uses VMware Workstation for running the VMs locally only. Thus you got the possibility there to create the VM directly on your ESXi 5 if you want to. and you can see that option in the menu only if you’re connected to an ESXi server (you can be connectet to several ESXi servers at the same time too…).
02. Use the “Typical” option for new VM creation and choose the iso you just downloaded. As you can see, it’s detected as FreeBSD. Does not matter if you choose to store the virtual disk as a single file or as a multiple files.
03. Name the VM, choose the location on your hard drive, and start the VM. Immediately after you’ll be presented with the menu where you’ll be able to choose the Installation (or running as a live CD). You’ll take this option. The Installatio process will start and you’ll be able to create and format new, bootable partition to host the Android system.
04. First think to do, if you want to do a real Installation, not just play with the live CD, you must create and format a partition for that system. Create a single primary partition in the partition editor. Use all the Free Space available. Once done, you can go to the Exit option and quite the partition editor.
05. You’ll be presented with a screen where you’ll be able to choose a virtual disk as a destination for the Android system. Since it’s a linux system it’s recommended to take an EXT3 option for formating the disk. Use Grub as your boot loader.
06. You’re almost done. Now when the Android system has booted, you’ll need to tweak one configuration file which is located in the folder where you store the Android VM. Depending on how you named your Android VM, but the file should be something like Android.vmx
First Power Down the Android VM. Open the Android.vmx file with Notepad. Right click > Open With > Notepad
Change the line where the default adapter created by VMware Workstation from E1000 to vlance
Boot the VM and you should have a network connection now… you can go and download new Android applications, surf the Interenet etc…
You can click on the image to get larger picture, to see the actual size of that screen.
Just one last think. Even if this Android VM works well, not all the functions are working. Like the phone for example… -:).
And you should see the network icon when withing your Android VM. If not, then you took probbably the wrong ISO, as I tried several ISOs from the Android Website, but only one of them – android-x86-2.2-eeepc.iso – 2.2 version (direct link) – has actually worked and had the Internet access.
You might want to see how easy is to install Latest Ubuntu Desktop by using VMware Player? Read this post – How to install the latest Ubuntu Desktop with Free VMware Player. Have fun.
Latest posts by Vladan SEGET (see all)
- vCenter Server 5.5 U1a released fixing Heartbleed - April 20, 2014
- Trilead Enterprise Backup and Replication for VMware and Hyper-V Announced - April 18, 2014
- Zero-Config Remote Desktop Software Ammyy Admin and others - April 17, 2014