Skip to content

Instantly share code, notes, and snippets.

@cs8425
Last active November 9, 2022 09:03
  • Star 35 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cs8425/7315d86a273e57a988245345df68a4f9 to your computer and use it in GitHub Desktop.
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
Copy link

pi99y commented Oct 26, 2016

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

@lcdss
Copy link

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
Copy link

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
Copy link

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
Copy link

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..

@amarilindra
Copy link

amarilindra commented Aug 19, 2017

Those who are struggling with errors, I wrote another possible way of installing remix OS on the Virtual box here. This method works on Mac, Windows and Linux
Hope it helps.

@Hritik14
Copy link

Thanks! Nice work.

@trubachoff
Copy link

In last step, after reboot, RemixOS starting in root shell. :-(

@3runo5ouza
Copy link

When using 64bit, make sure you change "--class android-x86" to "--class android-x86-64" in addition to the already mentioned "androidboot.hardware=remix_x86_64", in step 4.

And if you get a terminal after reboot, type "start" and hit Enter. Voilà!

@diogosimao
Copy link

Nice share! Great work. Thanks. Couldn't do without @icersg comment.

@AbandonedCart
Copy link

AbandonedCart commented Mar 23, 2018

@amarilindra Your guide does not include anything about installing.
Resident mode saves data to the system, but does not install the OS.
You should also pay special attention to the details of guest mode:
Guest Mode - No data will be saved after each session
This is not an installation and doesn't even have persistent data.

@MoonDragon-MD
Copy link

MoonDragon-MD commented Mar 12, 2019

hi, beautiful guide! ;)
Now that it was installed I had a problem: the mouse was not tracked and I could only move it if I clicked and selected! Fortunately I changed the settings on the mouse in virtualbox and I solved it.

I wanted to ask you if I can change the screen resolution, I don't know how it's done, thanks !!

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