----- Original Message ----- 
From: "Zoran Kikic" <[EMAIL PROTECTED]>
To: "LFS Support List" <[email protected]>
Sent: Friday, August 10, 2007 10:59 AM
Subject: Re: lfs as a xen domU?


> Hi Luca,
>
> that's very interesting! Did you write down your build steps?
> I couldn't find any suitable xen howtos and therefore I give
> xen Enterprise a try but at least I would like to use my great lfs
> as domU instead of a xen VM (debian or redhat).
>
> The default xen build procedure was easy but not very useful and
> the documentation is sparse - they all use apt-get and such things..
>
> I didn't find out how to
>    - build xen without any x.org parts
>    - build practical dom0 and domU kernel and how to implement them 
> right
>    - to turn a lfs system into a domU
>
> I wonder there is no xen chapter in BLFS..
>
>
> Thanks a lot!
> Zoran

Hello Zoran.

There are also other XEN OSes like OZONE (featuring also steganography 
file system support).

I proposed months ago addictions to LFS (not BLFS) like XEN, or a 
XEN-Lfs.

Latest Xen is version 3.1.0 (may 18, 2007).

You could download Xen 3.1.0 Source code tarball from 
http://www.xensource.com/download/dl_31tarballs.html (the upper 
tarball - xen-3.1.0-src.tgz).

There are prerequisites to build a Xen source release:
- GCC v3.4 or later
- GNU Make
- GNU Binutils
- Zlib
- Python 2.3 or later
- Ncurses
- OpenSSL
- Xorg (I think Debian calls the specific package xorg-x11-dev)
- Bridge-utils
- Iproute
- Hotplug (obsolete) or Udev

For first build or wanting to delete .configs and build tree please do:
"make world && make install"; it will build xen binary (xen.gz) and 
linux kernel w/ modules that can be used in dom0 and domU 
(vmlinuz-2.6.x-xen), tools and docs.
To overwrite destination pass DESTDIR parameter to make install; to 
override name pass KERNELS={kernelname}; to build x86_32 PAE w/ >= 4GB 
memory use XEN_TARGET_X86_PAE=y.
To rebuild a tree without modifying config pass make dist (it builds and 
installs everything into local dist dir - anyway you could pass DISTDIR 
but it will build everything).
To rebuild a kernel with a modified config pass:
make linux-2.6-xen-config CONFIGMODE=[menuconfig/xconfig]
make linux-2.6-xen-build
make linux-2-6-xen-install

Depending on config you should pass:
depmod 2.6.x-xen
mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod 
initrd-2.6.x-xen.img 2.6.x-xen (only as example)

Xen daemon has following runtime deps:
Python-2.3 or later
pyOpenSSL (optional)
PyPAM (optional)
PyXML (optional - XenAPI)

As you may notice Xorg is a needed dep.

Hope this help you a bit more,
Luca 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to