• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android-x86 and Grub

Maybe this is the wrong forum for this, but I'll give it a go...

I'm running Android-x86 7.1 in VirtualBox on my laptop with Linux as the host. Android boots up with a Grub menu that I'd like to customize permanently. However there is no /boot directory or /etc/default/grub file to edit in the installation. Is editing Grub in this environment actually possible?

Thnx
 
Grub is part of GNU which is a collection of software and packages that runs on the Linux kernel. This combination is what we refer to as a Linux OS.

The Grub menu you see is from your host OS. However, you can add android to the host grub menu.

Android does not use Grub. Android simply just runs on a modified Linux kernel with its own bootloader.
 
Yes, I understand what you've said about Grub. Here's the question stated another way. When you install Android as a VirtualBox guest the installer asks if you want to install Grub or skip it. I chose install. Now when I boot Android in VirtualBox I get a Grub menu with several options. The question is if Grub is not part of Android, where is it? Where can I edit grub.cfg so that I can modify the options, change the timeout setting, etc.?
 
Yes, I understand what you've said about Grub. Here's the question stated another way. When you install Android as a VirtualBox guest the installer asks if you want to install Grub or skip it. I chose install. Now when I boot Android in VirtualBox I get a Grub menu with several options. The question is if Grub is not part of Android, where is it? Where can I edit grub.cfg so that I can modify the options, change the timeout setting, etc.?
That's a good question. It's one I have too, seeing as a duel-boot Android and Windows.
 
Gawd I hate Grub, Lilo was so much easier to modify. What options are getting when Grub comes up? I know there a Grub Customizer for Linux, so I would start there. Hopefully that allows you to modify the correct Grub. Normally Grub is in your Master Boot Record partition, but I have no idea where VirtualBox puts it.

I hope that helps!
 
Last edited:
Back
Top Bottom