Hello all, I am currently running Ubuntu Gutsy AMD64 as my dom0 and planning to have the following domUs: [1] Debian Etch AMD64 [2] CentOS 5 AMD64 [3] MS Windows XP 32bit My question are the following: [1] Is it possible that for domU [1] and [2] (above) to use their own stock kernel and not using dom0''s kernel? [2] Any tips you can share on how to install different GNU/Linux distributions as the domUs? [3] Can I install MS Windows XP 32bit as domU even if my hardware is an AMD64 machine? [4] Can I make use of the CD-ROM drive, sound card and USB ports from the MS Windows XP 32bit domU? Please advice. Thank you in advance. GNUbie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
GNUbie wrote:> [1] Is it possible that for domU [1] and [2] (above) to use their own stock > kernel and not using dom0''s kernel?Yes, this is possible.> [2] Any tips you can share on how to install different GNU/Linux > distributions as the domUs?For debian/ubuntu, look for debootstrap and rpmstrap which are already in debian/ubuntu. Sorry, I can''t answer the windows questions, but I am interested in the answers myself. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- Learning Linux is like joining a cult. Sure it''s fun at first but you waste time, become brainwashed, and then have to be de-programmed by Bill Gates before you can work for Him again. - Ray Lopez, in UFhK4.33289$y4.1192894@newsread1.prod.itd.earthlink.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
GNUbie wrote:> Hello all, > > I am currently running Ubuntu Gutsy AMD64 as my dom0 and planning to > have the following domUs: > > [1] Debian Etch AMD64 > [2] CentOS 5 AMD64 > [3] MS Windows XP 32bit > > My question are the following: > > [1] Is it possible that for domU [1] and [2] (above) to use their own > stock kernel and not using dom0''s kernel?Yes, use pygrub to load kernel from domU.> [2] Any tips you can share on how to install different GNU/Linux > distributions as the domUs?It should be possible to install from CDROM or http network install. On Redhat, virt-manager makes it easy for you. Another option is to use prebuilt domU tarball.> [3] Can I install MS Windows XP 32bit as domU even if my hardware is > an AMD64 machine?Yes> [4] Can I make use of the CD-ROM drive,yes> sound cardprobably> and USB portsNo.> from the MS Windows XP 32bit domU? >Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Fajar, On 10/8/07, Fajar A. Nugraha <fajar@telkom.net.id> wrote:> > > > [1] Is it possible that for domU [1] and [2] (above) to use their own > > stock kernel and not using dom0''s kernel? > Yes, use pygrub to load kernel from domU.pygrub? It''s not in my repositories. Is it a graphical tool for GRUB? Where exactly shall I point t> [2] Any tips you can share on how to install different GNU/Linux > > distributions as the domUs? > It should be possible to install from CDROM or http network install. On > Redhat, virt-manager makes it easy for you.Another option is to use prebuilt domU tarball. Ok.> [3] Can I install MS Windows XP 32bit as domU even if my hardware is > > an AMD64 machine? > YesOk.> [4] Can I make use of the CD-ROM drive, > yes > > sound card > probably > > and USB ports > No. > > from the MS Windows XP 32bit domU? >Ok. Thank you for the tips. GNUbie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Erik, On 10/8/07, Erik de Castro Lopo <mle+tools@mega-nerd.com> wrote:> > GNUbie wrote: > > > [1] Is it possible that for domU [1] and [2] (above) to use their own > stock > > kernel and not using dom0''s kernel? > > Yes, this is possible.Does this mean that the domU itself has a kernel installed in its /boot partition?> [2] Any tips you can share on how to install different GNU/Linux > > distributions as the domUs? > > For debian/ubuntu, look for debootstrap and rpmstrap which are already > in debian/ubuntu.Ok. Sorry, I can''t answer the windows questions, but I am interested in> the answers myself.It''s ok. Thank you for the tips. GNUbie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
GNUbie wrote:> Hello Erik, > > On 10/8/07, *Erik de Castro Lopo* <mle+tools@mega-nerd.com > <mailto:mle+tools@mega-nerd.com>> wrote: > > GNUbie wrote: > > > [1] Is it possible that for domU [1] and [2] (above) to use > their own stock > > kernel and not using dom0''s kernel? > > Yes, this is possible. > > > Does this mean that the domU itself has a kernel installed in its > /boot partition?Yes. In my case, the minimum entry for a PV linux domU is something like this : ==========================memory = "250" disk = [ ''phy:/dev/vg/rootlv,hda1,w'',''phy:/dev/vg/swaplv,hda2,w'' ] vif = [ '''' ] bootloader="/usr/bin/pygrub" ========================== no kernel line, no initrd line. pygrub will search the content of /dev/vg/rootlv for /boot/grub/menu.lst and (if started with xm create -c) display a menu similar to grub. pygrub is part of xen userloand tools, it''s not a separate package. You might find it easier to use a GUI frontend (like virt-manager in RHE) to create a domU. It will setup all the necessary bits, including pygrub. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon Oct 08, 2007 at 16:29:30 +0800, GNUbie wrote:> For debian/ubuntu, look for debootstrap and rpmstrap which are already > in debian/ubuntu.Better yet install and use xen-tools. Then you can do something like this: xen-create-image --ip=192.168.1.100 --hostname=foo.bar.local --dist=etch Steve -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > [3] Can I install MS Windows XP 32bit as domU even if my hardware is > > > > > an AMD64 machine? > > > > Yes > > Ok. > > > [4] Can I make use of the CD-ROM drive, > > yesYou can''t, however, access audio CDs.> > > sound card > > > > probablyThere''s a config option for this, and I think people have used it successfully, however I''ve not tried it myself.> > > and USB ports > > > > No.USB ports are possible in principle; there are config file options to connect host USB devices through to a guest. But it''s not very user friendly and some folks have had problems with it. Still, if you give it a go, it may work for your uses (for USB 1 devices, anyhow, USB2.0 isn''t supported AFAIK). Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sunday 07 October 2007 22:16:16 Erik de Castro Lopo wrote:> GNUbie wrote: > > [1] Is it possible that for domU [1] and [2] (above) to use their own > > stock kernel and not using dom0''s kernel? > > Yes, this is possible.This assumes one is using an AMD or Intel chip with the appropriate "VT" hooks, though, no? -Alan M. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > GNUbie wrote: > > > [1] Is it possible that for domU [1] and [2] (above) to use their own > > > stock kernel and not using dom0''s kernel? > > > > Yes, this is possible. > > This assumes one is using an AMD or Intel chip with the appropriate "VT" > hooks, though, no?If the distros in question also supply Xen-enabled kernels then this should be possible (with some caveats): RHEL / CentOS only supply PAE-enabled Xen kernels, so you''d need a PAE Xen to host them. If the guest kernel uses newer features than your Xen has available then it won''t work; however, most guest kernels probably have compatibility for older Xens built in so this is less likely to be a problem. For HVM you should be able to boot any native x86 kernel with the same or "lesser" memory mode (i.e. a non-PAE Xen only boots non-PAE HVM. PAE Xen boots both PAE and non-PAE HVM). Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users