Differences between revisions 2 and 14 (spanning 12 versions)
Revision 2 as of 2006-04-29 04:17:36
Size: 1472
Editor: JacobAnawalt
Comment:
Revision 14 as of 2017-01-20 15:14:23
Size: 1726
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== UML On Sarge == See https://tracker.debian.org/pkg/user-mode-linux for status of the package in Debian.
Line 7: Line 7:
If you are interested in trying out UML on a Debian 3.1 ''(Sarge)'' system while sticking with a security team supported host kernel and a uml-patched client based off of the same Linux Kernel 2.6.8 source, then your only option is to wait for the next stable release for a number of reasons. You may check uml-utilities's README.Debian for more hints on how to use it
Line 9: Line 9:
The user-mode-linux package was held out of Sarge, being too buggy and unmaintained. Also there were security concerns with UML patches for the 2.6.8 kernel. You are generally best off running the latest version, at least greater than 2.6.9. Finally UML was merged into the Kernel tree at v2.6.10 or v2.6.11. == UML on Etch ==
Line 11: Line 11:
 * http://blog.andrew.net.au/2005/05/08
 * http://sourceforge.net/mailarchive/forum.php?forum_id=3647&max_rows=25&style=nested&viewmonth=200509
 * http://packages.debian.org/cgi-bin/search_packages.pl?keywords=user-mode-linux&searchon=names&subword=1&version=testing&release=all
 * http://uml.harlowhill.com/index.php/Naming%20Convention%20For%20UML%20Patched%20Kernels
The user-mode-linux package is currently available in Etch, and should work out of the box.
Line 16: Line 13:
If you wish to press ahead anyway, it should be possible with a kernel.org kernel, a dd built loopback filesystem preped via debbootstrap and a few other tweaks.  * http://www.debian-administration.org/articles/48
 * http://www.wlug.org.nz/UserModeLinux

== UML on Woody ==

An example of some scripts and building a UML on Woody.

  * http://www.eggdrop.ch/texts/uml/index.htm

== Building your own custom UML machine ==

It is easy to build a UML kernel on Debian machines since ''kernel-package'' enables building a UML kernel just as easily as you can build any Linux kernel image, and the root file system can be created by using ''dd'' to build a ''loopback'' file system and populate the system using the ''debootstrap'' package. Or you may want to try a slick debian-installer based build. The links below provide examples of either approach.
 
 * http://stevieo.freeshell.org/uml/adminless-uml-d-i.html (this link is broken, try the [[http://web.archive.org/web/20071010015741/http://stevieo.freeshell.org/uml/adminless-uml-d-i.html|Web Archive]])
 * http://www.golden-gryphon.com/software/security/selinux-uml.xhtml (this links is broken, try the [[http://web.archive.org/web/20110726063857/http://www.golden-gryphon.com/software/security/selinux-uml.xhtml|Web Archive]])

User Mode Linux, or UML, allows you to run a virtual Linux machine on a host Linux machine by compiling the kernel into a program and having it boot a file based root file system. It is of particular interest to developers and those doing DebianHosting.

See https://tracker.debian.org/pkg/user-mode-linux for status of the package in Debian.

You may check uml-utilities's README.Debian for more hints on how to use it

UML on Etch

The user-mode-linux package is currently available in Etch, and should work out of the box.

UML on Woody

An example of some scripts and building a UML on Woody.

Building your own custom UML machine

It is easy to build a UML kernel on Debian machines since kernel-package enables building a UML kernel just as easily as you can build any Linux kernel image, and the root file system can be created by using dd to build a loopback file system and populate the system using the debootstrap package. Or you may want to try a slick debian-installer based build. The links below provide examples of either approach.