Weblog entry #8 for uroboros

GNU/User Mode Linux -- Quick HowTo
Posted by uroboros on Sun 16 Jul 2006 at 21:57

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

Posted by Steve (62.30.xx.xx) on Sun 16 Jul 2006 at 22:57
[ 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.

Steve

[ Parent | Reply to this comment ]

Posted by uroboros (86.49.xx.xx) on Tue 18 Jul 2006 at 23:34
[ Send Message | View Weblogs ]
I will after I finish the how-to. You see, it is somehow undone at the moment. :-)

--
mjf

[ Parent | Reply to this comment ]

Posted by davidforlinux (195.14.xx.xx) on Mon 17 Jul 2006 at 11:21
[ Send Message | View Weblogs ]
If you add basic installation of UML and any patches for kernel that would help very basic uml users

thanks

[ Parent | Reply to this comment ]

Posted by JulienV (81.50.xx.xx) on Mon 17 Jul 2006 at 17:20
[ Send Message | View Weblogs ]

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 ]

Posted by uroboros (86.49.xx.xx) on Tue 18 Jul 2006 at 23:36
[ Send Message | View Weblogs ]
No extra patches are needed. The rest in you answer will occure in article I intend to publish here.

--
mjf

[ Parent | Reply to this comment ]

Posted by JulienV (86.213.xx.xx) on Wed 19 Jul 2006 at 17:16
[ Send Message | View Weblogs ]

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 ]

Posted by JulienV (81.50.xx.xx) on Sat 22 Jul 2006 at 22:27
[ Send Message | View Weblogs ]

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 ]

Posted by Steve (62.30.xx.xx) on Sun 23 Jul 2006 at 15:48
[ 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".

Steve

[ Parent | Reply to this comment ]