How To Install And Setup Ubuntu Linux On The Motorola Xoom Tablet


25.04.2011

How To Install And Setup Ubuntu Linux On The Motorola Xoom Tablet

If you have Motorola Xoom tablet, you may know that you can install an operating system, more exactly Ubuntu Linux. You must to read the following article, you must carefully follow the instructions and then you will be able to install the latest Ubuntu operation system on your Motorola Xoom device.

Before to start the update operation, you must to make a backup of your all data, to don’t lose any personal data from your Motorola Xoom device. Also, you must to verify if you have a minimum free space of 2.5 GB on your tablet. Even the Ubuntu file have only 629 MB, the file will expend to 2.5 GB. Don’t forget, the upgrade instructions for Motorola Xoom are only for developers and for beta testers.

Here are the steps for How To Install Ubuntu Linux On The Motorola Xoom Tablet:

  1. First you must to root your Motorola Xoom device and then you must to download from here, the Ubuntu driver for Motorola Xoom.

  2. After you have downloaded the file, you must to extract the files to AndroidSDK/tools/.

  3. Now you must to connect and sync your computer with your Motorola device, using your USB cable, and then you must to copy the files from installbusybox.sh to the root folder from your SD Card.

  4. Now, you must to ensure if your device is in USB Debugging Mode. Simply go to Settings > Applications > Development.

  5. Also, you can copy the files, using ADB Push app. You must to do the following things:

    • if you using Mac, you must to open the terminal commander window, and by typing /adb push busybox / sdcard, of course after you have changed the folder to AndroidSDK/tools;

    • now, in the terminal commander you must to type: /adb push installbusybox.sh and also: / sdcard;

    • to get access to your device, you must to type: / adb shell;

    • to receive the super user privileges, you must to type “su” and if you will receive a notification like: “Permission Denied”, you may know that your Motorola Xoom is not rooted, and you must to root it;

    • after you have a super user, you must to type “cd/sdcard” to change the folder to the SD Card device;

    • and finally you must to type sh installbusybox.sh

  6. After the process is finished, if shows anything you must to type the “cp” command, but if doesn’t shows anything you must to enter the “/adb reboot” command and then you must to enter the “cp” command.

  7. When the Busybox is successfully installed, you must to put the files in the Ubuntu folder, but without the two files that are Busybox and installbusybox.sh.

  8. Now, in the terminal commander, you must to type the following command: /adb push fsrw /sdcard/Ubuntu.

  9. After this, you must to type: /adb push mountonly /sdcard/Ubuntu and wait until the transfer is finished.

  10. Now, you must to type the following commands: /adb push ubuntu.sh /sdcard/Ubuntu and then you must to type: /adb push ubuntu.img /sdcard/Ubuntu. You must wait until the process will be completed. Don’t interrupt the process, even tough it will take longer than 45 minutes, because you will lose all your data.

  11. After the process is completely, you must to type the following command: /adb push unionfs /sdcard/Ubuntu.

  12. Now, you must to enter to shell and for that you must to enter the following command: /adb shell.

  13. After this you must to enter the following commands:

    • Su

    • Cd/sdcard/Ubuntu

    • Sh./Ubuntu.sh

  14. You will receive some errors and gets to “To enter the Debian Linux Console type in ‘boot ubuntu’”, and after this you will see the successfully installed Ubuntu on your Motorola Xoom.

  15. And finally, to get access to the installed Ubuntu, you must to type bootubuntu, and now you will see a line like this: “root@localhost:/”. Now, you must to type su bootubuntu command and then you must to type again the bootubuntu command.

Here are the steps for How To Setup Ubuntu Linux On The Motorola Xoom Tablets:

You may know that Ubuntu, like other Android OS version, has updates, and to get the updates, you must simply type apt-get update. To output X windows (the GUI Linux OS’s) to VNC, you must to type apt-get install tightvncserver. After you have installed tightvncserver, you must to type apt-get install lxde and then you must to type export USER=root.

To set your Motorola Xoom display resolution you must to type vncserver – geometry 1280×800(the official Motorola Xoom display resolution). If you want to change it, you can type this command anytime. You also must set a VNC password, because you will be asked.

For a better speed you will must to enter some commands:

  • cat > /root/.vnc/xstartup

  • #!/bin/sh

  • xrdb $HOME/.Xresources

  • inxsetroot -solid grey

  • icewm &

  • lxsession

Now you must to simultaneously press Ctrl+D and then type the following commands:

  • cat > front

  • export USER=root

  • cd /

  • rm -r -f tmp

  • mkdir tmp

  • cd /

  • vncserver -geometry 1280×800

Now you must to simultaneously press Ctrl+D and then you must to enter the following commands:

  • cat front /root/.profile > temp

  • cp temp /root/.bashrc

You can exit from the Ubuntu terminal, by typing exit in the terminal. Your Motorola Xoom device will restart and then you must to enter on the Android Market Place to download the VNC app and also you must to download the Terminal Emulator Pro app ($4) or Android Terminal Emulator(for free). Now, you will be able to use ADB shell again, but you can also enter the following commands in the one of the Terminal Emulators:

  • cd /sdcard/ubuntu

  • su (if the Superuser ask you for permission, press yes)

  • bootubuntu

Now, you must to go to your home screen and you must to open your VNC client. Here, you will be able to set a nickname and also a password. The address you must to leave empty and set the port to 5901. For the best results, you must to set the color format to 256 colors (1 bpp) and finally you must to press the Connect button to start Ubuntu on your Motorola Xoom device.

Of course that it is dangerous to run two operating systems on your Motorola Xoom, but if you correctly configured and also correctly enter the commands, will be alright and you will be able to use either Android operating system and Ubuntu on your Motorola Xoom tablet. Don’t forget to enter and to configure the Internet Settings to access the 3G network and to be able to navigate on web. You will be able to switch Ubuntu on or off by simply pressing the home button or from the task manager.

For any questions and suggestions don’t hesitate and share them to us in the comments area below.

Tags: must, type, motorola, xoom, ubuntu, enter, following, device, after, also, terminal, push, command, commands, able, sdcardubuntu, install, linux, files, tablet, dont, installbusyboxsh, folder, shell, android, process, bootubuntu, press, simply, operating