Weblog entry #8 for uroboros
Hello.
I have just written small, quick and quite dirty howto on how to set up virtual box using User Mode Linux.
It can be found on http://uml.ligatura.org/.
It is not complete at all; however it works for me very well.
The howto is written in pure XHTML 1.0 Strict (there might still be some "ooops" in the code, but validators does not think so) with external CSS stylesheet, so can be easily converted to plain text.
I hope it helps.
--
mjf
Comments on this Entry
[ Send Message | View Steve's Scratchpad | View Weblogs ]
A very nice guide, thanks for sharing.
If you wanted to have it posted here I'd be happy to include it.
[ Parent | Reply to this comment ]
--
mjf
[ Parent | Reply to this comment ]
thanks
[ Parent | Reply to this comment ]
UML is user-mode only, am I right? I thought it was one of its plus compared to Xen for example.
However, what are the kernel configuration options needed by UML: FUSE I guess, what else?
Thanks anyway for this great article which makes me more confident for my experiments ;-)
Cheers,
Julien
[ Parent | Reply to this comment ]
--
mjf
[ Parent | Reply to this comment ]
Good! I look forward to reading it.
It would also be intersting to have a few lines aobut the hardware requirements for typical uses of UML - I know this is very hard to do, but just giving us ideas would be great.
I'll be amongst the first people trying to follow your how-to ;-)
Cheers,
Julien
[ Parent | Reply to this comment ]
I couldn't wait any longer and decided to set up uml today. Everything is now working fine thanks to your how-to. I think there are some small typos, as well some parts missing for beginners, but it really helped a lot! Thanks for that.
I had to fight so as to be able to connect the guest to my local network, but everything is well explained in other how-to's. It even works with grsec and PAX, although I had to remove PAX controls on linux.uml (I installed user-mode-linux kernel package from testing).
I now have to find a way to start the guests automatically when the host boots, and will be happy ;-)
I would be glad to review your article, or even help you writing it - with they eyes of a new-comer.
Cheers,
Julien
[ Parent | Reply to this comment ]
[ Send Message | View Steve's Scratchpad | View Weblogs ]
The way I managed autostarting was by giving each instance a defined directory to live in, something like:
/home/uml/ /home/uml/host1 /home/uml/host2
Then I had an init script which did something similar to this:
for i in /home/uml/*/ ; do name=`basename $i` su - $name -c "linux ....... $i/disk.img" & done
That relied upon there being a local user for each image, and that image using a fixed name in a dedicated directory.
I used screen to gain access to systems initially, but after a while I got rid of that complexity and just relied upon the networking to "work".
[ Parent | Reply to this comment ]