FORUMS
Remove All Ads from XDA

[GUIDE] How to get Ubuntu on the TouchPad

955 posts
Thanks Meter: 212
 
By jul644, Senior Member on 26th August 2011, 04:39 AM
Post Reply Email Thread
First off this is completely from Rennat over at PreCentral

-------------------------------------------------------------------------------------
TUTORIAL: How to get the UbuntuChroot up and running for your HP TouchPad

Intro:
UbuntuChroot is the raw Ubuntu terminal without the familiar GNOME graphical interface that all have come to think of Ubuntu. With this installed, you will be able to install ubuntu programs and launch them with in the terminal card.
To do this, the basic rundown will be making a new WebOS Doctor that has a separete partition of memory for Ubuntu to run with in. Then we will install it on your TouchPad and mount that partition so it will be able to be used after a reboot of the device. Lastly, we will install Xecutah, XServer, and UbuntuChroot from Preware and boot up Ubuntu on your TouchPad.
Both credit and Props go to WebOS Internals for making this possible and putting in all the hard work they have to make it as easy as it is.

Warnings:
I nor WebOS Internals take no responsibility over what may happen to your device. If you follow these instructions it 'should' work perfectly. If you do endup messing something up you 'should' be able to just doctor the device using the stock WebOS Doctor from HP.


Step Zero:
- I have provided 2 different ways to set your device up to install the UbuntuChroot onto your device; use the meta-doctor and create your own doctor (Step 1-A) or do as Step 1-B says and contact my army of monkeys for an easier alternitive that won't take forever.

##You my want to backup app data and the like using Save/Restore in Preware as you will lose all your data buy installing a WebOS Doctor. Please do so! And done hesitate to ask questions.



Step 1-A: Creating a WebOS Doctor
- We will be using the Meta Doctor to create a special WebOS Doctor that will create a 2GB (or more if you wish to do so) partition in /media/ext3fs/ were Ubuntu will be.
- Use the WebOS Internals Guide to installing and running the Meta Doctor. In Step 2 you will have to rename you downloaded webOS doctor to the name of the Bell Mobility doctor they have under Step 2'3 (webosdoctorp100ewwbellmo.jar) go ahead and add the webOS version after it like it advises.

- In Step 2'6, if you are using a Wifi Only TouchPad you will be using the last one which has touchpad for device and WiFi all for the carrier.

- Once the Meta Doctor is done, run the Web's Doctor it created under the 'builds' folder. And setup your device.


Step 1-B: Contacting My Army of Monkeys
- If you are having trouble with or are intimidated by Step 1-A go ahead and contact my army of monkeys at [email protected]. Simple.


Step 2: Mounting the new ext3fc partition on bootup
- Now before we continue we have to make sure we have the partition fully setup and mounted on bootup. To do this follow the below WebOS Internals instructions.

Quote:

All of this is done on device either via novaterm or an SSH login. (simpler terms mean use WebOS Quick install by connecting you device, opening WebOSQuickInstall, and click Tools-Command Line.) If your device does NOT have a folder at /media/ext3fs then you will need to create it first. Use the following two commands:

Code:
mount -o remount,rw /
mkdir -p /media/ext3fs
it is important that you use /media/ext3fs as the location, otherwise some homebrew applications (such as Optware and the Ubuntu 11.04 Chroot) will not be able to find it and use it properly.
After you have created the mountpoint, we are going to edit the fstab file to set it up to mount at bootup.
Code:
mount -o remount,rw /
echo "/dev/mapper/store-ext3fs /media/ext3fs ext3  noatime,data=writeback  0  0" >> /etc/fstab
Now to get it mounted you have several options, the best one is the first command as it will use the data in /etc/fstab. If that works, then you have done this correctly and your ext3fs will mount at bootup.
Code:
mount -a
If you do not want it mounted at bootup, but you do need it mounted, you can use this command.
Code:
mount /dev/mapper/store-ext3fs /media/ext3fs

Step 3: Adding Testing Feeds
- Follow these WebOS Internals Instructions to add the Testing Feeds.
NOTE: These are edited slightly and will only work on a Wifi only TouchPad.
Quote:

- Open Preware and wait for it to finish loading.
- Open the App Menu (tap "Preware" in the top left corner of the screen) and tap Manage feeds.
- Scroll to the bottom until you see the New Feed box.
- Type or paste a name (webos-testing-armv7) and URL (Right Click - Copy Address) sure the URL does *not* have a slash at the end.
- Make sure the IS COMPRESSED option is set to YES.
- Tap Add Feed and then tap Yes when the alert pops up.
- Gesture swipe back. Preware will alert you that you have added feeds and ask if you want to update them now. Choose YES.


Step 4: Installing UbuntuChroot, Xecutah, and XServer

