<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Steve-martin-qut</id>
		<title>Gumstix User Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Steve-martin-qut"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php/Special:Contributions/Steve-martin-qut"/>
		<updated>2026-06-06T20:50:22Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Ubuntu_10.04_on_Gumstix_Overo&amp;diff=4694</id>
		<title>Installing Ubuntu 10.04 on Gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Ubuntu_10.04_on_Gumstix_Overo&amp;diff=4694"/>
				<updated>2010-10-19T00:52:14Z</updated>
		
		<summary type="html">&lt;p&gt;Steve-martin-qut: /* Make a MicroSD card */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Ubuntu on Overo ==&lt;br /&gt;
Constructing an Ubuntu root file system for the Gumstix Overo is surprisingly easy with the rootstock utility.  Unfortunately, Ubuntu (particularly a version including a graphical desktop) likes lots of RAM but the familiarity of Ubuntu for some users may outweigh occasional sluggishness.  These instructions were tested on an Ubuntu 10.04 desktop machine; they should work for any recent Debian-based flavour of Linux.&lt;br /&gt;
&lt;br /&gt;
== Make a MicroSD card ==&lt;br /&gt;
The rootstock utility builds a root file system inside a virtual arm machine supplied by qemu.  First, install the required packages.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ sudo apt-get install rootstock qemu&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Next, use a command like the one shown below to make a root file system; check out 'man rootstock' for some extra options.  Note: this will take an hour or two.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ sudo rootstock --serial ttyS2 -d lucid -f &amp;quot;gumstix&amp;quot; -s lxde,gdm,openssh-server,x11vnc &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* the '-d' option specifies the distribution release: in this case, Ubuntu Lucid (10.04).&lt;br /&gt;
* the '-s' option specifies the list of packages to install: in this case, we install a lightweight desktop and a standard login manager as well as ssh &amp;amp; VNC servers so we can connect remotely.&lt;br /&gt;
* the user name ('-l') and password ('-p') options don't seem to work at the moment; see [Configuring Ubuntu] for more information.&lt;br /&gt;
&lt;br /&gt;
You should now have a spiffy root file system tarball so now we just need to create a bootable microSD with a standard bootloader and kernel.&lt;br /&gt;
&lt;br /&gt;
Format a microSD card as per [http://www.gumstix.net/Documentation/view/Overo-Setup-and-Programming/Creating-a-bootable-microSD-card/109.html usual]; you should copy a [http://www.sakoman.com/feeds/omap3/glibc/images/overo/201009091145/ recent] MLO, u-boot, and uImage to the boot partition.  Extract the generated root file system to the second partition of the microSD card.&lt;br /&gt;
&lt;br /&gt;
Finally, the loadable modules in the file system should match the kernel.  For users that don't want to build a kernel, you can use this [http://dl.dropbox.com/u/211887/Ubuntu/uImage-2.6.34-r88-overo.bin 2.6.34 kernel] and the associated [http://dl.dropbox.com/u/211887/Ubuntu/modules-2.6.34-r88-overo.tgz modules] tarball; this is approximately the Gumstix Overo kernel from September 9th, 2010.  Extract the modules file into the second partition over top of the root file system. E.g. for a root partition mounted at /media/rootfs:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 sudo tar xaf modules-2.6.34-r88-overo.tgz -C /media/rootfs&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring Ubuntu ==&lt;br /&gt;
The ''rootstock'' utility doesn't make passwords properly.  For now, it is easiest to remove the root password, boot your system to create new users and choose a new root password.  To do this, open the ''/etc/shadow'' file on the second partition and delete the '*' for the root entry. E.g.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ sudo gedit /path/to/second/partition/etc/shadow&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Note: remember to put the ‘*’ back after you have created a user so someone can’t login as root and screw up your system&lt;br /&gt;
&lt;br /&gt;
For Overo boards with an ethernet interface, it is nice to have ethernet working right off the bat without having to have Network Manager installed. Open the ''/etc/network/interfaces'' file on the second partition.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ sudo gedit /path/to/second/partition/etc/network/interfaces&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Add the following code to the bottom:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
You can now unmount the microSD card, place it in the gumstix and boot to it.&lt;br /&gt;
&lt;br /&gt;
Login using serial console using these [http://www.gumstix.net/Documentation/view/Overo-Setup-and-Programming/Getting-started/109.html instructions] or you can plug an ethernet card in and jump in via ssh.&lt;br /&gt;
&lt;br /&gt;
Once you are logged in, you might make some other tweaks:&lt;br /&gt;
* login as root and then create a user for yourself and give yourself sudo&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ sudo adduser youruser&lt;br /&gt;
 $ sudo adduser youruser sudo&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* edit /etc/shadow and add the ‘*’ back in that we removed earlier. E.g.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ nano /etc/shadow&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* add some useful package repositories if they're not already present. Edit /etc/apt/sources.list and add these lines:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ deb http://ports.ubuntu.com/ubuntu-ports lucid-updates main&lt;br /&gt;
 $ deb http://ports.ubuntu.com/ubuntu-ports lucid-security main&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* get up-to-date:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 $ sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Have fun!&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
Here are some links I found useful when putting this post together:&lt;br /&gt;
* https://wiki.ubuntu.com/ARM/RootfsFromScratch&lt;br /&gt;
* http://labs.igep.es/index.php/How_to_get_the_Ubuntu_distribution&lt;br /&gt;
* https://wiki.ubuntu.com/ARM/RootfsFromScratch&lt;br /&gt;
* http://free-electrons.com/blog/ubuntu-1004-igepv2/&lt;br /&gt;
* http://omapzoom.org/wiki/Ubuntu_rootfs&lt;/div&gt;</summary>
		<author><name>Steve-martin-qut</name></author>	</entry>

	</feed>