Sunday, June 5, 2016

Installing Remix OS (Android-x86) on VirtualBox VM

Here are the steps I took modified from this posting.
https://www.reddit.com/r/RemixOS/comments/40ahkc/is_it_possible_to_run_remix_os_on_virtualbox_if/

Here's how I managed to get the 64-bit version running in persistent mode in VirtualBox 5.0.16 on Windows 7.

*My VMs are typically stored on an USB external drive.  I was having trouble creating the Remix VM on the external drive so I started by changing my VBox settings to install to the local drive (e.g. desktop vs USB external drive).

Create a new machine - type: "Linux", version: "Other Linux (64-bit)". I named mine RM0010 but it doesn't matter.
Allocate some RAM for it. I went with 4096MB and couldn't find the minimum required specs, but you should be okay with 2048+.
Create a virtual hard disk. I used the VMDK file type with a fixed size of 64.00GB - simulating running it on a 64GB flash drive. The minimum specs require 8GB of space.
DON'T START THE MACHINE YET!
Click "Settings">"Storage">"Controller:IDE" and add an optical drive (icon looks like an optical disk with a plus symbol). Choose the OS's ISO. This should appear above any existing optical drives and below the hard drive.
Select the drive you just added and check the "Live CD/DVD" toggle. Then click "OK".
*Also increase the number of processors for Remix OS
We are now ready to start the machine. When you do, there should be a splash screen - press the tab key before it tries to perform a default installation. If you missed it, just power down the machine (don't save its state or send the shutdown signal, just power it off) and try again. It only gives you about 3s to press tab.
Type a space then "INSTALL=1 DEBUG=" and press enter/return. Don't forget the spaces.
Press down to select "Create/Modify Partitions" and press return/enter.
Say "No" when it asks if you want to use GPT.
Press the right arrow key to select "New" and press return/enter.
Select "Primary" and press return/enter.
Press return/enter to use the default size.
Select "Bootable" and press return/enter.
Select "Type" and press return/enter until you're back at the main cfdisk screen. (Linux "83")
Select "Write" and press return/enter.
Type "yes" and press return/enter.
Select "Quit" and press return/enter.
Select "sda1" (the partition you just created) and press return/enter.
Select "ext4"
(ignore, replaced with the step above) Select "ext3" as the filesystem format (AFAIK, ext4 is also fine, but I didn't test with it).
Select "Yes" and press return/enter to format the virtual disk.
Select "Yes" and press return/enter to install GRUB.
Select "Skip" and press return/enter to skip installing the EFI GRUB2 loader.
Select "Yes" and press return/enter to enable the /system directory as a read/write.
Select "Run Android-x86" and press return/enter.
Several minutes later, you'll be taken to the language selection screen. Follow the OS install as you would any other.
Once you're on the desktop, shut down the OS (properly).
Open the VM settings and remove the OS ISO from the list of devices - we don't need it any more.

1 comment: