Installing Android 2.2 on Hyper-V
This is a post that I have been meaning to do for a while now: how to install Android 2.2 in Hyper-V. While Android is designed for smart phones – there are a number of ports out there for running on standard computers. Today I am going to show you how to get Android 2.2 running in a Hyper-V virtual machine. It is an older version of Android – but it is also the easiest version to get working well inside of Hyper-V.
To start with you are going to need to get the x86 install media for Android 2.2. You can download this from here:
https://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso
Next you are going to want to create a virtual machine with:
- 1 virtual processor
- A legacy network adapter
- A blank 16GB virtual hard disk
Then connect the ISO file to the DVD-ROM drive of the virtual machine and boot it up. You should soon see a boot menu where you can select Installation – Install Android-x86 to harddisk:
(You can use the Live CD options – but I prefer to have a real install).
At this point you will get dumped into text mode to do some partitioning. First select to Create / Modify partitions
This will take you to the partitioning tool:
Here you will need to:
- Select New
- Select Primary
- Accept the default partition size that the tool offers
- Select Bootable
- Select Write and type in yes
- Select Quit
Now you will have a new partition that you can select for the installation:
After selecting the partition you will need to format it (I went with ext3)
Then you will have to wait for a while for the partition to be formatted.
Next select to install the GRUB boot loader:
Decide if you want /system to be read-write (I chose Yes):
Finally reboot – and remember to remove the ISO file (so you do not just boot off of it again):
You now have Android 2.2 working on Hyper-V:
Everything should function correctly (including networking) however there is no support for sound. Luckily that does not stop the games from working:
(Note – I rarely crash on Lunar Lander, but I had to take my hands off the keyboard to take the screenshot, and this was the natural result).
Anyway, I hope you found this interesting. Tomorrow I will be back to talking about Windows Server “8”.
Cheers,
Ben