Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials







User Mode Linux: Coming to a Kernel Near You, Part 1
What Exactly is User Mode Linux?

Dee-Ann LeBlanc
Wednesday, March 12, 2003 11:51:10 AM

There are a number of fundamental additions coming in the next Linux kernel. One of these will be a great boon to software developers, beta testers, product reviewers, hosting services, and more: User Mode Linux (UML). Just as VMware allows us to run a machine within a machine, UML lets us do run multiple, separate, isolated instances of Linux on a single Linux box.

Seems a bit too good to be true, doesn't it? Let's take a closer look at UML, how it works, and the pros and cons involved in determining if this upcoming kernel feature is for you.

The name for this feature isn't the most self-explanatory. User Mode Linux is thusly named because it runs in user space. With a UML, you can run a miniature Linux system with its own kernel and filesystem without needing root access to the entire machine. Your UML is your own little world, and you can configure its kernel, networking, and all other aspects of the virtual machine to your satisfaction.

You're not limited to the same distribution of Linux, either. While VMware lets you run any operating system it's designed to handle within its virtual machine, UML allows you to run any particular distribution's kernel and filesystem setup. The key is that you run the UML kernel as you would run any other command, and the UML kernel then communicates directly with the host machine's kernel--though at times the UML kernel must modify instructions before sending them to the main kernel. Limitations come in when a package must communicate directly with hardware instead of an intermediary, but there are workarounds available that solve most of these issues.

Your UML filesystem is actually contained in a single file (per UML you've set up), swap space and all, making it a sort of filesystem within a filesystem. Between the isolated filesystem and kernel, a UML can act as an island where users can enter, but cannot break out through the shark-infested waters to reach the main system. A break-in only effects the UML system. The overall kernel and filesystem remain untouched.

Next: Practical Uses and Issues »

Skip Ahead

1 What Exactly is User Mode Linux?
2 Practical Uses and Issues
3 Trying Out UML Right Now





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers