[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to add custom kernel onto jailtime.org's gentoo images


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
  • Date: Wed, 8 Apr 2009 22:37:31 +0200
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 08 Apr 2009 13:38:14 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OXiEJ31EciIQYcfWwKRrN5bCNOYLVLtDB0lSAsrpvXRh2OVPzoSo69dY31Q+2QE8Mf U8k1M+gNkShqW+pIHtYAfqAEgKLuatI6cJRUYxiriaQmEoOdqKtFvBJMNfoqxZLTx8Is gTMDWTvkm38zxHQExsJ3GKxU1/S+V8burVzKk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Apr 8, 2009 at 6:56 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Wed, Apr 8, 2009 at 11:23 AM, Rudi Ahlers <rudiahlers@xxxxxxxxx> wrote:
>> Hi Fajar,
>>
>> I use HyperVM to manage the XEN domU virtual machines, and from what I
>> understand, it does run a XEN kernel
>>
>> Linux usaxen01.softdux.com 2.6.18-8.1.15.el5xen #1 SMP Mon Oct 22
>> 09:01:12 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
>>
>>
>> The domU runs on Gentoo, so I don't know if it's the same as for
>> CentOS, in terms of installing a xen kernel?
>
> It's the same in that once you have a working kernel inside domU, you
> can use it by changing xen config file to use pygrub. That is:
> - in domU config file, comment-out "kernel" and "ramdisk" line, change it to
> bootloader="/usr/bin/pygrub"
> - in domU, create a file /boot/grub/menu.lst or /boot/grub/grub.conf
> which has contents similar to this
>
> default=0
> timeout=5
> hiddenmenu
> title RHEL5-xen-domU
>        root (hd0,0)
>        kernel /boot/vmlinuz-xen ro root=/dev/hda1
>        initrd /boot/initrd-xen.img
>
> - make sure domU's initrd has xenblk if it's compiled as module
> instead of built-in.
>
> Now the actual kernel package, content of grub.conf, and initrd would
> be different in Gentoo.
>
>>
>> I tried emerge --search xen, but the results weren't very good. Any 
>> suggestions?
>
> This might help
> http://lists.xensource.com/archives/html/xen-users/2009-04/msg00004.html
>
> Regards,
>
> Fajar
>

Hi Fajar,

I'm sorry, but I got lost on that link. I don't know Gentoo at all,
and I'm trying to help a client out, so this is really, really new to
me.

I'm trying to install xen, but I keep running into a wall with it.


sh-3.2# emerge xen
Calculating dependencies -
!!! All ebuilds that could satisfy "app-emulation/xen" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/xen-3.2.1 (masked by: ~amd64 keyword)
- app-emulation/xen-3.2.0 (masked by: ~amd64 keyword)
- app-emulation/xen-3.1.3 (masked by: ~amd64 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.



Reading through the man pages is a nightmare,probably cause it makes
no sense, and the formatting is aweful.

I've asked the client if he knows how to get past this step, and then
I'll see if I can get it to work.
Thanx for your help :)

-- 

Kind Regards
Rudi Ahlers

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.