Angel L. Mateo
2006-Mar-15 11:48 UTC
[Xen-users] domU with redhat over a debian based dom0
Hello, I have running xen over a debian server (debian sarge). Now I would like to configure a domU with redhat (AS 4), do you now any way to install it? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Mar-15 13:23 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
Angel L. Mateo wrote:> Hello, > > I have running xen over a debian server (debian sarge). Now I would > like to configure a domU with redhat (AS 4), do you now any way to > install it? >I know of no tool to easily create redhat base systems / chroots on Debian (and i''ve searching for this in course of some other development) If Centos is "enough" for you, you have two options: 1) use a readily built base image from http://jailtime.org/download:centos:v4.2 2) try to bootsrap a basic image with rpmstrap: http://rpmstrap.pimpscript.net/ ( with this, your mileage may vary, I had problems with it, but theres a new version in the meantime which I didn''t test yet) If you really need exactly redhat, as Redhat is not free to distribute, you have to install a redhat machine (maybe in a desktop emulator like qemu) make a chroot there (lookup docs to build redhat chroots, or redhat installation from other distributions into a directory), and take this as the base for your VM. I''d be heavily interested if you find another way! Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Frits Hoogland
2006-Mar-15 13:34 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
I''ve made a centos4 install on a domU with ubuntu as dom0. I also used rpmstrap, which I modified because some packages which get downloaded had been updated. I haven''t tested the latest version too. Anybody know how to alter debootstrap to build a debian sarge with breezy installed in dom0? Frits _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jan Bakuwel
2006-Mar-15 16:32 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
Hello Frits, Frits Hoogland wrote:> I''ve made a centos4 install on a domU with ubuntu as dom0. I also used > rpmstrap, which I modified because some packages which get downloaded > had been updated. I haven''t tested the latest version too. > > Anybody know how to alter debootstrap to build a debian sarge with > breezy installed in dom0?I build a Debian Sarge dom0 with Ubuntu Breezy in domU. I''ve simply installed Debian from CD into LVM partitions... Does that answer your question? Jan -- ''A society of sheep must in time beget a government of wolves.'' -- Bertrand de Jouvenal ---- Ships Unit Information, Communication, Technology Greenpeace International Ottho Heldringstraat 5 1066 AZ AMSTERDAM Netherlands (MET) direct +31 (0)20 7182084 fax +31 (0)20 5148151 reception +31 (0)20 5148150 email jan.bakuwel&int.greenpeace.org private jan.bakuwel&hccnet.nl (replace & by @ in the emailaddress) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
woody marvel
2006-Mar-15 18:25 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
Have you done a Ubuntu 5.1 dom0 and domU ? wm ===================On Wed, 2006-03-15 at 17:32 +0100, Jan Bakuwel wrote:> Hello Frits, > > Frits Hoogland wrote: > > I''ve made a centos4 install on a domU with ubuntu as dom0. I also used > > rpmstrap, which I modified because some packages which get downloaded > > had been updated. I haven''t tested the latest version too. > > > > Anybody know how to alter debootstrap to build a debian sarge with > > breezy installed in dom0? > > I build a Debian Sarge dom0 with Ubuntu Breezy in domU. I''ve simply > installed Debian from CD into LVM partitions... > > Does that answer your question? > > Jan >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nicholas Lee
2006-Mar-15 19:06 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
On 3/16/06, Frits Hoogland <frits.hoogland@gmail.com> wrote:> > Anybody know how to alter debootstrap to build a debian sarge with breezy > installed in dom0? >Going the other way I did a double debootstrap. Installed breezy with sarge debootstrap. Then re-debootstrapped a 2nd breezy from the 1st half breezy. The reverse might work. -- Nicholas Lee http://stateless.geek.nz gpg 8072 4F86 EDCD 4FC1 18EF 5BDD 07B0 9597 6D58 D70C _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Patrick Wolfe
2006-Mar-15 19:08 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
On Wed, 2006-03-15 at 10:25 -0800, woody marvel wrote:> Have you done a Ubuntu 5.1 dom0 and domU ?> > Frits Hoogland wrote: > > > Anybody know how to alter debootstrap to build a debian sarge with > > > breezy installed in dom0?Installing a Debian or Ubuntu domU from a debian or ubuntu dom0 is a very similar process. I started with the mis-named "Perfect Guide for installing Xen on Debian Sarge and Ubuntu" ( http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu ). I say misnamed, because it barely mentions ubuntu at all. Jump to page 4 for the domU installation part. The mistakes I ran into from that procedure: 1) for the debootstrap command, different suite and repository: debootstrap --arch i386 breezy /vm/breezy http://us.archive.ubuntu.com/ubuntu debootstrap --arch i386 sarge /vm/sarge http://ftp.debian.org/debian/ 2) before running chroot (from dom0), run: mount -t devpts devpts /vserver/vm_base/dev/pts and don''t forget to umount it after exiting the chroot and before trying to dismount the /vserver/vm_base filesystem. 3) on breezy, instead of installing package localeconf, install packages language-pack-en and language-pack-en-base. Good Luck! -- Patrick Wolfe (pwolfe@employease.com) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Petersen
2006-Mar-15 19:58 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
At 07:23 AM 3/15/2006, you wrote:>you have to install a redhat machine (maybe in a desktop emulator like >qemu) make a chroot there (lookup docs to build redhat chroots, or >redhat installation from other distributions into a directory), and take >this as the base for your VM.You >might< be able to boot the RedHat Install CD from a domU and it install to the system. Then go in and make some modifications (kernel, modules, tls, etc.) modify the domU config to boot the new system, then go from there. See this site - http://wiki.sourcemage.org/Install_under_Xen of course maybe this won''t work out for a RedHat install... For instance, does RedHat still provide a text based installer option? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Philipp Jäggi
2006-Mar-16 07:12 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
Dear Fritz and Jan It''s much more simple. Install yum on our system, adapt your /etc/yum.repos.d/ files so, that they point to a Redhat respository, create the lvm directories and install redhat into it. Install just with yum --installroot=[lvm directory] -y groupinstall Base The rest ist waiting... bye Philipp Jan Bakuwel <jan.bakuwel@int.greenpeace.org> Sent by: xen-users-bounces@lists.xensource.com 03/15/2006 05:32 PM To xen-users@lists.xensource.com cc Subject Re: [Xen-users] domU with redhat over a debian based dom0 Hello Frits, Frits Hoogland wrote:> I''ve made a centos4 install on a domU with ubuntu as dom0. I also used > rpmstrap, which I modified because some packages which get downloaded > had been updated. I haven''t tested the latest version too. > > Anybody know how to alter debootstrap to build a debian sarge with > breezy installed in dom0?I build a Debian Sarge dom0 with Ubuntu Breezy in domU. I''ve simply installed Debian from CD into LVM partitions... Does that answer your question? Jan -- ''A society of sheep must in time beget a government of wolves.'' -- Bertrand de Jouvenal ---- Ships Unit Information, Communication, Technology Greenpeace International Ottho Heldringstraat 5 1066 AZ AMSTERDAM Netherlands (MET) direct +31 (0)20 7182084 fax +31 (0)20 5148151 reception +31 (0)20 5148150 email jan.bakuwel&int.greenpeace.org private jan.bakuwel&hccnet.nl (replace & by @ in the emailaddress) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jan Bakuwel
2006-Mar-16 09:22 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
woody marvel wrote:> Have you done a Ubuntu 5.1 dom0 and domU ?No... a Debian Sarge dom0 and Ubuntu 5.10 domU... J.> > wm > ===================> On Wed, 2006-03-15 at 17:32 +0100, Jan Bakuwel wrote: > >>Hello Frits, >> >>Frits Hoogland wrote: >> >>>I''ve made a centos4 install on a domU with ubuntu as dom0. I also used >>>rpmstrap, which I modified because some packages which get downloaded >>>had been updated. I haven''t tested the latest version too. >>> >>>Anybody know how to alter debootstrap to build a debian sarge with >>>breezy installed in dom0? >> >>I build a Debian Sarge dom0 with Ubuntu Breezy in domU. I''ve simply >>installed Debian from CD into LVM partitions... >> >>Does that answer your question? >> >>Jan >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- ''A society of sheep must in time beget a government of wolves.'' -- Bertrand de Jouvenal ---- Ships Unit Information, Communication, Technology Greenpeace International Ottho Heldringstraat 5 1066 AZ AMSTERDAM Netherlands (MET) direct +31 (0)20 7182084 fax +31 (0)20 5148151 reception +31 (0)20 5148150 email jan.bakuwel&int.greenpeace.org private jan.bakuwel&hccnet.nl (replace & by @ in the emailaddress) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Mar-16 16:57 UTC
Re: [Xen-users] domU with redhat over a debian based dom0
Frits Hoogland wrote:> [...] > Anybody know how to alter debootstrap to build a debian sarge with > breezy installed in dom0?What problems do you have? Here, on breezy, the command debootstrap sarge /PATH/TO/YOUR/CHROOT http://ftp.debian.org/debian seems to work fine. This gets slightly OT, please mail me privately if you have further problems. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users