Tuesday, January 9, 2018

Boot Linux ISO From Android Phone

http://www.linuxandubuntu.com/home/boot-linux-iso-from-android-phone

Boot Linux ISO From Android Device
​The Thing about us Linux users is that we are never committed to one particular distro. We are always looking for something new, something more exciting. It may be a new Desktop Environment, a newer kernel or a completely different Linux experience.
flirt with linux distributions meme
​Which is why we always keep testing newer versions of popular Linux distributions or completely new distributions as soon they are launched.

But the Problem arrives when we have to keep making a bootable USB for every distro that we want to test. So is there a solution to this problem? The answer is YES!

And the answer is ‘Don’t make a bootable USB’. Yes, you read it right.

There is an Android application Called DriveDroid(requires Root) which can mount iso images as USB drives which can be used to boot to your distribution of choice. And then you can live test or install that Linux distro.

You will Need:
  1. A rooted Android Device (How to root Android?)
  2. An iso image of a Linux distribution
  3. A USB cable.
  4. DriveDroid installed (click here to Install)

​After you have installed DriveDroid, Launch the app and it will show a popup just click on skip.
install drivedroid in android from play store
​Next, It will ask for superuser(root) permissions. Click on grant.
drivedroid needs superuser permissions
​You will see the following screen.
make android iso bootable drivedroid
​Now open up your file manager and copy the Linux iso to the ‘ Downloads/images ’ of your internal storage. If the images folder doesn’t exist create it.
browse to linux distro iso in drivedroid
​Now come back to DriveDroid, you should see your iso listed like this. Click on it.
boot ubuntu 17.10 from android
​This will open a popup like this. You are given Basically 2 ports for mounting 2 different ISOs at a time. For now, just click on the Writable USB icon from Mass Storage 1.
drivedroid permissions
​It will try to mount the iso file you will see a process in the notification bar.
host iso to android device
​Once that process is completed(10 seconds max) the notification bar will show success like this.
make device bootable from android
​Now your bootable media is ready. You can now restart your computer and press your boot device selection key. In the bootable devices section, you will see a new device.
boot linux from android device
​The device named UEFI: Linux File-Stor Gadget 0318 is the bootable we just created.

Just select it and your iso image should boot like this.
ubuntu 17.10 boot menu
BAM! We did it.
boot linux from android phone
​So we successfully booted a Linux distro from an android phone. I have been using DriveDroid for the past 10 months and it’s been great.

Conclusion

​You can use an Android device to create a bootable media by mounting the Linux iso. You will need android device with root, USB cable, Drivedroid app and a Linux iso. The virtual USB created via android works exactly like a native USB. It is much faster and convenient than creating a native installation media.

Click here to Download DriveDroid from play store.

If you get stuck anywhere or have any problem feel free to post your comments below.

No comments:

Post a Comment