How to dual-boot Linux with android in 2 minutes

How to dual-boot Linux with android in 2 minutes

You may want to dual boot your existing Linux with android reason might be low spec device which can’t run Virtual machines. Here’s an easy and fast way to do it.

https://www.fosshub.com/Android-x86-old.html

How to dual-boot Linux with android in 2 minutes

Select 32 bit or 64 bit of your choice and choose RPM file. For this we’re using android-x86-9.0-r2.x86_64.rpm which is android 9. And download it.

  • v7.1 for android 7
  • v8.1 for android 8
  • v9.1 for android 9

Install alien package convertor

First download alien which is a package converter around ~18 MB

sudo apt install alien
 Need to get 5,002 kB of archives. After this operation, 17.2 MB of additional disk space will be used. Do you want to continue? [Y/n] y . . . Setting up librpmsign8 (4.14.2.1+dfsg1-1build2) … Setting up dh-strip-nondeterminism (1.7.0-1) … Setting up debugedit (4.14.2.1+dfsg1-1build2) … Setting up automake (1:1.16.1-4ubuntu6) … update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up rpm2cpio (4.14.2.1+dfsg1-1build2) … Setting up po-debconf (1.0.21) … Setting up rpm (4.14.2.1+dfsg1-1build2) … Setting up libltdl-dev:amd64 (2.4.6-14) … Setting up debhelper (12.10ubuntu1) … Setting up dh-autoreconf (19) … Setting up alien (8.95) … Processing triggers for install-info (6.7.0.dfsg.2-5) … Processing triggers for libc-bin (2.31-0ubuntu9.2) … Processing triggers for man-db (2.9.1-1) …  

Type sudo apt update to refresh

sudo apt update
 Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease Hit:2 http://archive.ubuntu.com/ubuntu hirsute InRelease                            Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease                        Get:4 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB] Get:5 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease [101 kB] Hit:6 http://archive.ubuntu.com/ubuntu hirsute-security InRelease Get:7 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages [266 kB] Get:8 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 DEP-11 Metadata [9,144 B] Fetched 485 kB in 3s (140 kB/s)              Reading package lists... Done Building dependency tree... Done Reading state information... Done 10 packages can be upgraded. Run 'apt list --upgradable' to see them.   

Change directory

Change your directory with cd to your file location. If it is download it might be in downloads folder type cd Downloads.

Install .rpm file with alien

alien -ci android-x86-9.0-r2.x86_64.rpm

replace ‘android-x86-9.0-r2.x86_64.rpm’ with name of your file

  sudo alien -ci android-x86-9.0-r2.x86_64.rpm dpkg --no-force-overwrite -i android-x86_9.0-1_amd64.deb Selecting previously unselected package android-x86. (Reading database … 222874 files and directories currently installed.) Preparing to unpack android-x86_9.0-1_amd64.deb … Unpacking android-x86 (9.0-1) … Setting up android-x86 (9.0-1) … Sourcing file /etc/default/grub' Sourcing file/etc/default/grub.d/init-select.cfg' Generating grub configuration file … Found linux image: /boot/vmlinuz-5.8.0-50-generic Found initrd image: /boot/initrd.img-5.8.0-50-generic Found linux image: /boot/vmlinuz-5.8.0-48-generic Found initrd image: /boot/initrd.img-5.8.0-48-generic Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings done  

If you’re not on Debian use

sudo alien -ci android-x86-9.0-r2.x86_64.rpm

replace ‘android-x86-9.0-r2.x86_64.rpm’ with your file name

It will take some time around 3-4 min in old devices.

Done! after this go to your boot menu and select android.

And your android will start booting.

How to dual-boot Linux with android in 2 minutes
choose android
How to dual-boot Linux with android in 2 minutes
booting
How to dual-boot Linux with android in 2 minutes

continue with usual android set up

Screenshots

Here are some more pictures

How to dual-boot Linux with android in 2 minutes
How to dual-boot Linux with android in 2 minutes
How to dual-boot Linux with android in 2 minutes

Related Posts

2 thoughts on “How to dual-boot Linux with android in 2 minutes

Leave a Reply

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