Site Home Page
UML Community Site
What it's good for
Case Studies
Kernel Capabilities
Downloading it
Running it
Compiling
Installation
Building filesystems
Troubles
User Contributions
Related Links
The ToDo list
Projects
Diary
Thanks
Contacts
Tutorials
The HOWTO (html)
The HOWTO (text)
Host file access
Device inputs
Sharing filesystems
Creating filesystems
Virtual Networking
Management Console
Kernel Debugging
gprof and gcov
Running X
Diagnosing problems
Configuration
Installing Slackware
Porting UML
IO memory emulation
UML on 2G/2G hosts
Adding a UML system call
Running nested UMLs
How you can help
Overview
Documentation
Utilities
Kernel bugs
Kernel projects
Screenshots
A virtual network
An X session
Transcripts
A login session
A debugging session
Slackware installation
Reference
Kernel switches
Slackware README
Papers
ALS 2000 paper (html)
ALS 2000 paper (TeX)
ALS 2000 slides
LCA 2001 slides
OLS 2001 paper (html)
OLS 2001 paper (TeX)
ALS 2001 paper (html)
ALS 2001 paper (TeX)
UML security (html)
LCA 2002 (html)
WVU 2002 (html)
Security Roundtable (html)
OLS 2002 slides
Fun and Games
Kernel Hangman
Disaster of the Month

Downloads

UML download mirrors
The UML downloads are available from a number of mirrors:
UML Mirror Location
Sourceforge CA, USA
Dartmouth ISTS Dartmouth College, Hanover, NH, USA
ftp.nl.linux.org Utrecht, The Netherlands
Leiden University Leiden, The Netherlands
umlcoop.org PA, USA
This page will connect you to the
Dartmouth ISTS mirror.

If you hate this new-fangled download page and want the SourceForge project download page back, click here .
The host
First off, the host machine needs to be an i386 Linux box running 2.2.15 or later, or 2.3.22 or later (including any 2.4 kernel). If you have an earlier kernel, and for some reason you don't want to upgrade, then you can still run UML by applying this patch to it. But you should really get a more modern kernel.
The recommended installation
Minimally, you need a UML kernel and a root filesystem to boot it on. Almost everyone should get the kernel by installing either the RPM or deb. These also provide a set of userspace tools, kernel modules, and documentation.

The tools aren't needed for basic use of UML, but they are needed for
networking , managing COW filesystem files , and using the management console .

RPM File Type : RPM
Name Release Date Download Size (bytes)
user_mode_linux-2.4.18.36um-0.i386.rpm Jul 5 16:22 1744354
Changelog
The whole list
debs are no longer available here, since there are now official UML debs in testing and unstable. So, just point your apt.sources at either one, and 'apt-get install user-mode-linux'.

Here are some URLs for people who want to point and click:
The root filesystem
There are a number of bootable root filesystems available for download. They cover most of the major distributions and a number of more specialized, minor ones. They are compressed filesystem images and typically are downloads of tens of megabytes, uncompressing to several hundred megs.

If this is too large a download for you, the tomsrtbt filesystem is small enough to be reasonable for almost everyone. For its size, it provides an amazing number of tools.

Another possibility is to generate your own filesystem. There are a number of separate projects which will let you create your own filesystems from media. They are listed
here . If you're an absolute rank UML beginner, downloading one of the preinstalled filesystems is the better way to go.

Matt Zimmerman has also made some Debian images available here . At this writing, there's a current snapshot of potato and one of woody.

This list contains a sample of the most popular filesystem images. To see the full selection, click the the "whole list" link at the bottom of the table.

Filesystems File Type : bzipped ext2 filesystem image
Name Release Date Download Size (bytes)
root_fs.md-8.2-server.pristine.20020324.bz2 Mar 24 08:45 59981981
Changelog
root_fs.md-8.2-full.pristine.20020324.bz2 Mar 24 04:20 172424097
Changelog
root_fs_toms1.7.205.bz2 Mar 18 16:16 1488703
Changelog
root_fs.rh-7.2-server.pristine.20020312.bz2 Mar 12 2002 64164735
Changelog
root_fs.rh-7.2-full.pristine.20020312.bz2 Mar 12 2002 175597416
Changelog
root_fs.co60.pristine.bz2 Jul 6 2001 77677468
Changelog
root_fs_debian2.2_small.bz2 Aug 31 2000 14906374
Changelog
The whole list
Jail filesystems
These are filesystems which boot up UML with exactly one service for the purpose of jailing that service (along with any unfriendly outsiders who manage to break into it).

