User Mode Linux: Coming to a Kernel Near You, Part 2 - page 3
When We Last Left Our Story...
Now you should have the basics set up. Some of the changes you've made need to be added to the rc.local file to be made permanent. On a distribution that doesn't include an editor, you can add items to the end of a document with the simple combination:
echo add this line >> /path/to/document
One of the first things you probably noticed, or will now notice, is a severe lack of files on this virtual machine. The default filesystems are wisely not drowning in files, or downloading them and uncompressing them would take even longer than it currently does.
Instead, you can access the host machine's filesystem when needed using
a special, non-network tool built into the UML, called hostfs. Type
/mnt/host to see if the mount point you'll need currently exists. If
not, create this directory first--or if you want to have the host
filesystem elsewhere, create the mount point you require--and then type:
mount none /mnt/host -t hostfs
cd /mnt/host and there you are, in the root filesystem of the
host machine. That should take care of any missing software problems.
When you're finished playing with your UML, remember, this is a full
virtual machine. Make sure to shut it down properly with
shutdown -h now rather than just closing the window you're running the
Have fun trying out your virtual machine! If you want to get deeper into UML, helpful resources include:
Dee-Ann LeBlanc is an award-winning technical author with 11 books and over seventy articles in print. Along with writing, Dee-Ann teaches, develops courses, and also consults when time allows. Learn more at http://www.Dee-AnnLeBlanc.com/.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: Linux 3.11, Kubuntu Goes Commercial
- 5Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x