WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: How can I re-build domU's Kernel?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: How can I re-build domU's Kernel?
From: Mike Fröhner <mikefroehner@xxxxxx>
Date: Mon, 20 Dec 2010 12:46:28 +0100
Delivery-date: Mon, 20 Dec 2010 03:48:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinN_US9Mg0WV7RpKyctLmBcgjG5+34zXZr2nABp@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinN_US9Mg0WV7RpKyctLmBcgjG5+34zXZr2nABp@xxxxxxxxxxxxxx>
Reply-to: mikefroehner@xxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7
Am 20.12.2010 08:11, schrieb 김병기:

I have fedora13 as domain0 kernel on xen-3.4.3 or xen-4.0.1.

I installed ubuntu10.04 as guest-os following this :

1) download installer from :

-
http://fi.archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz
-
http://fi.archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz

to /boot directory


2) edit xen guest config file

kernel ="/boot/vmlinuz"
ramdisk ="/boot/initrd.gz"
memory = 1024
name ="ubuntu01"
vcpus = 1
vif = ['bridge=xenbr0']
disk = ['phy:vg_f13/ubuntu01,xvda,w']
bootloader ="/usr/bin/pygrub"


3) Install ubuntu10.04 as normal way.

4) after installation finished. reboot gueset-os with config. This ubunt
guest works well.

memory = 1024
name ="ubuntu01"
vcpus = 1
vif = ['bridge=xenbr0']
disk = ['phy:vg_f13/ubuntu01,xvda,w']
bootloader ="/usr/bin/pygrub"


But, I have questions.

1) Is this ubuntu machine works as para-virtualized kernel or HVM?

Looks like a PVM.

2) If this is PV-dom then How can I compile the guest-kernel ?

You can easiely compile many different kernel on linux. I have running a gentoo x86_64 dom0 (2.6.34) and xend (4.0.0). For my domUs (mostly gentoo but also ubuntu and other dists) I am using different kernel.

I compiled them at /usr/src/linux directory with make O=<sub-dir|any-other-dir> menuconfig etc. I never used fedora, but google said u have to install the kernel sources, if u want to compile your own kernel.



(It is not necessary to have domU kernel / ramdisk at boot dir.

My folder hierarchy is:

/vm/<domU-name>/ ...
... kernel
... iso image
... config file)

Thanks in advance. :)

-BK



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



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

<Prev in Thread] Current Thread [Next in Thread>