Create a gist now

Instantly share code, notes, and snippets.

@cs8425 /README.md
Last active May 8, 2017

What would you like to do?
How to REAL install Remix OS on VirtualBox

How to REAL install Remix OS on VirtualBox

This is how to REAL install Remix OS on VirtualBox. rootfs could be writable!!!

Needs:

  • any linux liveCD iso file (Xubuntu here)
  • Remix OS iso file ("Remix_OS_for_PC_Android_M_32bit_B2016092201.iso" here)
  • VirtualBox

step 1:

Create a virtual machine with a hard disk (at least 4GB). I use 32GB here. VM info

step 2:

Boot linux liveCD to partition and format the disk.

$ sudo gparted

partition table type: msdos

(one partition for example here.)

finished partition: finish partition

step 3:

Boot Remix OS iso with boot flag: INSTALL=1 boot flag

select partition that we had format. select partition

(format function seems buggy here, so, skip it) skip format

Install bootloader latter. skip bootloader skip bootloader

Select "Yes" let rootfs could be mount as rw!! rw rootfs

Wait until finished.

copy reboot

step 4:

Reboot to linux liveCD again. This time we are going to install bootloader.

# grub-install --root-directory=/media/xubuntu/RemixOS /dev/sda

(Where /media/xubuntu/RemixOS is the path you mount the partition that just created in step 2.)

(And /dev/sda is the devices you wants to install.)

add grub.cfg to /media/xubuntu/RemixOS/boot/grub/

androidboot.hardware=remix_x86 to androidboot.hardware=remix_x86_64 if used 64bit iso.

set default=0 
set timeout=10
set gfxmode=800x600
terminal_output gfxterm

menuentry 'Remix OS' --class android-x86 {
        search --file --no-floppy --set=root /RemixOS/kernel
        linux /RemixOS/kernel root=/dev/sda1 androidboot.hardware=remix_x86 androidboot.selinux=permissive SERIAL=random DATA=/data
        initrd /RemixOS/initrd.img
}

install bootloader

and reboot to RemixOS. reboot to RemixOS

First time will take a little long at here. first boot

Finally, and enjoy :) Finally

set default=0
set timeout=10
set gfxmode=800x600
terminal_output gfxterm
menuentry 'Remix OS' --class android-x86 {
search --file --no-floppy --set=root /RemixOS/kernel
linux /RemixOS/kernel root=/dev/sda1 androidboot.hardware=remix_x86 androidboot.selinux=permissive SERIAL=random DATA=/data
initrd /RemixOS/initrd.img
}

pi99y commented Oct 26, 2016

Thank you, this works great! (I installed the 64 bit version)

lcdss commented Dec 1, 2016

@cs8425

Reboot to linux liveCD again. This time we are going to install bootloader.
grub-install --root-directory=/media/xubuntu/RemixOS /dev/sda
(Where /media/xubuntu/RemixOS is the path you mount the partition that just created in step 2.)
(And /dev/sda is the devices you wants to install.)
add grub.cfg to /media/xubuntu/RemixOS/boot/grub/

Can you explain this part in more detail? I'm struggled.

icersg commented Dec 7, 2016

Thank you, it works for me.

@lcdss,
In step 4, you need to mount that folder first. For me, I'm using the Ubuntu Live CD. It doesn't have /media/xubuntu folder, so i used /media/RemixOS instead.

Open terminal, run commands as root, create folder, and mount the partition:

sudo su
mkdir /media/RemixOS
mount /dev/sda1 /media/RemixOS

Follow the gist, install grub, fill in the configuration, then save it

grub-install --root-directory=/media/RemixOS /dev/sda
gedit /media/RemixOS/boot/grub/grub.cfg

For cleanup, unmount the folder
umount /media/RemixOS

After that, you can reboot.

Spetnik commented Jan 18, 2017

I found I had to set the VirtualBox network mode to "bridged" to avoid getting certificate errors that hampered web browsing and prevented setting up a Google account.

sakera87 commented Mar 5, 2017

Always erorr in stage 4... If i check on file manager the folder name not media/xubuntu/remixos but /media/xubuntu/73883+b78929ggh/remix os..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment