Firebird News

Thursday, May 05, 2011

Android x86 and grub2 - peace at last


I found a way to add android to the grub2 menu from debian on my eeepc laptop and on my debian/ubuntu workstations
Thanks for this page http://www.ceh-photo.de/blog/?p=357 I have downloaded the latest nightly for
eeepc http://android-x86.moonman.dk/
downloaded and created a usb disk
http://android-x86.moonman.dk/files/eeepc/eeepc-20110505_usb.img
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)
added android to the grub2 menu (debian sid, 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
or if you run a genric pc
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
Here is the full custom grub

And don't forget to update the grub2 config
update-grub



ps: now i should create a fake sdcard so applications can be installed

3 comments:

Raju said...

Is the Grub entries in case of iso files same replacing the *.img with *.iso or is it different.

Chester said...

GREAT! Thank you for sorting out the grub2 config, just changed the dirs/partitions as you suggested and it worked fine on my HP Mini, alongside Ubuntu and Windows 7. Thanks!

mirul said...

take note that androidboot_hardware should be changed to androidboot.hardware