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: Linux Mint Olivia, Fedora 19's Cat and Ubuntu's Mission Accomplished Moment
- 2Linux Top 3: Linux 3.10 Goes Long, Linux 3.11 Advances as LXDE Merges
- 3Why Linux is Super (Computing)
- 4Linux 3.10 Improves Multi-tasking and SSD Caching
- 5Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.