2016年9月29日 星期四

How to REAL install Remix OS on VirtualBox

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

gist here


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.


step 2:

Boot linux liveCD to partition and format the disk.
$ sudo gparted
partition table type: msdos
one partition for example here.
like this:

step 3:

Boot Remix OS iso with boot flag:
INSTALL=1



select partition that we had format.


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


Install bootloader latter.



Select “Yes” let rootfs could be mount as rw!!


Wait until finished



step 4:

Reboot to linux liveCD again.
This time we are going to install bootloader.
# grub-install --root-directory=/media/xubuntu/RemixOS /dev/sda




add grub.cfg to /media/xubuntu/RemixOS/boot/grub/
androidboot.hardware=remix_x86 to androidboot.hardware=remix_x86_64 if used 64bit iso.
  1. set default=0
  2. set timeout=10
  3. set gfxmode=800x600
  4. terminal_output gfxterm
  5. menuentry 'Remix OS' --class android-x86 {
  6. search --file --no-floppy --set=root /RemixOS/kernel
  7. linux /RemixOS/kernel root=/dev/sda1 androidboot.hardware=remix_x86 androidboot.selinux=permissive SERIAL=random DATA=/data
  8. initrd /RemixOS/initrd.img
  9. }





and reboot to RemixOS.


First time will take a little long at here.

Finally,
And enjoy :)



沒有留言:

張貼留言