Hi george133
After you've installed both Ubuntu and Android-x86, you need to boot into Ubuntu and modify the "40_custom" GRUB script:
Code:
gksu gedit /etc/grub.d/40_custom
And at the bottom of the file, add this:
Code:
menuentry "Android-x86" {
set root='(hd0,0)'
linux /android-4.0-RC1/kernel quiet root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-4.0-RC1 SDCARD=/data/sdcard.img
initrd /android-4.0-RC1/initrd.img}
Please note the difference in kernels change to the one you are on.
If you haven't installed Android-x86 4.0 RC1 but some other version, replace the lines containing "android-4.0-RC1" with your version.
For Android-x86 versions older than 4.0, use "androidboot_hardware" instead of "androidboot.hardware"
There is more here you need to see
http://www.webupd8.org/2012/03/how-t...nd-ubuntu.html
He also has a video at the top part of that link above^^^^^^^
There are some changes you'll need to make to the above menu entry (code above):
If you didn't create an sdcard image, remove the "SDCARD=/data/sdcard.img" part from the 3rd line (make sure you don't remove anything else!)
The above menu entry uses "eeepc" for androidboot.hardware, but you can replace it with your hardware, depending on the ISO you've downloaded (use "asus_laptop" for the ASUS Laptop ISO, etc.) or use "generic_x86".
If you haven't installed Android-x86 4.0 RC1 but some other version, replace the lines containing "android-4.0-RC1" with your version.
For Android-x86 versions older than 4.0, use
"androidboot_hardware" instead of
"androidboot.hardware"
But the most important thing you need to change in the menuentry is the partition on which you've installed Android-x86, "(hd0,0)" in my example. If you don't know on which partition you've installed it, run the following command in a terminal:
so I've replaced "(hd0,0)" with "(hd0,6)" - hd0 means the first hard disk ("sda") and "6" is the partition and comes from "sda6".
Hard disk naming starts with 0 so basically, sda is "hd0", sdb is "hd1" and so on. Counting partitions doesn't start with 0, so if you've installed Android x86 on let's say "sda5", you'd use "(hd0,5).
Once you make these changes, save the file.
Now let's make the file executable and update GRUB 2:
Code:
sudo chmod +x /etc/grub.d/40_custom
sudo update-grub
That is about it, Hope this helps.
Kind regards
Bookmarks