Installing both Android-x86 and Remix OS: EFS partition entry configuration problem

434 views
Skip to first unread message

Mario Ray Mahardhika

unread,
Sep 22, 2016, 8:42:11 AM9/22/16
to Android-x86
I Install both Android-x86 6.0-r1 and Remix OS 3.0.204 (should have the same Android-x86 6.0-r1 base, right?), both are working fine (with the exception bluetoothd keeps terminating on Android-x86, but working fine in Remix OS, well that's another issue). Android-x86 is in /dev/sda9 while Remix OS is in /dev/sda10.

However, I realize that only the last one installed are visible in my rEFInd boot menu. I notice that both writes the same directory path in EFS, so I try to edit <efs>/boot/grub/grub.cfg to the following:

set timeout=5


menuentry "Android-x86 6.0-r1" {
search --set=root --file /android-6.0-r1/kernel
linux /android-6.0-r1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86_64
initrd /android-6.0-r1/initrd.img
}
menuentry "Android-x86 6.0-r1 (DEBUG mode)" {
search --set=root --file /android-6.0-r1/kernel
linux /android-6.0-r1/kernel root=/dev/ram0 androidboot.hardware=android_x86_64  DEBUG=2
initrd /android-6.0-r1/initrd.img
}
menuentry "Remix OS 3.0.204" {
  search --set=root --file /RemixOS/kernel
  linux /RemixOS/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86_64
  initrd /RemixOS/initrd.img
}
menuentry "Remix OS 3.0.204 (DEBUG mode)" {
  search --set=root --file /RemixOS/kernel
  linux /RemixOS/kernel root=/dev/ram0 androidboot.hardware=android_x86_64  DEBUG=2
  initrd /RemixOS/initrd.img
}

In this case, Android-x86 was the last one installed and I just add Remix OS entry to above file. Android-x86 still boots fine, but Remix OS doesn't. It manages to boot up to the Remix OS logo, but stuck there. Going to the 2nd virtual console, logcat doesn't even work (logcat read failure), dmesg says nothing useful. So I'm looking for advice on how to proceed. Thanks in advance.

Chih-Wei Huang

unread,
Sep 22, 2016, 8:45:01 AM9/22/16
to Android-x86
androidboot.hardware is wrong.

androidboot.hardware=remix_x86_64
(64-bit)

or

androidboot.hardware=remix_x86
(32-bit)

> menuentry "Remix OS 3.0.204 (DEBUG mode)" {
> search --set=root --file /RemixOS/kernel
> linux /RemixOS/kernel root=/dev/ram0 androidboot.hardware=android_x86_64
> DEBUG=2
> initrd /RemixOS/initrd.img
> }

ditto

> In this case, Android-x86 was the last one installed and I just add Remix OS
> entry to above file. Android-x86 still boots fine, but Remix OS doesn't. It
> manages to boot up to the Remix OS logo, but stuck there. Going to the 2nd
> virtual console, logcat doesn't even work (logcat read failure), dmesg says
> nothing useful. So I'm looking for advice on how to proceed. Thanks in
> advance.



--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Mario Ray Mahardhika

unread,
Sep 22, 2016, 9:13:59 AM9/22/16
to andro...@googlegroups.com
Thanks, that fixes it. There are leftovers in EFI/boot but I'll figure out
what can be removed later. There are even multiple .efi files in its own
directory, all seems to boot the same entry.


On September 22, 2016 7:45:02 PM Chih-Wei Huang <cwh...@android-x86.org>
wrote:
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Android-x86" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/android-x86/YO06kl8wNnU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/d/optout.


fabio de benedetto

unread,
Sep 22, 2016, 10:32:06 AM9/22/16
to Android-x86
sorry i have a different problem whit android x86 with whom I can discuss it ?
Reply all
Reply to author
Forward
0 new messages