1. Create a second ext4 partition for Remix OS using Gparted
You should delete the linux-swap and the extended partition first. After reducing the size of your Ubuntu partition sda1 you can create your Remix OS partition sda2.
Finally you'll create a new extended partition containing the linux-swap.
http://postimage.org/index.php?lang=german
2. Install Remix OS into the new partition
Use the steps described in "Installing Remix OS to Hard Drive or Virtual Machine without additional tools", but there are a few differences:
- Skip step 3, because you have a formatted ext4 partition already (in my example: sda2)
- Step 4: Select sda2 for your installation (formatting of sda2 not needed)
- Step 5: Do not install a boot loader GRUB; do not install EFI GRUB2 (you'll customize the Ubuntu boot loader)
3. After a reboot Ubuntu will start. Please install grub-customizer
sudo apt-add-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
4. Start grub-customizer and add a new entry (Ctrl + N) named e.g. "Remix OS", Type "other"
Boot sequence:
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,2)'
linux /android-2016-07-12/kernel quiet root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SRC=/android-2016-07-12
initrd /android-2016-07-12/initrd.img
(hd0,2) has to be changed if you use a partition other than sda2 on hd0 for Remix OS.
Example: If you are using sdb2 on hd1 the "set root" command is
set root='(hd1,12)'.
You can obtain the Android path (e.g. /android-2016-08-11/) by mounting the Remix OS partition with the Linus file manager.
Example of boot menu entry for Remix OS
http://postimage.org/index.php?lang=german
If you are working with the Remix OX 32bit version you have to use ". . . androidboot.hardware=remix_x86 . . ." in the last line (beginning with linux).
Example: With version 3.0.103 (2016080805) 32bit the line has to be:
linux /android-2016-08-08/kernel quiet root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive SRC=/android-2016-08-08
initrd /android-2016-08-08/initrd.img
5. Make the Remix OS entry the second boot menu entry
http://postimage.org/index.php?lang=german
6. Modify the General Settings
- Default: first entry
- Show menu
- Start default after 5 seconds
http://postimage.org/index.php?lang=german
7. Save the new grub configuration
8. Check the new swap UUID and correct it in /etc/fstab
sudo blkid | grep swap
9. Reboot and select the second entry "Remix OS"
Thanks for the guide it's really useful for me since I'm already using ubuntu and had a separate partition ready for another OS.
I am having some trouble with the grub configuration.
Error: Disk <<hd0,3>> not found
alloc magic is broken at 0x6ff89b20: 6fded940
Aborted. Press any key to exit
Click to expand...
Click to collapse
Here's my disk layout:
sda1 EFI system partition
sda2 EXT4 /
sda3 EXT4 /remix
sda4 EXT4 /home
sda5 swap
Click to expand...
Click to collapse
And here's my grub entry:
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,3)'
linux /android-2016-07-12/kernel quiet root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SRC=/android-2016-07-12
initrd /android-2016-07-12/initrd.img
Click to expand...
Click to collapse
I have changed only "insmod part_msdos" to "insmod part_gpt" since I'm using GPT/UEFI (I'm running it on an old mac mini, only boots UEFI)
Any idea what might be wrong? I already triple-checked the grub entry and stilll can't figure out what's going on. Tried also editing hd0,# on boot to no avail either.
EDIT: Would it be easier to have it as single OS? I already backed up and cleaned the HDD.
Willdrick said:
Thanks for the guide it's really useful for me since I'm already using ubuntu and had a separate partition ready for another OS.
I am having some trouble with the grub configuration.
Here's my disk layout:
And here's my grub entry:
I have changed only "insmod part_msdos" to "insmod part_gpt" since I'm using GPT/UEFI (I'm running it on an old mac mini, only boots UEFI)
Any idea what might be wrong? I already triple-checked the grub entry and stilll can't figure out what's going on. Tried also editing hd0,# on boot to no avail either.
EDIT: Would it be easier to have it as single OS? I already backed up and cleaned the HDD.
Click to expand...
Click to collapse
Are you sure it's (hd0,3)?? You may have to recheck that. Enter the command mode by pressing 'c' at Grub menu and execute 'ls' command to list partitions. I guess it must be (hd0,gpt3) or something like that. You can double check which is RemixOs partition by using 'cd' into each partition executing 'ls' to list files.
Thanks Thisu, but no dice, I even tried installing RemixOS as the main OS without any luck. I have used crappy linux installers (like way back knoppix) but damn Remix takes 1st prize. Right now I'm trying to reinstall GRUB2efi from an ubuntu live USB. No matter what kind of installation I do for Remix I get the typical "blank" GRUB screen (the one that states "....minimal bash command...." and a GRUB> prompt)
I don't know what's the matter with this installer, it's never consistent. sometimes it asks for a data file creation, sometimes doesn't, sometimes just reboots after the install, sometimes prompts what to do... Resident mode tends to work but from this particular drive and computer, is barely useable due to poor speeds. And trying to repurpose an old mac with this is far worse, the PoS won't even try booting a normal MBR scheme. it HAS to be EFI
/rant
Willdrick said:
Thanks Thisu, but no dice, I even tried installing RemixOS as the main OS without any luck. I have used crappy linux installers (like way back knoppix) but damn Remix takes 1st prize. Right now I'm trying to reinstall GRUB2efi from an ubuntu live USB. No matter what kind of installation I do for Remix I get the typical "blank" GRUB screen (the one that states "....minimal bash command...." and a GRUB> prompt)
I don't know what's the matter with this installer, it's never consistent. sometimes it asks for a data file creation, sometimes doesn't, sometimes just reboots after the install, sometimes prompts what to do... Resident mode tends to work but from this particular drive and computer, is barely useable due to poor speeds. And trying to repurpose an old mac with this is far worse, the PoS won't even try booting a normal MBR scheme. it HAS to be EFI
/rant
Click to expand...
Click to collapse
I am no GRUB specialist, and I do not use EFI. I found a working GRUB configuration for Remix OS by copying and modifying the primary GRUB configuration for Linux Mint 17.3. The tool I used is the "grub-customizer". I installed Remix OS in partition sda2, and "set root='(hd0,2)' " worked for me.
I created and formatted sda2 using GParted; so during the Remix OS installation sda2 did not have to be formatted. Because I wanted to use the Ubuntu GRUB installation, the Remix OS installer has been told not to install GRUB und EFI GRUB2.
In case if someone still looking for help, use the example below. I was successfully able to boot with configuration below.
All you have to do is to mention right gpt partition where you have installed remix os mine was gpt6.
Then by running the "blkid" command in ubuntu terminal find the UUID of the partition
Replace my UUID which is in this example with yours.
Instead of root=/dev/ram0 use root=UUID of the partition.
Hope it will help some
insmod part_gpt
insmod ext2
set root='hd1,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6 c604b8c5-95f4-4b14-b0cb-88bd45d871e9
else
search --no-floppy --fs-uuid --set=root c604b8c5-95f4-4b14-b0cb-88bd45d871e9
fi
linux /android-2016-07-26/kernel quiet root=UUID=f1f10df6-d879-42c6-af68-e7b021b5e7bd androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SRC=/android-2016-07-26
initrd /android-2016-07-26/initrd.img
noob question,
do i need to install ubuntu 1st? before i install remix?
mrkLu said:
noob question,
do i need to install ubuntu 1st? before i install remix?
Click to expand...
Click to collapse
Installing Ubuntu first is at least easier, because Ubuntu will not detect Remix OS as "installed system" and will not offer installing Ubuntu as second system, providing dual boot.
ok, i have finally install everything,followed what have been put here.
but i get an error once i choose remix os on GRUB
error '/android-2016-07-12/kernel' not found
error 'you need to loadthe kernel first'
@remixtester
Firstly, thanks for the guide. I've got it mostly figured out but I have a couple of questions for you.
The partition I have installed Remix to is sdb12, so how would I edit the grub? Is it:
Code:
set root='(hd0,12)'
or
Code:
set root='(hd1,12)'
or something completely different?
Answer:
sdb = hd1 so the code is:
Code:
set root='(hd1,12)'
Also, the "/android-2016-07-12 has to be changed if you will use a Remix OS version other than 2.0.403 (2016-07-12)" section might need a little more clarification. I understand that I need to change this because I'm using Version 3.0.104, but there's no indication in this guide on how to find the correct information for builds that differ from the one you mention using. So how do I find out what to change that line to (as per the build I downloaded)?
Answer:
Mount the partition you installed Remix to in the Linux file manager and view the folder there.
Even though I've answered my questions I'm leaving this here for anyone else having the same questions in future. It might be a good idea to add this info to your guide.
remixtester said:
1. Create a second ext4 partition for Remix OS using Gparted
You should delete the linux-swap and the extended partition first. After reducing the size of your Ubuntu partition sda1 you can create your Remix OS partition sda2.
Finally you'll create a new extended partition containing the linux-swap.
http://postimage.org/index.php?lang=german
2. Install Remix OS into the new partition
Use the steps described in "Installing Remix OS to Hard Drive or Virtual Machine without additional tools", but there are a few differences:
- Skip step 3, because you have a formatted ext4 partition already (in my example: sda2)
- Step 4: Select sda2 for your installation (formatting of sda2 not needed)
- Step 5: Do not install a boot loader GRUB; do not install EFI GRUB2 (you'll customize the Ubuntu boot loader)
3. After a reboot Ubuntu will start. Please install grub-customizer
sudo apt-add-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
4. Start grub-customizer and add a new entry (Ctrl + N) named e.g. "Remix OS", Type "other"
Boot sequence:
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,2)'
linux /android-2016-07-12/kernel quiet root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SRC=/android-2016-07-12
initrd /android-2016-07-12/initrd.img
(hd0,2) has to be changed if you use a partition other than sda2 for Remix OS
/android-2016-07-12 has to be changed if you will use a Remix OS version other than 2.0.403 (2016-07-12)
Example of boot menu entry for Remix OS
http://postimage.org/index.php?lang=german
If you are working with the Remix OX 32bit version you have to use ". . . androidboot.hardware=remix_x86 . . ." in the last line (beginning with linux).
Example: With version 3.0.103 (2016080805) 32bit the line has to be:
linux /android-2016-08-08/kernel quiet root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive SRC=/android-2016-08-08
initrd=/android-2016-08-08/initrd.img
5. Make the Remix OS entry the second boot menu entry
http://postimage.org/index.php?lang=german
6. Modify the General Settings
- Default: first entry
- Show menu
- Start default after 5 seconds
http://postimage.org/index.php?lang=german
7. Save the new grub configuration
8. Check the new swap UUID and correct it in /etc/fstab
sudo blkid | grep swap
9. Reboot and select the second entry "Remix OS"
Click to expand...
Click to collapse
I did the same you instructed but when i select Remix OS in boot menu. Attached screen comes it pc restarts .
Please help.
sachinwadhwa46 said:
I did the same you instructed but when i select Remix OS in boot menu. Attached screen comes it pc restarts .
Please help.
Click to expand...
Click to collapse
Which version of Remix OS did you use? 32bit or 64bit?
What's the name of the partition where you installed Remix OS?
Did Remix OS start after you clicked OK here:
http://postimage.org/index.php?lang=german
Which boot sequence did you enter into the boot menu entry for Remix OS (Ubuntu "Grub Customizer")?
remixtester said:
Which version of Remix OS did you use? 32bit or 64bit?
What's the name of the partition where you installed Remix OS?
Did Remix OS start after you clicked OK here:
http://postimage.org/index.php?lang=german
Which boot sequence did you enter into the boot menu entry for Remix OS (Ubuntu "Grub Customizer")?
Click to expand...
Click to collapse
Actually i did a mistake. Infact its a mistake in your code for boot sequence in your guide
In eg of 32 bit , you have written initrd=/andoid..... And correct is initrd /android......
Anyways hardly matters, your guide was awesome. Thank you !!!
helpp
I followed every step on the guide, but when I try to boot Remix Os, it just says "disk /dev/ram0 doesn't exist", I don't know what to do, I've tried changing /dev/ram0 for other disks and dir,, but just says the same "disk -the disk I decide to put- doesn't exist
also, sorry for my bad english, I mostly speak spanish
Ok everything went ok boots up and runs fine. my question be if you were going to root this you would want it to be after you make the bootable usb which will then change it to system.img and make the change on the grub customizer then install it to the partition with "Tab" INSTALL=1.
error when trying to start Remix OS
After the procedure, when I tried to start the operational system an error appeared "error archive '/android-2016-07-12/kernel' not found. alloc magic is broken at 0xb798ee00: b76cfc20." . How can I find the correct name of the kernel I had installed to make some changes in the grub costumization.
Thanks.
Label RemixOS partition as RemixOS using gparted and use the script in below link either through custom grub entry or grub-customizer.
http://forum.xda-developers.com/remix/remix-os/remix-os-installation-alongside-ubuntu-t3463014
For anyone having problems running RemixOS alongside GRUB
For anyone having problems running RemixOS alongside GRUB, you can try the guide updated for the latest version I just posted.
Use EasyBCD or If ur using for simple puposes install The OS on virtualbox or VmWare
An Easy way to dual boot with ubuntu
You can try this method. It doesn't require any hassle of partition or bootable usb. https://youtu.be/g3XTDpTw6A8
Downloading and installing remix on a usb stick posed no problem, but installing it on a ssd in my desktop is a real pain in the neck.
I made a bootable usb stick using unetbootin with the latest iso and started the installation. So far so good, but installing the data took a long time. The os started with this peautiful picture but was very unstable adressing the usb stick all the time. On restart a nice entry appeared in my windows bootloader. When I clicked the computer restarted searching for the remix os, getting stuck at an ext 2 partition
Now I had created a 37 GB primary partition after my ubuntu partitions, because there the remix should install.
Gparted showed that 50 MB was written to this partition but not a sign of remix.
Is this all due to ubuntu that I have next to windows 10?
Or am I doing something terribly wrong?
I have 2 linux+w10+Remix on 3 hdd. Remix beside Linux Mint 18.
I create ext4 partition 40Gb (Gparted; need remember "sda1", or other name partition). Boot from usb, Resident mode + INSTALL=1 option. Choose 40Gb partition, "Do not format", grub - NO, EFI GRUB - Skip, Read\Write - Yes. Reboot on Mint. Install Grub Customizer and add entry for Remix. Its look like this:
(all coments i wrote for you started $$$$ - not for Grub Customizer =))
Code:
set root='(hd2,2)' $$$$ Disk account starts with 0, so if you have sda4 - (hd0,4)
search --no-floppy --fs-uuid --set=root 033e8fc7-4cfe-9454-bc59-df7329ca862d $$$$ this unique number partition has change after format from remix installer. Can take it from fstab.
linux /android-2016-06-30/kernel root=UUID=033e8fc7-4cfe-9454-bc59-df7329ca862d androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet DATA=/android-2016-06-30/data $$$$ change number too and check path to kernel
initrd /android-2016-06-30/initrd.img $$$$ check path
Done.
Hi Slawdos,
Thanks for the instruction. Remix is installed now, but the ubuntu bootloader can't find the uuid= (the number I found with Gparted).*
I have found the uuid and path of the remix partition in Gparted and implemented it in the codes of the remix entry in grub optimizer.
But obviously I have made one ore more errors in these codelines.
These are the codes I used:
set root='(hd7,1)'
search --no-floppy --fs-uuid --set=root 6947dc76-11cf-4fa3-a6d2-18637c404be2
linux /android-2016-06-30/kernel
root=UUID=6947dc76-11cf-4fa3-a6d2-18637c404be2
androidboot.hardware=remix_x86_64
androidboot.selinux=permissive quiet DATA=/dev/sdh2/android-2016-06-30/data
initrd /dev/sdh2/android-2016-06-30/initrd.img
Could you please give me some more instructions
eekie64 said:
set root='(hd7,1)'
----
androidboot.selinux=permissive quiet DATA=/dev/sdh2/android-2016-06-30/data
initrd /dev/sdh2/android-2016-06-30/initrd.img ^^^^^^^
^^^^^^
Could you please give me some more instructions
Click to expand...
Click to collapse
Hi. Looks like right, but partitions account start from 1 (grub2 feature). Try use first line
Code:
set root='(hd7,2)'
if you have some errors on loading, will be nice to look at it.
ps: i use x64 remixos. and you?
Hi Slawdos,
Your suggestion didn do the trick. Alas!
When I click remix in the grub2 bootloader, it tells me:
error : disk ' UUID=6947dc76-11cf-4fa3-a6d2-18637c404be2 ' has not been found
push any key to continue
Then while shutting down the whole operation is echoed
Somewhere close to the end it says:
kernel panic not syncing VFS: unable to mount filesystem on unknown block (0,0)
Still puzzled
Check UUID.
Other method for installing Remix OS alongside Ubuntu
Perhaps you should try the method I have described in "How to install Remix OS alongside Ubuntu (dual boot)".
Basic information about tools and updating your dual boot installation you'll find in "Remix OS on Hard Drive or Virtual Machine - Installation and (OTA) Update".
Hi all.
I decide to post this guide after checking and rechecking internet to find a procedure to install Remix OS (and Android x86 versions higher than 4.4.4) on a eeePC in a reproducible manner. In fact I tried many times and, as I had mixed results, I did not understand why sometimes I was successfull and sometimes not.
Today I was able to provide rationale for this behaviour and now I report my findings hoping to be useful to someone.
Requirements
Asus netbook eeePC
I tested successfully this technique on:
eeePC 1000HE with N280 CPU, 2GB of RAM and a 160 GB HDD
eeePC 1005HA with N280 CPU, 2GB of RAM and a 160 GB HDD
RemixOS 32 bit version 3.x (or Android-x86 version 5.x and higher)
https://www.fosshub.com/Remix-OS.html/Remix_OS_for_PC_Android_M_32bit_B2016101201.zip
Gparted Live
http://downloads.sourceforge.net/gparted/gparted-live-0.26.1-5-i686.iso
A program to create bootable USB stick. For example:
unetbootin
Two USB sticks
Procedure
Create a bootable USB stick containing RemixOS 3.x 32bit following one of many tutorials you can find all over the internet. The easiest way is to use RemixOS for PC Installation Tool program which is given together to RemixOS when you download it. A good alternative (which I prefer) is unetbootin.
Create a second bootable USB stick containing gparted-live. The procedure is very similiar to that used to create the RemixOS booting stick USB and here you can also use unetbootin.
Put the booting stick USB containing gparted-live into an USB port of your eeePC and boot from it following one on the tutorials explaining how to boot an eeePC from an USB stick.
Launch Gparted program and, first of all, delete every partition on the eeePC HDD.
Then, from the GParted main menu, select "Device" > "Create Partition Table".
Here you find 2 possibilities: msods and gpt.
Select "msdos", NOT "gpt"!!! This is the first and more important trick to apply!
After this, use gparted-live to format the entire eeePC HDD using ext4 filesystem.
After having applied this filesystem to all the eeePC HDD, exit from gparted-live and shutdown your PC.
Remove gparted-live USB stick from your eeePC and insert the RemixOS USB stick.
Switch on the eeePC again, booting from the USB stick containing RemixOS, this time.
When the program asks how to install RemixOS, choose "Resident mode" and immedtately after press the "Tab" key on the keyboard to modify the default parameters of the installation.
The original ones are:
/kernel initrd=/initrd.img root=/dev/ram0 androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 SRC= DATA= CREATE_DATA_IMG=1
You need to substitute them with:
/kernel initrd=/initrd.img root=/dev/ram0 androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 SRC= DATA= INSTALL=1
When the program asks a partition to install RemixOS (or Android-x86), select sda1
Please, Do NOT use the item "Create/Modify partitions" of the menu!
This is the second important trick because otherwise the Partition Table changes to GPT from msdos and nothing works anymore!
On the following screen select "Do not format" (the partition) as already formatted by gparted!
Install boot loader GRUB and skip the installation of EFI GRUB2.
Accept to install /system directory as read-write.
As the last step of the installation, select to reboot the eeePC.
While the system is rebooting, remove the USB stick so the device reboots from the internal HDD.
When the first screen appears, it is a black & white one, and reports that the GRUB used is the version 1.1.5.
Below a menu with 4 choices appears. They are:
Remix OS 2016-10-12
Remix OS 2016-10-12 (Debug Mode)
Remix OS 2016-10-12 (Debug nomodeset)
Remix OS 2016-10-12 (Debug Video=LVDS-1:d)
the first being the default one which starts automatically in few seconds.
Wait quite a little bit (about 10-20 minutes) while a white "RemixOS" logo blinks on a black background.
After this long waiting, Remix OS appears and you can configure it.
In particular as reported by maxiclo here:
http://forum.xda-developers.com/remix/remix-os/bug-currupted-usb-drive-waring-severity-t3472170
there is a a severe issue with RemixOS clean installation on native EXT4 partition using INSTALL=1 (ie the installation on a HDD without other OS).
In fact RemixOS identifies a "Corrupted USB drive" and Android propose to fix it formatting the USB.
If you execute the suggested fix, everything will be damaged and you cannot reboot your eeePC in RemixOS anymore!
So, go to Settings -> RemixOS -> Experimental features
Deselect the option "Enable disk partition mount"
The system ask for a reboot: execute it.
This is the third important trick to use.
That'all folks!
'Ello.
I successfully installed LineageOS 14.1 to its own 32 Gb ext4 partition through manual install via cgdisk 1.0.0. After it completed instead of rebooting I ran it, updated it, even installed XCOM: Enemy Within (woot!). Once I was done configuring my android OS, I decided to test reboot. Ubuntu auto loads, and there is no way to select which OS to boot to When I boot to Ubuntu and open 'Computer' desktop icon, I see the LineageOS partition as *HDD Model*: Android-x86 and all files within a folder as follows:
cm-x86-14.1-r4
data
system
initrd.img
kernel
ramdisk.img
How do I add LineageOS 14.1 to GRUB to ensure that on boot up I can select between the two OS's?
Partitions are:
NTFS 100 Mb (Windows 10)
EFT4 8 MB GRUB
EFT4 50 Gb Ubuntu /root
LinuxSwap 8 Gb
EFT4 42 Gb /Home
EFT4 32 Gb LineageOS
Also, during the manual install I was asked whether I wanted to install GRUB boot loader, but I opted against it, knowing I had already done so for Ubuntu. For future installs, If I had opted do so, would that have amended the GRUB list for me, or just caused more boot issues?
Thank you!