Android boot entry in Ubuntu /boot/grub/menu.lst

1,548 views
Skip to first unread message

Andreas S

unread,
Feb 7, 2010, 2:55:59 PM2/7/10
to Android-x86
Hi,

I've installed android-x86 on sda3 beside an existing ubuntu 9.04.
I've tried to add the android into the /boot/grub/menu.lst without
much success.

All I'm getting is a file not found

Does anyone have a hint on a proper add.

title Android
kernel /android-2010-01-15/kernel root=/dev/sda3
androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/
android-2010-01-15
initrd /android-2010-01-15/initrd.img.img

TECHaas

unread,
Feb 7, 2010, 11:45:59 PM2/7/10
to Android-x86

Are you sure "initrd.img.img" is correct file name ? double ".img" 8-)

Also try,

"root=/dev/ram0"

instead of "root=/dev/sda3". Root partition is ramdisk in android-x86
build.
initrd.img is loaded before boot. And check "set root=hd(2,0)" is
added to
your grub entry, that will tell grub to look at 3rd partition for
kernel and initrd image.

---
TECHaas

gabriele vidali

unread,
Feb 8, 2010, 9:08:36 AM2/8/10
to andro...@googlegroups.com
i have it in dual boot with jolicloud as follow:

title Android-x86 1.6
uuid 534421db-1863-47b6-a1d9-cd8517bff2fb
kernel /android-1.6/kernel quiet root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-1.6
initrd /android-1.6/initrd.img


Gabriele Vidali
http://topup.altervista.org


2010/2/8 TECHaas <tec...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.


Andreas S

unread,
Feb 9, 2010, 1:46:30 AM2/9/10
to Android-x86
Thanks TECHHaas

Played a bit further around and got it running.

for all who are interested:

the entry in /boot/grub/menu.lst
title Android
uuid 4d324fc8-3af7-49cf-a48d-796a7c939307
kernel /android-2010-01-15/kernel root=/dev/ram0


androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/
android-2010-01-15
initrd /android-2010-01-15/initrd.img

the correct uuid I got by running blkid.

Markus

unread,
Apr 5, 2010, 9:22:50 AM4/5/10
to Android-x86
Thanks Andreas for this hint. Had to do the same procedure on my Acer
Aspire One AOA110 / ZG5 that has triple boot now: Ubuntu 9.10, WinXP
and Android x86 ;)

My grub menu.lst looks like this:

title Android-1.6-r2
uuid b962a569-b6cf-46cf-9cc3-d=d45bfdfe41
root (hd0,2)
kernel /android-1.6-r2/kernel quiet root=/dev/ram0
androidboot_hardware=eeepc acpi_sleep=s3_bios,s3_mode SDCARD=premount
SRC=/android-1.6-r2
initrd /android-1.6-r2/initrd.img


(I had to add the set root line as it didn't work before. I found out
the correct uuid for the partition that hosts Android in Ubuntu: just
started a console and typed blkid then Ubuntu lists the uuids of all
the partitions in the machine...)

Now I ony have to be able to calibrate the touchscreen and I am happy
enough....


On 9 Feb., 08:46, Andreas S <temposuen...@googlemail.com> wrote:
> Thanks TECHHaas
>
> Played a bit further around and got it running.
>
> for all who are interested:
>
> the entry in /boot/grub/menu.lst
> title           Android
> uuid            4d324fc8-3af7-49cf-a48d-796a7c939307
> kernel          /android-2010-01-15/kernel root=/dev/ram0
> androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/
> android-2010-01-15
> initrd          /android-2010-01-15/initrd.img
>
> the correct uuid I got by running blkid.
>
> On Feb 8, 4:45 am, TECHaas <tech...@gmail.com> wrote:
>
> > Are you sure "initrd.img.img" is correct file name ? double ".img" 8-)
>
> > Also try,
>
> > "root=/dev/ram0"
>
> > instead of "root=/dev/sda3". Root partition is ramdisk in android-x86
> > build.
> > initrd.img is loaded before boot. And check "set root=hd(2,0)" is
> > added to

> > yourgrubentry, that will tellgrubto look at 3rd partition for

Reply all
Reply to author
Forward
0 new messages