Installing Android on VirtualBox

Anonim

Installing Android on VirtualBox

With VirtualBox, you can create virtual machines with the most different operating systems, even with mobile Android. From this article you will learn how to establish a fresh version of Android as a guest OS.

Setting up a virtual machine

Before starting, configure Android:

  1. Click on the "Configure" button.

  2. Go to "System"> "Processor", set 2 cores of the processor and activate the PAE / NX.

    Android virtual machine processor setting in VirtualBox

  3. Go to "Display", set the video memory to your discretion (the more, the better), and turn on the 3D acceleration.

    Android Virtual Machine Display Setting in VirtualBox

The remaining settings are at your request.

Installing Android

Run the virtual machine and install Android:

  1. In the VirtualBox Manager, click on the Run button.

    Running Android Virtual Machine in VirtualBox

  2. As a boot disk, specify the image from the Android you downloaded. To select a file, click on the folder icon and find it through the system conductor.

    Search for an image of Android for installation in VirtualBox

  3. The boot menu opens. Among the available ways, select "Installation - Install Android-X86 to Harddisk".

    Android setting in VirtualBox

  4. Starting the installer will start.

    Boot operation when installing Android in VirtualBox

  5. Here and then perform the installation using the ENTER key and the arrow on the keyboard.

  6. You will be prompted to choose a section to install the operating system. Click "CREATE / MODIFY PARTITIONS".

    Selecting a section for installing Android in VirtualBox

  7. On offer Use GPT Answer NO.

    Refusal to use GPT when installing Android in VirtualBox

  8. The CFDISK utility will be loaded in which you will need to create a section and set some parameters to it. Select "New" to create a section.

    Creating a new section when installing Android in VirtualBox

  9. Assign the section Main by selecting "Primary".

    Installing the Primary section when installing Android in VirtualBox

  10. At the selection phase, use the entire available. By default, the installer has already entered all disk space, so just press ENTER.

    Select the size of the section when installing Android in VirtualBox

  11. Make a loading section by setting it the Bootable parameter.

    Installing the Bootable section when installing Android in VirtualBox

    This will be displayed in the Flags column.

    Section marked like bootable when installing Android in VirtualBox

  12. Apply all selected options by selecting the Write button.

    Saving the settings of the created section when installing Android in VirtualBox

  13. To confirm, write the word "yes" and press ENTER.

    Confirmation of saving the settings of the created section when installing Android in VirtualBox

    This word is displayed not entirely, but prescribed completely.

  14. The use of parameters will begin.

    Writing the selected settings of the created section when installing Android in VirtualBox

  15. To exit the CFDisk utility, select the "quit" button.

    Exit CFDisk Utility when installing Android in VirtualBox

  16. You will come to the installer window again. Select the created section - Android will be installed on it.

    Selecting a selection to install Android in VirtualBox

  17. Format the section into the "EXT4" file system.

    Formatting the selected partition to install Android in VirtualBox

  18. In the format confirmation window, select "YES".

    Formatting confirmation of the selected section for installing Android in VirtualBox

  19. On the offer to install the GRUB bootloader Answer YES.

    Installing the GRUB bootloader when installing Android in VirtualBox

  20. Android setting starts, wait.

    Android installation process in VirtualBox

  21. When the installation is completed, it will be prompted to start the system or restart the virtual machine. Select the desired item.

    Running Android or reboot in VirtualBox

  22. When you start Android, you will see a corporate logo.

    Android logo in VirtualBox

  23. Next, the system needs to be designed. Select the desired language.

    Greeting window and selection of Android language in VirtualBox

    Control in this interface may be inconvenient - to move the cursor, the left mouse button must be clamped.

  24. Select, whether you will copy Android settings from your device (from a smartphone or from a cloud storage), or want to get a new, clean OS. Preferably select 2 options.

    Copying data from another Android device in VirtualBox

  25. Check updates will begin.

    Check Android Updates in VirtualBox

  26. Make an entrance to Google account or skip this step.

    Login to Google account android in VirtualBox

  27. Configure the date and time if necessary.

    Setting the date and time of Android in VirtualBox

  28. Specify the username.

    Enter the name to Android account in VirtualBox

  29. Configure the parameters and disconnect those that you do not need.

    Setting up Google Android settings in VirtualBox

  30. Adjust additional options if you want. When you are ready to finish with the primary configuration of Android, click on the "Finish" button.

    Additional Android settings in VirtualBox

  31. Wait until the system processes your settings and creates an account.

    The final stage of installing Android in VirtualBox

After successful installation and settings, you will get to the Android desktop.

Android Desk in VirtualBox

Run Android after installation

Before the subsequent launches of the Android virtual machine, you must remove the image that was used to install the operating system from the settings. Otherwise, instead of launching the OS every time a boot manager will be loaded.

  1. Go to the settings of the virtual machine.

  2. Click the "Media" tab, select the ISO image of the installer and click on the removal icon.

    Removing Android image from VirtualBox media

  3. VirtualBox will request confirmation of your actions, click on the "Delete" button.

    Confirmation of the removal of Android image from VirtualBox media

The Android installation process on the virtual box is not very complex, but the process of working with this OS can be understood not to all users. It is worth noting that there are special Android emulators that may be more convenient for you. The most famous of them is bluestacks, which works more smoothly. If he does not suit you, check out his analogues emulating Android.

Read more