You are browsing the archive for Grub.

Android x86 and grub2 – peace at last

June 11, 2011 in Android X86, Programming

From Marius’s blog:

I found a way to add android to the grub2 menu from debian on my EEEPC laptop and on my Debian/Ubuntu workstations.
Thanks to this page I was able to download the latest nightly for EEEPC  from this link and created a usb disk.

dd if=eeepc-20110505_usb.img of=/dev/sdb
or if you use generic
dd if=eeepc-20110505_usb.img of=/dev/sdb

Booted installed (without the grub installation option) and added Android to the Grub2 menu (Debian Sid, but it should work on Natty too) and all worked without issues after that.

For me the system dir was /android-2011-02-xx and the androidboot_hardware=eeepc. If you run a genric PC then androidboot_hardware=generic_x86.
Please verify your dirs and mount your android partition to check the dir name before running update-grub:

>mount /dev/sdb4 /mnt
>ls /mnt/
android-2011-02-20  lost+found

And don’t forget to update the grub2 config:

update-grub

You can find here the full custom grub.