- Open up Preware and tap List Of Everything.
- Search for and install the following: UbuntuChroot, Xecutah, and XServer
- Now opened Xecutah and tap XServer and a new card will come up.
- Go back to Xecutah and tap UbuntuChroot. Then swipe back to the new card that came up.
- Now you should have the Ubuntu terminal. Done. It should have a few 'mount' commands and then the @Touchpad:

Step 5: Installing Programs
- Now to have some fun after all that work you put in!
- Type the below and it will update the program lists.
Code:
apt-get update
- Now type the following to install what ever you wish!
Code:
/***type the below for AbiWord
apt-get install abiword

/***type the below for the Chromium Browser
apt-get install chromium-browser

/***type the below for GIMP
apt-get install gimp

/***type the below for Eclipse
apt-get install eclipse

/**type the below for LibreOffice
apt-get install LibreOffice

/***type the below for LXDE (a windows graphical interface) and then launch it by typing lxsession.
apt-get install lxde
---------------------------------------------------------------------------------------
agian from precentral enjoy guys
Mods please move to there thread i was in a rush (dead battery) and put it in the wrong forum
The Following 10 Users Say Thank You to jul644 For This Useful Post: [ View ] Gift jul644 Ad-Free
 
 
26th August 2011, 04:51 AM |#2  
linkinpark4175's Avatar
Member
Thanks Meter: 5
 
More
Does anything else besides chromium, abiword, eclipse, libreoffice, lxde and gimp work?
The Following User Says Thank You to linkinpark4175 For This Useful Post: [ View ] Gift linkinpark4175 Ad-Free
26th August 2011, 08:18 AM |#3  
yareally's Avatar
Senior Member
Thanks Meter: 228
 
Donate to Me
More
Quote:
Originally Posted by linkinpark4175

Does anything else besides chromium, abiword, eclipse, libreoffice, lxde and gimp work?

anything you can compile for ARM or want to compile for ARM. there is a apt repository.
The Following User Says Thank You to yareally For This Useful Post: [ View ] Gift yareally Ad-Free
26th August 2011, 02:06 PM |#4  
Junior Member
Thanks Meter: 1
 
More
You could also find a complete guide to install Ubuntu Linux on HP TouchPad here
The Following User Says Thank You to XDAnoobr For This Useful Post: [ View ] Gift XDAnoobr Ad-Free
26th August 2011, 05:31 PM |#5  
jul644's Avatar
OP Senior Member
Flag London Ontario
Thanks Meter: 212
 
More
same thing
Quote:
Originally Posted by XDAnoobr

You could also find a complete guide to install Ubuntu Linux on HP TouchPad here

agian that is only for Chroot which is the exact same thing
27th August 2011, 09:41 PM |#6  
kevina90's Avatar
Senior Member
Flag maryland
Thanks Meter: 73
 
More
Works great, now I have lxde on my touchpad.
28th August 2011, 02:57 AM |#7  
Senior Member
Flag NJ
Thanks Meter: 496
 
More
able to get ubuntu chroot working properly, with libreoffice

now, hunting for a Bluetooth Keyboard

any one going to test if BT Mouses work? (yeah, i know theres a touchscreen)
28th August 2011, 04:46 AM |#8  
a40dayflud818's Avatar
Senior Member
Thanks Meter: 38
 
More
Is multi-touch supported on this?
28th August 2011, 04:28 PM |#9  
Junior Member
Thanks Meter: 0
 
More
what version of libreoffice does it install the latest one? And if anyone has installed it the ubuntu laggy or is it normal.
28th August 2011, 05:23 PM |#10  
Senior Member
Flag NJ
Thanks Meter: 496
 
More
Quote:
Originally Posted by harsh3090416

what version of libreoffice does it install the latest one? And if anyone has installed it the ubuntu laggy or is it normal.

a little laggy sometimes, but still usable most of the time without any problems

libreoffice 3.3.2... you should probably check the ubuntu ARM 11.04 repository to see what is there

top says 1gb ram, 0.90gb used.... not sure why......

EDIT: Tried pairing a BT Mouse... able to find the device via "BT->Search other", but unable to pair properly. Mouse said paired successful, but touchpad couldnt continue, kept searching for devices

Tried "BT->Search Keyboard", but couldnt find the mouse this way




The Following User Says Thank You to paperWastage For This Useful Post: [ View ] Gift paperWastage Ad-Free
28th August 2011, 10:37 PM |#11  
kevina90's Avatar
Senior Member
Flag maryland
Thanks Meter: 73
 
More
Now they have Debian chroot. Works great as well. Both can coexist at once. All it is is a folder at /media/extfs

Btw, has anyone gotten gnome working? I keep getting segmentation faults.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes