Installing Android 4.0 also known as the Ice Cream Sandwich in VirtualBox is simple for most. But one thing one must not forget is that Android generates its serial number on the first boot. So, if you are using a pre-installed VirtualBox images, then Android serial numbers might be duplicated.
So its better to start from the very start.
1. Hunting an ISO:
Android-x86 has been making some excellent x86 for different versions of Android OS. But the problem with these ISO images is that some of them are not friendly with VirtualBox. It is important to find an ISO that has all features or at least most of the features. At least the ISO should support good Audio, networking and some more to say the least.
Use the comments and review section to zero on the better one.
2. The VM (Virtual Machine) creation:
Create a new machine for the Android in the VirtualBox. Use any name for your Android like “Android XYZ” and select ‘Other Linux’ as the machine type. Next assign memory and Hard Disc. You can choose from 1024MB for the VM memory or even higher and a dynamically expanding VDI image will act as a better HD.
Keeping the rest of the settings at default will do just fine. But ensure that the Virtual Machine boots from the ISO image only.
3. Mounting the ISO:
Double click on the new VM and it will start running. The fresh VirtualBox installation will pop up several instructions and messages. Read them carefully and act according to your need or wish. In case you need to control the system and have it back from the VM, control key on the keyboard will do the trick for Windows. Close off the last of the dialogue which generally is about ‘Mouse Pointer Integration’. Click ‘Enter’ and the screen will show Live CD’s boot menu.
4. The Boot menu:
Select the ‘Live CD-VESA mode’ to boot the live CD. From the Machine menu select ‘Disable Mouse Integration’. Click inside VM and select ‘Capture’ on the mouse pointer option.
To install the Android in a virtual hard drive then select ‘Installation‘ from the boot menu. “Install Android-x86 to Harddisc” will be your next selection from the installation options.
Select “create/modify partitions” to access the cfdick partition editor.
5. Cfdisc Partition editor:
Select “New” and then “Primary” to start with the partitioning process. Allot sizes if you feel that the default size is not sufficient. Else hit enter and let it go. Select “Bootable” and then “Write” and type “Yes” when prompted to proceed. Select “Quit” and the “sda1 Linux VBOX HARDDISK” to continue.
Format the newly created partition by hitting ”ext3” from the list. Select “yes” when prompted and formatting your newly created drive ensues. “ext3” is the file system needed to format the new partition. Install GRUB bootoader once the formatted. This is extremely important as without this the VHD doesn’t boot.
Select “NO” if you are not a developer when the system prompts you that whether you want it to be read-write.
7. Unmount ISO:
The VM will boot off. It will reboot due to the mounted ISO. ‘Close’ the VM from the ‘Machine’ menu. Select “Remove disk from virtual drive” and unmount the ISO.
Your Android-x86 is installed and ready to use.
Once your Android is installed you are free to run the OS, create fake SD card and so on. But don’t forget to disable mouse integration. Also remember the right Ctrl key releases back the host OS.
More importantly the Android does not have the Android market and some regular features like Gmail or Google Maps and so on. Find the apps on Google and install them.
Complete your list and have fun.