Dual boot android linux

How to Dual Boot Ubuntu on Your Android Device

Canonical has been developing Ubuntu for Devices for a while. Unfortunately, it hasn’t exactly been easy to play around with it. However, if you’ve wanted to try it (and own a recent Nexus device), it’s never been easier to dual boot.

Recently, Canonical announced an update to its Ubuntu Dual Boot app —which allows you to run Ubuntu and Android side by side—that makes it easier to update Ubuntu for Devices (the name for the phone and tablet version of Ubuntu) directly on your device itself. This means that not only can you try out Ubuntu without ruining your phone, but you can see all the sweet new changes as they happen without much fuss. Sounds like a win-win for tinkerers.

Disclaimers: Ubuntu for Devices is still in a Developer Preview right now. As such, it is probably not feature complete enough to be your daily driver. Hence why we’re dual-booting. Naturally, you should expect some bumps in the road. Additionally, Ubuntu uses HTML5 for its apps, but many «apps» on the platform are actually just the regular mobile sites. Even some of the included ones (like Twitter). At the time of this writing, some «apps» prompt you to install an Android app when you first run them. Don’t do this. Ubuntu is not built on Android and Android apps won’t run on it. Attempting to install them—or even opening a link to the app—can break things.

What You’ll Need

To get started installing Ubuntu Dual Boot (and subsequently Ubuntu itself), here’s what you’ll need:

  • A Nexus 4, Nexus 7 (2013), or Nexus 10: These three are currently the only officially and actively supported Android devices . If you don’t have one of these phones or tablets, you can check out the list of unofficially supported devices in the user-ported section here . Our guide, however, will focus on these three. They must also be running Android 4.4.2, so if you haven’t updated yet, now’s a good time.
  • Root access: Before you install Ubuntu, you’ll need to make sure your phone or tablet already has root . Fortunately, the three Nexuses we’re looking at can all use the fastboot oem unlock method . If you’re not rooted first, take care of that and come back.
  • An Ubuntu installation (Not a Live CD): In order to install Ubuntu Dual Boot, you’ll need desktop Ubuntu installed on your computer. Unfortunately, the Live CD version won’t allow you to install the necessary components. However, if you have around 25GB of free on a spare drive, you can install it relatively painlessly .
  • ADB: You’re going to need ADB installed to set up dual boot (and to root your device, if you haven’t yet). Fortunately, in most modern Linux distros, you can do so with a simple command. In Ubuntu, open up a terminal and enter the following: sudo apt-get install android-tools-adb
  • Around 2.7GB of free space on your device: Ubuntu for Devices is going to need about 2.7GB of space for the OS and related files. If you’re low on space, clear some out before you begin.
Читайте также:  Установка аппаратных часов linux

Once you’ve got everything set up, you’re ready for the main event.

How to Install Ubuntu Dual Boot

Canonical has created a (relatively) simple script to install the requisite dual boot app on your Android device. Once you’ve covered all your bases in the last section, fire up Ubuntu and perform the following:

Enable USB Debugging

First, you’ll need to enable USB debugging on your phone or tablet, if it’s not already. Here’s how to do so:

  1. On your tablet, open the Settings app and select «About tablet.»
  2. Tap «Build number» seven times to enable developer mode.
  3. Go back to the main Settings menu.
  4. Tap the newly-accessible Developer options.
  5. Enable USB debugging.

Once that’s complete, connect your tablet to your computer with a micro USB cable.

Install the Ubuntu Dual Boot App

Next, download the Ubuntu Dual Boot installer script from here to your home directory. Then follow these instructions:

  1. Open a Terminal window (Ctrl+Alt+T).
  2. Run the following command to make the script executable: chmod +x dualboot.sh
  3. Execute the script by running this command: ./dualboot.sh

Note: In my tests with a Nexus 7 on a clean Ubuntu install, the script got caught in a loop attempting to execute a curl command (as seen below). If this happens to you, close the Terminal window, open a new one, and run the following command to install the package: sudo apt-get install curl This will install the necessary component. Once that’s done, run the dual boot installation script again.

Download and Install Ubuntu for Devices

The script will run automatically and reset your device several times. Once it’s done, your phone or tablet should boot back up to the Android home screen. From there, open the new Ubuntu Dual Boot app from your app drawer. Then:

  1. Tap «Choose channel to install.»
  2. Select a download channel (Canonical recommends «utopic»).
  3. Tap «Grant» when asked for superuser access.
  4. Once Ubuntu is finished downloading and installing, tap Reboot to Ubuntu.
Читайте также:  Linux grep подсчет количества строк

Congratulations! You now have Ubuntu running on your phone or tablet. Now you just need to access it.

How to Switch Between Android and Ubuntu

