Skip to content

Instantly share code, notes, and snippets.

@cs8425
Last active September 11, 2024 14:52
Show Gist options
  • Save cs8425/7315d86a273e57a988245345df68a4f9 to your computer and use it in GitHub Desktop.
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
}
@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