Skip to content

Instantly share code, notes, and snippets.

@huahouye
Forked from cs8425/README.md
Created November 25, 2017 09:21
Show Gist options
  • Save huahouye/8a90593bd56261e019ff8785c9043cea to your computer and use it in GitHub Desktop.
Save huahouye/8a90593bd56261e019ff8785c9043cea to your computer and use it in GitHub Desktop.

Revisions

  1. @cs8425 cs8425 revised this gist Oct 3, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,11 @@ Boot linux liveCD to partition and format the disk.

    `$ sudo gparted`


    partition table type: msdos
    one partition for example here.

    (one partition for example here.)

    finished partition:
    ![finish partition](https://4.bp.blogspot.com/-l85rqxhLnxk/V-1e7WXT7LI/AAAAAAAAA58/d1pvW2vV95cau0sHLOo--CQPlq5HPyKUwCLcB/s1600/007.png)

  2. @cs8425 cs8425 revised this gist Oct 3, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -57,11 +57,11 @@ Wait until finished.
    Reboot to linux liveCD again.
    This time we are going to install bootloader.

    Where `/media/xubuntu/RemixOS` is the path you mount the partition that just created in step 2.
    `# grub-install --root-directory=/media/xubuntu/RemixOS /dev/sda`

    And `/dev/sda` is the devices you wants to install.
    (Where `/media/xubuntu/RemixOS` is the path you mount the partition that just created in step 2.)

    `# grub-install --root-directory=/media/xubuntu/RemixOS /dev/sda`
    (And `/dev/sda` is the devices you wants to install.)



  3. @cs8425 cs8425 revised this gist Oct 3, 2016. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -56,11 +56,15 @@ Wait until finished.
    ## step 4:
    Reboot to linux liveCD again.
    This time we are going to install bootloader.

    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.

    `# 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.
  4. @cs8425 cs8425 revised this gist Oct 3, 2016. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ I use 32GB here.

    ## step 2:
    Boot linux liveCD to partition and format the disk.

    `$ sudo gparted`

    partition table type: msdos
    @@ -55,9 +56,13 @@ Wait until finished.
    ## step 4:
    Reboot to linux liveCD again.
    This time we are going to install bootloader.
    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.

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

    ```
  5. @cs8425 cs8425 revised this gist Sep 29, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -47,6 +47,7 @@ Select "Yes" let rootfs could be mount as rw!!


    Wait until finished.

    ![copy](https://2.bp.blogspot.com/-zBb7BpRzp9w/V-1W8UMqfRI/AAAAAAAAA5s/EFJA6QIz6SA3I8QfCeDzA9hGxv5IjdYMgCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_57_06.png)
    ![reboot](https://2.bp.blogspot.com/--6N36wmmbnI/V-1W8XArEwI/AAAAAAAAA50/dXDC8qO3ez8WcIDrt4_P6VTOioNyCWcngCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_59_08.png)

  6. @cs8425 cs8425 revised this gist Sep 29, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ rootfs could be writable!!!

    #### Needs:
    * any linux liveCD iso file (Xubuntu here)
    * Remix OS iso file (32bit here)
    * Remix OS iso file ("Remix_OS_for_PC_Android_M_32bit_B2016092201.iso" here)
    * VirtualBox

    ## step 1:
    @@ -46,7 +46,7 @@ Select "Yes" let rootfs could be mount as rw!!
    ![rw rootfs](https://1.bp.blogspot.com/-bswsb2dnAIM/V-1W6XPmfTI/AAAAAAAAA5s/LaqBEkSq1PAnFT7yFnPlHZeYPSgDBcknQCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_55_40.png)


    Wait until finished
    Wait until finished.
    ![copy](https://2.bp.blogspot.com/-zBb7BpRzp9w/V-1W8UMqfRI/AAAAAAAAA5s/EFJA6QIz6SA3I8QfCeDzA9hGxv5IjdYMgCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_57_06.png)
    ![reboot](https://2.bp.blogspot.com/--6N36wmmbnI/V-1W8XArEwI/AAAAAAAAA50/dXDC8qO3ez8WcIDrt4_P6VTOioNyCWcngCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_59_08.png)

  7. @cs8425 cs8425 created this gist Sep 29, 2016.
    88 changes: 88 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,88 @@
    # 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 (32bit here)
    * VirtualBox

    ## step 1:
    Create a virtual machine with a hard disk (at least 4GB).
    I use 32GB here.
    ![VM info](https://3.bp.blogspot.com/-B7Mfvp2yNgw/V-1kFAGODiI/AAAAAAAAA6k/oGtSGA99Wi04tg3QcMQXFP2aBsey9q1xwCLcB/s1600/info.png)

    ## 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](https://4.bp.blogspot.com/-l85rqxhLnxk/V-1e7WXT7LI/AAAAAAAAA58/d1pvW2vV95cau0sHLOo--CQPlq5HPyKUwCLcB/s1600/007.png)


    ## step 3:
    Boot Remix OS iso with boot flag:
    `INSTALL=1`
    ![boot flag](https://3.bp.blogspot.com/-xVx6qmTMNMc/V-1fJJjsJII/AAAAAAAAA6A/RgpMuAbXXKMD3EWZ-HA6mqW-cZBCahRLQCLcB/s1600/INSTALL.png)


    select partition that we had format.
    ![select partition](https://1.bp.blogspot.com/-nuJhxwJMG4M/V-1Wyh4XkCI/AAAAAAAAA5s/wKKsQ1H8wBsnSsqcToTnmJqArKSK1tMXQCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_53_31.png)


    (format function seems buggy here, so, skip it)
    ![skip format](https://2.bp.blogspot.com/-hOw_vktYLFY/V-1W3MMsJ5I/AAAAAAAAA5s/AvjDsHBdaqQO7ubZfL57VBjetbLC0psXwCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_54_18.png)


    Install bootloader latter.
    ![skip bootloader](https://3.bp.blogspot.com/-tDClZVcpaCo/V-1W4_hX23I/AAAAAAAAA5s/nE5cOKUtoMAHOow739vjhwRZmveakFy0QCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_55_27.png)
    ![skip bootloader](https://1.bp.blogspot.com/-XyffVCLEcwI/V-1W45iRsdI/AAAAAAAAA5s/6aJvarT2mHIPMvOaujI1-Z092t7TZCzrwCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_55_35.png)


    Select "Yes" let rootfs could be mount as rw!!
    ![rw rootfs](https://1.bp.blogspot.com/-bswsb2dnAIM/V-1W6XPmfTI/AAAAAAAAA5s/LaqBEkSq1PAnFT7yFnPlHZeYPSgDBcknQCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_55_40.png)


    Wait until finished
    ![copy](https://2.bp.blogspot.com/-zBb7BpRzp9w/V-1W8UMqfRI/AAAAAAAAA5s/EFJA6QIz6SA3I8QfCeDzA9hGxv5IjdYMgCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_57_06.png)
    ![reboot](https://2.bp.blogspot.com/--6N36wmmbnI/V-1W8XArEwI/AAAAAAAAA50/dXDC8qO3ez8WcIDrt4_P6VTOioNyCWcngCEw/s1600/VirtualBox_RemixOS_30_09_2016_01_59_08.png)


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

    ```
    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](https://2.bp.blogspot.com/-9dFNsP9ANoI/V-1frH6_4jI/AAAAAAAAA6c/IqcwLhzj4SkC1AwzFroLBnZcsDKsVNHYwCEw/s1600/VirtualBox_RemixOS_30_09_2016_02_26_46.png)


    and reboot to RemixOS.
    ![reboot to RemixOS](https://4.bp.blogspot.com/-7xp7sp4y8hw/V-1f550XFMI/AAAAAAAAA6U/oE_JHbFmD8425DvcXsjJ33nRbZeffO8fgCEw/s1600/VirtualBox_RemixOS_30_09_2016_02_27_45.png)

    First time will take a little long at here.
    ![first boot](https://2.bp.blogspot.com/-3MM9IRd6Xmw/V-1f4K4qbjI/AAAAAAAAA6Q/84Ey2kJkSEI7WDtpUmXR3yBg62ejlo60wCEw/s1600/VirtualBox_RemixOS_30_09_2016_02_28_04.png)

    Finally, and enjoy :)
    ![Finally](https://4.bp.blogspot.com/-OS1CpOymDy8/V-1f9aJzfhI/AAAAAAAAA6Y/iSE46n_BWCIWNSCFKeBJCCt57KbS_D8gQCEw/s1600/VirtualBox_RemixOS_30_09_2016_02_37_36.png)




    10 changes: 10 additions & 0 deletions grub.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    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
    }