On Monday 08 August 2005 12:52, Väisänen Teemu wrote:
> Hi. I have couple of questions about UML.
>
> I have Fedora core 3 and 2.6.9-1.667 kernel installed in my computer.

> I have tried to read UML installation guides, and If I have understood
> right, that kernel has UML support.
Well, sources for 2.6.9 include support for UML (but it's outdated), what you 
have installed is likely a binary kernel. And that is not reusable for UML, 
which requires a completely different binary (thought it's obtained from the 
same sources).
> I have installed also 2.6.8.1-kernel to my computer because some
> programs need it, and they don't work in newer kernels. Now I need UML
> because some of the programs are not very stable.
>
> So I have two kernels, and I can choose between them in grub start menu.
>
> Should I use 2.6.9-1.667 and install new 2.6.8.1-kernel, patches and
> UML for it or install UML to existing 2.6.8.1-kernel? Which way would
> be easier and how should I continue?

> Thank you for any help!

> -Teemu Väisänen

See below the other thread: "problems getting started with User  mode linux"

First: you have different host and guest kernel. The host kernel is the one 
you select with grub, the guest one is the UML kernel, normally named like 
"vmlinux-2.6.12", which you run as a normal program to launch UML, like:

./vmlinux-2.6.12 ubd0s=root_fs_image

Well, you have 4 option, for obtaining the guest kernel:
*) downloading a binary one from somewhere - please an up-to-date version.

Or compiling from source, from best to worst:

*) using 2.6.12 + -bs11 patches from my homepage: this will give you the a 
very stable UML version.

*) using vanilla 2.6.9 (not 2.6.9-1.667, which contains patches from Fedora 
which probably don't play well with UML) or it with its latest -bs patch. 
Vanilla 2.6.9 doesn't work well on 2.6.9/10 hosts, because they have a "bug" 
for debugging.

*) using 2.6.8.1 with patches from UML site (unrecommended - less stability).

For compiling:
*unpack the kernel and apply patches;

*then do
make defconfig ARCH=um

* then make xconfig ARCH=um or make menuconfig ARCH=um for changing options.

* then make ARCH=um and use the resulting "linux" or "vmlinux" binary.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade






___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to