Instantly share code, notes, and snippets.

@cs8425 /README.md
Last active Sep 14, 2018

Embed
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

This comment has been minimized.

Show comment
Hide comment
@pi99y

pi99y Oct 26, 2016

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

pi99y commented Oct 26, 2016

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

@lcdss

This comment has been minimized.

Show comment
Hide comment
@lcdss

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

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

This comment has been minimized.

Show comment
Hide comment
@icersg

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

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

This comment has been minimized.

Show comment
Hide comment
@Spetnik

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

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

This comment has been minimized.

Show comment
Hide comment
@sakera87

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

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

This comment has been minimized.

Show comment
Hide comment
@amarilindra

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

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

This comment has been minimized.

Show comment
Hide comment
@Hritik14

Hritik14 Aug 22, 2017

Thanks! Nice work.

Hritik14 commented Aug 22, 2017

Thanks! Nice work.

@trubachoff

This comment has been minimized.

Show comment
Hide comment
@trubachoff

trubachoff Sep 4, 2017

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

trubachoff commented Sep 4, 2017

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

@3runo5ouza

This comment has been minimized.

Show comment
Hide comment
@3runo5ouza

3runo5ouza Sep 21, 2017

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à!

3runo5ouza commented Sep 21, 2017

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

This comment has been minimized.

Show comment
Hide comment
@diogosimao

diogosimao Dec 15, 2017

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

diogosimao commented Dec 15, 2017

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

@AbandonedCart

This comment has been minimized.

Show comment
Hide comment
@AbandonedCart

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

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.

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