I dont see any domU kernels inside /boot. Can anyone tell me what package contains these? I havent been able to find any on the centos mirrors (so far). thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Aug 23, 2007 at 06:06:45PM -0700, Mike H wrote:> I dont see any domU kernels inside /boot. Can anyone tell me what package > contains these? I havent been able to find any on the centos mirrors (so > far).The kernel/initrd for installing RHEL / CentOS are in the install media under $ROOT/images/xen/ Boot those & it''ll take you into anaconda. Once the anaconda install is complete the guest filesystem will contain the suitable kernel/initrd for running the live system. In dom0 use bootloader="/usr/bin/pygrub" to boot the guest using the kernel/initrd from inside the guest filesytem Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange wrote:> On Thu, Aug 23, 2007 at 06:06:45PM -0700, Mike H wrote: > >> I dont see any domU kernels inside /boot. Can anyone tell me what package >> contains these? I havent been able to find any on the centos mirrors (so >> far). >> > > The kernel/initrd for installing RHEL / CentOS are in the install media > under $ROOT/images/xen/ > > Boot those & it''ll take you into anaconda. Once the anaconda install is > complete the guest filesystem will contain the suitable kernel/initrd for > running the live system. In dom0 use bootloader="/usr/bin/pygrub" to > boot the guest using the kernel/initrd from inside the guest filesytem >Dan? Please look before you say things like this. He''s not talking about the installation media, he''s talking about the actual kernels on DomU''s, as installed in /boot. RedHat doesn''t publish kernel-xenU packages for RHEL 5, only kernel-xen packages. That''s why he won''t find one. The kernel-xen packages work fine: You could probably build your own optimized kernel-xenU, but I don''t see much reason to do so. Do you? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Boot those & it''ll take you into anaconda. Once the anaconda install is > > complete the guest filesystem will contain the suitable kernel/initrd for > > running the live system. In dom0 use bootloader="/usr/bin/pygrub" to > > boot the guest using the kernel/initrd from inside the guest filesytem > > Dan? Please look before you say things like this. He''s not talking about > the installation media, he''s talking about the actual kernels on DomU''s, > as installed in /boot. > > RedHat doesn''t publish kernel-xenU packages for RHEL 5, only kernel-xen > packages. That''s why he won''t find one. The kernel-xen packages work > fine: You could probably build your own optimized kernel-xenU, but I > don''t see much reason to do so. Do you?A -xenU kernel can be a bit smaller, but I really don''t think there''s much need to build them nowadays (unless you''re building them a lot for testing purposes and therefore want to speed up the build process). If the OP is trying to setup a domU though, the most straightforward way of doing so is probably to follows Dan''s advince and ferret out the install kernel / initrd from the install media, then boot those. And then it''s possible to boot the guest using pygrub, which is more like having a native system available. This only works if your host system is using PAE (it already is if it''s CentOS / RHEL) because that''s what the RH Xen kernels require. Of course, if your host is already CentOS / RHEL5 you could probably use virt-install / virt-manager to install a domU, and this''ll be taken care of for you... 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
Thanks for the info. I tried that out, but I just get the following: Error: (22, ''Invalid argument'') and in /var/log/xen/xend-debug.log: ERROR: Kernel not a Xen-compatible Elf image. ERROR: Error constructing guest OS Here''s my config kernel = "/xen-boot/vmlinuz" ramdisk = "/xen-boot/initrd.img" name = "centos4" memory = "512" disk = [ ''tap:aio:/xen/centos4,xvda,w'', ] vif = [ ''bridge=xenbr0'', ] vcpus=1 on_reboot = ''destroy'' on_crash = ''destroy'' Doing the same for centos5 works fine. The host system is centos 5 i386 running xen 3.0.3. Thanks again. On 8/23/07, Daniel P. Berrange <berrange@redhat.com> wrote:> > On Thu, Aug 23, 2007 at 06:06:45PM -0700, Mike H wrote: > > I dont see any domU kernels inside /boot. Can anyone tell me what > package > > contains these? I havent been able to find any on the centos mirrors (so > > far). > > The kernel/initrd for installing RHEL / CentOS are in the install media > under $ROOT/images/xen/ > > Boot those & it''ll take you into anaconda. Once the anaconda install is > complete the guest filesystem will contain the suitable kernel/initrd for > running the live system. In dom0 use bootloader="/usr/bin/pygrub" to > boot the guest using the kernel/initrd from inside the guest filesytem > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 > -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users