Install Android 8.1 x86 next to Ubuntu

After you have installed Ubuntu and Android x86, you need to boot into Ubuntu and modify the GRUB script “40_custom”:

Read the article – to install Android 8.1 on your computer

sudo gedit /etc/grub.d/40_custom
menuentry "Android" {
set root='(hd0,0)'
linux /android-8.1-r1/kernel quiet root=/dev/ram0 androidboot.selinux=permissive acpi_sleep=s3_bios,s3_mode SRC=/android-8.1-r1
initrd /android-8.1-r1/initrd.img

Note! In the second line you need to substitute your values – hd0,0. You can find out on which section Android is worth with the command “fdisk -l”. If /dev/sda3 – then you need to write hd0,3, if/dev/sdb2 – hd1,2

Save the file. And we are updating the GRUB2 bootloader:

sudo update-grub

This instruction is relevant for Android versions above 7. If you need to install a different version, then change the value of android-8.1-r1 to your version on the way (you can find out by mounting the partition in the system and looking at the name of the folder that contains Android)

Share this:

Leave a Comment

Your email address will not be published. Required fields are marked *