Hi there, I''m getting confused trying to install CentOS as Dom-U. I''m trying to follow instructions here, http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU which is to 1. Download "domU installation initrd image and kernel" from CentOS mirrors site 2. Create a Domain Config File which kernel and ramdisk parameters point to the files in step 1 3. Install the domain U by running "xm create <domain config file>" So far so good. However in this domain U installation process, it asks about package source location and the instructions in wiki suggested supplying the normal CentOS download location. I''m confused - this is as if I''m installing a "real" CentOS, like installing dom0. My questions: - If I proceed, am I installing as a para-virtualized CentOS (which is what I want), or am I installing as a full-virtualized CentOS (which is what it looks like to me at the moment)? - When I was previously using Debian as domain-0, xen-tools set up the guest domain configuration file in such a way that its kernel parameter is specified "/boot/vmlinuz-2.6.26-2-xen-686". However in the CentOS wiki, it''s suggesting not to specify it after install. I don''t get it - Should kernel be specified? And if it is, does it mean the kernel of domain-U is actually in domain 0? - With Debian I could use xen-tools. Are there similar tools with CentOS? Some pointed virt-install but that appears to not have CentOS as one of the OS options. Cheers, Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/04/2010 02:13 PM, Daniel Lam wrote:> Hi there, > > I''m getting confused trying to install CentOS as Dom-U. > > I''m trying to follow instructions here, > > http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU > > which is to > > 1. Download "domU installation initrd image and kernel" from CentOS > mirrors site > 2. Create a Domain Config File which kernel and ramdisk parameters point > to the > files in step 1 > 3. Install the domain U by running "xm create <domain config file>" > > So far so good. However in this domain U installation process, it asks about > package source location and the instructions in wiki suggested supplying > the > normal CentOS download location. I''m confused - this is as if I''m > installing > a "real" CentOS, like installing dom0. > > My questions: > > - If I proceed, am I installing as a para-virtualized CentOS (which is > what I want), > or am I installing as a full-virtualized CentOS (which is what it > looks like to me at the moment)? >When you install that way, you install a para-virtualized CentOS.> - When I was previously using Debian as domain-0, xen-tools set up the > guest domain > configuration file in such a way that its kernel parameter is > specified "/boot/vmlinuz-2.6.26-2-xen-686". > However in the CentOS wiki, it''s suggesting not to specify it after > install. > I don''t get it - Should kernel be specified? And if it is, does it > mean the kernel of > domain-U is actually in domain 0? >I think you can install some kind of GRUB (ie. pygrub) and use that to boot up your DomU> - With Debian I could use xen-tools. Are there similar tools with CentOS? > Some pointed virt-install but that appears to not have CentOS as one > of the OS options. >If your Dom0 is a Debian, you''ve xen-tools to manage all your DomU''s, doesn''t matter is those are debian, centos, fedora, etc.> Cheers, > Daniel > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktCTNUACgkQGNJOcRr8JkK8bwCggPT8cSKE4lyRqgsaNSJRrH7I WKUAoKOcSS2W1Uvmcu8PYLZ2HciYv1xl =cS0X -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 5, 2010 at 1:31 PM, <xen-users-request@lists.xensource.com>wrote:> > ---------- Forwarded message ---------- > From: Boris Quiroz <boris.quiroz@acepta.com> > To: xen-users@lists.xensource.com > Date: Mon, 04 Jan 2010 17:17:25 -0300 > Subject: Re: [Xen-users] Install CentOS as Dom-U > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/04/2010 02:13 PM, Daniel Lam wrote: > > Hi there, > > > > I''m getting confused trying to install CentOS as Dom-U. > > > > I''m trying to follow instructions here, > > > > http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU > > > > which is to > > > > 1. Download "domU installation initrd image and kernel" from CentOS > > mirrors site > > 2. Create a Domain Config File which kernel and ramdisk parameters point > > to the > > files in step 1 > > 3. Install the domain U by running "xm create <domain config file>" > > > > So far so good. However in this domain U installation process, it asks > about > > package source location and the instructions in wiki suggested supplying > > the > > normal CentOS download location. I''m confused - this is as if I''m > > installing > > a "real" CentOS, like installing dom0. > > > > My questions: > > > > - If I proceed, am I installing as a para-virtualized CentOS (which is > > what I want), > > or am I installing as a full-virtualized CentOS (which is what it > > looks like to me at the moment)? > > > When you install that way, you install a para-virtualized CentOS. > >I see... thanks.> > - When I was previously using Debian as domain-0, xen-tools set up the > > guest domain > > configuration file in such a way that its kernel parameter is > > specified "/boot/vmlinuz-2.6.26-2-xen-686". > > However in the CentOS wiki, it''s suggesting not to specify it after > > install. > > I don''t get it - Should kernel be specified? And if it is, does it > > mean the kernel of > > domain-U is actually in domain 0? > > > I think you can install some kind of GRUB (ie. pygrub) and use that to > boot up your DomU > >Yes I saw the grub option in some archive too.. I believe that domU would boot up like a real machine in that case. What I don''t understand thou, is that if a kernel parameter is specified in the Domain Config File, does it mean the kernel inside domU will not be used? As the kernel param specifies a file in dom0.> > - With Debian I could use xen-tools. Are there similar tools with CentOS? > > Some pointed virt-install but that appears to not have CentOS as one > > of the OS options. > > > If your Dom0 is a Debian, you''ve xen-tools to manage all your DomU''s, > doesn''t matter is those are debian, centos, fedora, etc. >Yes I found that convenient too. However Debian does not give an up-to-date Xen version, so I''m using CentOS instead. Does anyone know if CentOS have a xen-tools like util? Thanks! Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 5, 2010 at 10:10 AM, Daniel Lam <daniel@rockableapps.com> wrote:> What I don''t understand thou, is that if a kernel parameter is > specified in the Domain Config File, does it mean the kernel > inside domU will not be used? As the kernel param specifies > a file in dom0.Sort of. The kernel line in domU config file specifies what "program" would be loaded/executed initially in domU. This can be a PV kernel (like in your debian example), hvmloader (in HVM domU), or a bootloader (like pv-grub). Depending on what the kernel is, it might in turn use a kernel inside domU (like in the case of hvmloader or pv-grub).> Yes I found that convenient too. However Debian does not give > an up-to-date Xen version, so I''m using CentOS instead. > Does anyone know if CentOS have a xen-tools like util?virt-install can be used to create Centos domUs. There''s also yum, which can function like debootstrap. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 5, 2010 at 2:40 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, Jan 5, 2010 at 10:10 AM, Daniel Lam <daniel@rockableapps.com> > wrote: > > What I don''t understand thou, is that if a kernel parameter is > > specified in the Domain Config File, does it mean the kernel > > inside domU will not be used? As the kernel param specifies > > a file in dom0. > > Sort of. > The kernel line in domU config file specifies what "program" would be > loaded/executed initially in domU. This can be a PV kernel (like in > your debian example), hvmloader (in HVM domU), or a bootloader (like > pv-grub). Depending on what the kernel is, it might in turn use a > kernel inside domU (like in the case of hvmloader or pv-grub). > >I see.. that makes more sense now.. thanks! As a side note.. It would be nice if these sort of info can be updated in wiki by everyone.>From my newbie experience so far, I found that the Xen user manualgives me the best whole picture, however bits and pieces like what you provided are missing. E.g. with this kernel parameter, all the manual said are: "kernel Set this to the path of the kernel you compiled for use with Xen". Maybe something the core team can think about. It''s really great that experienced users are so responsive to newbie questions like mine thou!> > Yes I found that convenient too. However Debian does not give > > an up-to-date Xen version, so I''m using CentOS instead. > > Does anyone know if CentOS have a xen-tools like util? > > virt-install can be used to create Centos domUs. > There''s also yum, which can function like debootstrap. > > -- > Fajar >Yes I just realised that too.. I previously thought virt-install can''t create CentOS domUs because centos is not in its os-variant list. Then I realised that os-variant is only for full-virtualization. I''m trying virt-install and/or "xm create" directly to create guest domains now. Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users