If you know a bit about Android, you might have noticed that the OS is built atop the Linux kernel. The most important component in Android is the kernel, which is also a central part of every Unix-like operating systems. The similarities in the overall structure allow running Linux on Android devices, but some changes are necessary. We previously talked about the Ubuntu project by XDA Forum Moderator and Recognized Developer zacthespack, but now it’s time to showcase a different approach.
If you want to try out Ubuntu on your device, you should consider trying out chroot. It changes the apparent root directory for the current running process and its children. Thus, a program that is run in chroot can’t access files outside designated directory tree. XDA Forum Member userdelroot used chroot when he created a script to install Ubuntu directly on your device.
The script creates a proper image and downloads the necessary files to your device. All you need to do is to copy it to the location mentioned by developer and run it as root. The development is still at a very early stage, so there might be some inconveniences here and there. So far, the method has been tested on the Nexus 7 (2013), but it is likely to work on most other devices as well.
To find out more about the project, head over to the development thread.