I am trying to set up a dualboot with Android and Ubuntu. The boot loader is GRUB. GRUB is installed in the android partition.
When GRUB starts, the Android menu works, and Android correctly runs.
When I select the Ubuntu boot, it gives the error
Error 15: File not found.
If I change the
root (hd0,2) to another value that points to the swap, then it raises the error of "unable to mount the partition". So I have reasons to belive that the
root parameter is right.
My doubt is the following:
initrd.img-* files are on the Ubuntu partition, on the path
/boot/. Since Grub is in the Android partition, should I put those files in the Android partition too?
So, I do not understand how actually GRUB should reach the image file, since, as far as I know, at this point, there are no mounted partitions.
This is my
default=0 timeout=60 splashimage=/grub/android-x86.xpm.gz title Android-x86 4.4-r2 kernel /android-4.4-r2/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 SRC=/android-4.4-r2 initrd /android-4.4-r2/initrd.img title Ubuntu 14.04 Hd0,2 root (hd0,2) kernel /boot/vmlinuz-3.16.0-30-generic root=UUID=69c67260-525d-4f53-b924-e6489dc22942 ro quiet splash initrd /boot/initrd.img-3.16.0-30-generic