Unlike many other dual boot solutions, you don’t choose which operating system you want at startup. Instead, once you’ve booted into Android, open the Ubuntu Dual Boot app and tap «Reboot to Ubuntu». Your device will then restart into Ubuntu. No matter which OS you’re in, however, a hard reset will always boot to Android. This is usually performed by holding down the power button for about ten seconds. There’s also a Dual Boot app in Ubuntu for switching back to Android if you prefer.

You can also update Ubuntu from either the Ubuntu Dual Boot app in Android, or from the system settings in Ubuntu. However, both methods require you to be in Android to actually install the update, so it’s probably best to just boot into Android first when it’s time to update anyway.

Источник

How to Install Android in Dual Boot with Linux

You can go either way. In my experience, installing Windows first is a good idea, since its bootloader and installer straight up ignore other OSs. Most Linux distributions’ installers and bootloaders are built with dual booting an existing Windows installation in mind.

How install Android OS on Linux?

  1. Step 1 — Download the Android x86 rpm file. Download either of 32bit or 64bit .rpm package of android-x86 from https://www.android-x86.org/download.html. .
  2. Step 2 — Installing alien package. Install alien package for your linux distro. .
  3. Step 3 — Installing the Android x86 rpm file.

Can I put Linux on my Android phone?

If you want to install Linux on an Android device, you have several options. . You can turn your Android device into a full-blown Linux/Apache/MySQL/PHP server and run web-based applications on it, install and use your favorite Linux tools, and even run a graphical desktop environment.

How do I install Prime OS on Linux?

  1. Donwload . ISO file on the official site in here!, and select the computer architecture used, whether 32-bit or 64-bit.
  2. Make some folder on root directory. .
  3. Open the . .
  4. Please make data files in the primeos folder. .
  5. Create Menu on Grub.

Can a phone have two operating systems?

For example, with a dual boot you could have multiple operating systems such as Ubuntu & Android or Ubuntu & Windows Phone 8 etc. . Dual booting is the excellent way of making the smart phone device or phablet or tablet useful to multiple users. Dual-boot OS smartphone device is the ultimate convergence device.

Can I dual boot Android?

On Android, the story is different. . But dual boot is still very much possible on Android, even if not quite as mainstream. Luckily, XDA developers and others too have come up with different ways to get your device to run two Android ROMs – or even different operating systems – at once.

Читайте также:  File wildcards in linux

How can I run Android apps on Linux?

  1. Confirm your distro supports snap packages.
  2. Install or update the snapd service.
  3. Install Anbox.
  4. Launch Anbox from your Linux desktop.
  5. Download APK files and run them.
  6. Wait as the APK file installs.
  7. Click to run Android apps on your Linux desktop.

What apps run on Linux?

  • Web Browsers (Now With Netflix, Too) Most Linux distributions include Mozilla Firefox as the default web browser. .
  • Open-Source Desktop Applications. .
  • Standard Utilities. .
  • Minecraft, Dropbox, Spotify, and More. .
  • Steam on Linux. .
  • Wine for Running Windows Apps. .
  • Virtual Machines.

How install APK on Linux?

  1. Open up your file manager.
  2. Navigate to the ~/Downloads directory.
  3. Right-click the downloaded APK zip file.
  4. Select Extract here.
  5. Open Chrome.
  6. Click the Overflow Menu.
  7. Click More Tools > Extensions.
  8. Click Load unpacked extension…

Can I install a different OS on Android?

One of the best things about the openness of the Android platform is that if you’re unhappy with the stock OS, you can install one of many modified versions of Android (called ROMs) on your device. . Each version of the OS has a specific goal in mind, and as such differs quite a bit from the others.

Is Linux safe for online banking?

The answer to both of those questions is yes. As a Linux PC user, Linux has many security mechanisms in place. . Getting a virus on Linux has a very low chance of even happening compared to operating systems like Windows. On the server side, many banks and other organizations use Linux for running their systems.

Do hackers use Kali Linux?

Yes, many hackers use Kali Linux but it is not only OS used by Hackers. . Kali Linux is used by hackers because it is a free OS and has over 600 tools for penetration testing and security analytics. Kali follows an open-source model and all the code is available on Git and allowed for tweaking.

How to Set Up SSH Keys on Ubuntu 18.04

Keys

How do I create a new SSH key in Ubuntu?Where do I put SSH keys in Ubuntu?How do I create a new SSH key in Linux?How do I create a SSH key pair?How do.

How to Install Visual Studio Code on Debian 9

Code

How do I download Vscode Debian?How do I install Visual Studio code in terminal?How do I install Visual Studio on Linux?How do I run a Visual Studio c.

VLC Media Player for Linux

Media

Is VLC available for Linux?How do I run VLC on Linux?How do I download VLC player to Kali Linux?How do I install VLC Media Player?Why is VLC so good?I.

Latest news, practical advice, detailed reviews and guides. We have everything about the Linux operating system

Источник

Оцените статью
Adblock
detector