Currently, we have only a DNS filesystem from Chris Reahard. See his
description for what's in it and how to use it. More contributions are welcome.
Jail filesystems File Type : bzipped ext2 filesystem image
Name Release Date Download Size (bytes)
jail_dns-0.3.bz2 Oct 23 2001 4122297
Changelog
The whole list
UML utilities
If you are going to grab the standalone kernel or patch below, you want to pay attention to this section. Otherwise, if you install the RPM or deb, you can ignore it, since these utilities come with the packages.

This is a tarball of the sources for the UML utilities
Build and install them with
make all
make install DESTDIR=/
from the top level directory.

Ocassionally, a new UML needs a new version of one of the utilities. So, if you don't install one of the packages, you should check the changelog to see if you need anything new, and, if so, grab, build, and install the tools from the tarball.
UML Utilities File Type : bzipped source tarball
Name Release Date Download Size (bytes)
uml_utilities_20020906.tar.bz2 Sep 6 12:08 34644
Changelog
uml_utilities_20020821.tar.bz2 Aug 21 15:38 34328
Changelog
uml_utilities_20020729.tar.bz2 Jul 29 13:58 34120
Changelog
The whole list
The bare kernel
If you don't want to grab one of the packages, you can download the precompiled kernel binary. In this case, it's up to you to make sure you have the userspace tools you'll need, and to make sure that they are up to date with the kernel, since they change occasionally.

Also, see
http://www.need2host.com:8080/uml/kernel/ where Daniel Morrigan is placing some kernels of his own (there appears to be one there at the moment). He also made an offer to set up a specify-your-UML-config-and-pick-up-the-kernel-later UML building service if there's enough interest. So, contact him at dmorrigan at peapod dot com if you'd be interested in this.
Kernels File Type : bzipped ELF binary
Name Release Date Download Size (bytes)
linux-2.4.18-36.bz2 Jul 5 16:24 772592
Changelog
The whole list
The UML test suite
This is the brand-new UML test suite. The main driver is test.pl, which uses the Perl modules UML.pm and UML/*.pm. The tests themselves are located under tests. Configuration is done in Config.pm. And that's all the documentation which exists at the moment.
Test Suite File Type : bzipped tarball
Name Release Date Download Size (bytes)
uml_tests_20020821.tar.bz2 Aug 21 15:53 19647
Changelog
uml_tests_20020805.tar.bz2 Aug 5 17:14 19770
Changelog
uml_tests_20020615.tar.bz2 Jun 15 10:59 19081
Changelog
The whole list
Building from source
If you want to build UML from source, you can get the patch here, or download the ac tree, which has UML in it already. The patch that's available from here applies against the appropriate Linus pool. It will also likely apply against nearby kernels, including his pre-patches, but there are no guarantees. See this page for more detailed instructions for building UML from source.

Again, if you go this route, you need to make sure that you have the tools you'll need to fully use UML.

The patch is updated most frequently. I will release a patch for every CVS update. These patches are named uml-patch-2.4.x-y.bz2. If you want the latest UML, the latest of these patches is what you should get.

Here are the 2.4 patches. If you're not into helping the kernel hackers track down bugs, then this is the list you want.
Patches File Type : bzipped patch
Name Release Date Download Size (bytes)
uml-patch-2.4.19-2.bz2 Sep 5 11:54 140639
Changelog
uml-patch-2.4.19-1.bz2 Aug 21 13:10 141738
Changelog
uml-patch-2.4.18-53.bz2 Aug 21 10:12 141817
Changelog
uml-patch-2.4.18-52.bz2 Aug 12 16:49 141875
Changelog
uml-patch-2.4.18-51.bz2 Aug 9 13:39 141849
Changelog
The whole list

These are the 2.5 patches. You probably only want to grab this if you know you want to play with the 2.5 kernel. If not, then see the 2.4 patches.
Patches File Type : bzipped patch
Name Release Date Download Size (bytes)
uml-patch-2.5.33-1.bz2 Sep 5 18:33 135866
Changelog
uml-patch-2.5.31-1.bz2 Aug 13 11:10 135820
Changelog
uml-patch-2.5.30-1.bz2 Aug 2 13:32 137277
Changelog
uml-patch-2.5.29-1.bz2 Jul 27 21:41 136723
Changelog
uml-patch-2.5.28-1.bz2 Jul 25 14:39 135736
Changelog
The whole list