Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Android-x86 4.2 iso on VM VirtualBox?

I want to use Android-x86 to test and debug my App.I tried other versions of Android-x86 before successfully,but there is an erroe in about android-x86-4.2.So I ask my question here because it may be happen for others:

I installed oracle VM virtualBox on Win7 32-Bit,then I downloaded android-x86-4.2-20121225.iso from Android-x86 - Porting Android to x86.After I installed Android x86-4.2 on VirtualBox from iso and creating fake SD Card for it,I tried to run it,but when I started it I saw these lines in console:

Detecting Android-x86... found at /dev/sda1

ANDROID root@x86:/ #

And no thing else,even I waited more than 20 minutes and nothing happen!I tried that some times but result is the same.How I can solve this problem?

like image 799
hasanghaforian Avatar asked Apr 25 '13 18:04

hasanghaforian


People also ask

Can I run Android in VirtualBox?

Launch the VMTo start installing Android, just select the VM and then click start. You may be asked to “Select a start-up disk”, if so, select the Android ISO. The next screen will show boot options, to install Android to the VM you need to scroll down and select the “Installation” option.

Can I run Android OS on virtual machine?

This one requires a two-step process: First install VirtualBox, which lets you run a variety of operating systems inside Windows, and then run Android-x86 as a virtual machine inside it. That way, you can run the entire Android OS inside a virtual machine on Windows, or on a Mac or Linux, for that matter.

Can I use ISO file in VirtualBox?

If you are using VirtualBox, you can connect ISO files in at least two ways through the VirtualBox Manager or from the virtual machine interface when the guest operating system is running. In this guide, you will learn two ways to insert an ISO file to a VirtualBox virtual machine on Windows 10 (or Windows 11).


1 Answers

I asked same question in superuser and I found the way to start it. The correct answer is:

From the install/live CD, you just need to change the value of "androidboot.hardware" parameter in the grub command from "Android_x86" to "x86". You can do this by pressing "Tab" in the boot menu or by editing "isolinux.cfg" file on the installation ISO Image.

If you installed Android-x86 on hard drive,you have to select desired boot option and press e to edit grub command.

like image 190
hasanghaforian Avatar answered Oct 12 '22 18:10

hasanghaforian