efibootmgr -d /dev/sdX -p Y -c -L "Android-x86" -l /kernel -u "root=/dev/sda2 rw initrd=/initrd.img androidboot.hardware=android_x86"
X and Y are changed to reflect the disk and partition where the kernel is located. Change the root= parameter to reflect your Linux root (disk UUIDs can also be used).Thanks JJ
Yes, the kernel was hidden.. Then I made a separate partition of fat and used the same procedure... This time, the UEFI entry is added into the bios boot options and the Android entry boots automatically, it's prioritized to be the first one in the list...
Although this is not the expected result.. I thought the entry would appear in Windows boot menu (bcdedit) or some sort of touch enabled menu giving me options to select.
I could make the entry even before very easily using EasyUEFI software for Windows by loading grubia32.efi into efi partition and leaving boot time out as 0 to make it look like it directly boots into android when selected from bios...
And also I'd like to mention that the bios on my device is not touch enabled(like in the Dell Venue series)
So how does the actual touch boot menu look? (Screen shot would be awesome)
Did you check the path you specified? Your boot entry is probably hidden because the kernel can't be found, that's what I experienced before at least.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, 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.
That's a good point, one should also set the preferred boot order with efibootmgr -o. Here's a nice explanation with example: http://askubuntu.com/questions/325048/cleaning-up-and-changing-the-efi-boot-order-permanently-using-eifbootmgr
To bad your device does not have a touch enabled bios. The idea behind this method is to use a touch enabled BIOS to select the boot entry like my HP Omni 10 does. You can still use this method but sadly you will still need an external device to select the boot entry. I'm not sure what would the button to show the boot menu on your device, maybe F2, F10 or escape?
If somebody has a touch enabled software solution I would be very interested.
The button is F7 and I thought so, that's y I mentioned that my bios isn't touch enabled.. Also I'm trying to add it to the Windows boot menu somehow (as metro boot menu is touch enabled) , and everywhere I searched, people say it can not be done..
That's exactly what I do and I've mentioned it in my previous post as well.. But the problem is you have to boot into Windows completely then go to advance reboot menu (can be even done by holding shift key and pressing the reboot option)
This is a long process.. Instead I'm looking for a way to add this UEFI entry that we created into the bcd...
I've tried a bunch of bcdedit options and have found zero luck..
I just wanna put an option there which would boot from my UEFI entry (as if I went into the bios and selected it)
Does someone know how to add such (even a method to add a removable device will help) entry to bcd...?
--
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/N12U5-S0-Ow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.
I'm not entirely sure if I understand what u r trying to say.. But I think I've tried adding an entry using bcdedit in command prompt... The boot menu shows up but I'm unable to boot into android
Here is what I tried,
I created a bcd entry with file location as grub32.efi, this shows up in the boot menu when I select it, Windows boot Manger says the operating system is not found and asks me to boot into a different os
The new windows metro boot menu is touch enabled and I've managed adding bcd entry like I've said in the previous message.. But doesn't boot up..
I just need to know what file location should I give for the entry that it boots to android... Coz when the file location is set to grub32 it gives error..
I've read somewhere that I need to get 512 bytes of bootsector... But I don't know how to do that on Android!
Yes.. I do agree to this.. You can boot from the advance recovery menu... But the point was to have it booting from the boot menu which appears at the startup.. And AFAIK too Windows doesn't allow booting to a non Windows os..
But I was considering the probability of making that advance recovery option appear in the boot menu... But it doesn't seem to be possible!
Reference: https://technet.microsoft.com/en-us/library/cc709667(v=ws.10).aspx