<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rrix</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rrix"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Rrix"/>
	<updated>2026-04-24T10:51:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=UbuntuChroot&amp;diff=17919</id>
		<title>UbuntuChroot</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=UbuntuChroot&amp;diff=17919"/>
		<updated>2011-08-26T07:55:40Z</updated>

		<summary type="html">&lt;p&gt;Rrix: Add fstab directions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a large-enough ext3fs partition created with Meta-Doctor mounted at /media/ext3fs (instruction how to create partition is available here [[Chrooting]]). Note that the latest optware bootstrap package will also use this if it exists.  '''If you have not already done so you should setup the ext3fs partition to mount at bootup.'''  (Failure to do so will cause you to run out of disk space)  Instructions can be found on the [[Application:MetaDoctor#How_to_get_the_optional_ext3fs_partition_mounted_at_device_boot|Meta Doctor]] page.&lt;br /&gt;
&lt;br /&gt;
Make sure you have the WebOS Internals Testing Feeds enabled.&lt;br /&gt;
&lt;br /&gt;
Using Preware, install Xecutah and Ubuntu 11.04 Chroot.&lt;br /&gt;
&lt;br /&gt;
Hit the relevant buttons on Xecutah to run the XServer and the Ubuntu 11.04 Chroot. &lt;br /&gt;
&lt;br /&gt;
Run XServer first, which will open an Xserver window, then return to Xecutah and tap Ubuntu 11.04 Chroot. When you return to the Xserver card, you should see a Ubuntu command prompt.&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;apt-get install&amp;quot; to install whatever apps you like from Ubuntu.  Then run in the Ubuntu chroot and render on the XServer.&lt;br /&gt;
&lt;br /&gt;
Don't forget the donation link on the Main Page, and please install the Preware Homebrew Documentation app from the official app catalog to learn how to install Preware on your device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''NOTE ABOUT DISK IMAGES'''&amp;lt;/center&amp;gt;&lt;br /&gt;
It is possible to use a disk image instead of creating a partition. However, this comes with a few caveats, such as slower speed, disk size restriction (mounting a disk image in cryptofs may limit you to &amp;lt; 2GB) or breaking USB connectivity (on /media/internal). Do this at your own risk. '''Partitioning with Meta Doctor is the faster and slightly stabler method.'''&lt;br /&gt;
&lt;br /&gt;
If you do not want to re-doctor your phone, this is how to do it with an image file:&lt;br /&gt;
First, open a terminal (XServer &amp;gt;XTerm - everything is done on device).&lt;br /&gt;
&lt;br /&gt;
1048576 (KB) means 1 GB, you can replace that (used in two commands). NOTE: You can not create an image file in /media/cryptofs larger than 2GB.&lt;br /&gt;
&lt;br /&gt;
 cd /media/cryptofs&lt;br /&gt;
 dd if=/dev/zero of=ubuntu.img bs=1024 count=1048576&lt;br /&gt;
 mkfs.ext3 -F -b 1024 ubuntu.img 1048576&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkdir /media/ext3fs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, you must mount the new image file. &lt;br /&gt;
&lt;br /&gt;
 mount -o loop /media/cryptofs/ubuntu.img /media/ext3fs&lt;br /&gt;
&lt;br /&gt;
To make this mount at boot, you need to add an entry to the fstab:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;/media/cryptofs/ubuntu.img /media/ext3fs ext3 loop 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
 mount -a&lt;br /&gt;
&lt;br /&gt;
Now you can install Ubuntu 11.04 Chroot from Preware and it will populate the image file.&lt;br /&gt;
&lt;br /&gt;
== How to remove the ext3fs partition ==&lt;br /&gt;
&lt;br /&gt;
[[Application:MetaDoctor#How_to_remove_the_ext3fs_partition]]&lt;/div&gt;</summary>
		<author><name>Rrix</name></author>
	</entry>
</feed>