Skip to content

Instantly share code, notes, and snippets.

@huahouye
Forked from cs8425/README.md
Created November 25, 2017 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huahouye/8a90593bd56261e019ff8785c9043cea to your computer and use it in GitHub Desktop.
Save huahouye/8a90593bd56261e019ff8785c9043cea 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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment