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

Re: [Xen-users] Installing a Debian Etch DomU using debootstrap

To: Thomas <iamkenzo@xxxxxxxxx>
Subject: Re: [Xen-users] Installing a Debian Etch DomU using debootstrap
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Sun, 31 Aug 2008 09:53:22 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 31 Aug 2008 06:53:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ITtjOkRCEeBdGAH8S1UiOfr3ZCBN0wyMKTum8EABErs=; b=a0ZlhR42NWS4QdTvehQuaR+0gh3dZ3xGVzk1o5D+tI+JawNUuatwoFvANbubDgpJ3e zfaJ9RVvV7l3n1gq9XJmkg1/3xsu4IDrvJJOLQ1NfRz1tgao6TlVeauAz3nKG8B4CNdp Jt1nkJmZ5j+M8nm0GnKmaiUuC5OvRDv23enyo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=NyfUvyo24thEKci7bmafEe3f8f+zySqjzICiGT7dwqb8RTM9sddQ1jViaFR9T9+jww SYq0Xuqk361mTKlihO/lOJfrksp8BK5VJHSF9qHBJSXYb8ym1PRqsaIQ0ZPUm1EuUt/T aPx8VpBH1Ge7zPS8ZhA36ao+jQTifS8V73v6g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <55da14450808310644g5c6cbe16ja6dec39332d8fb09@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: <1216453270.7116.6.camel@xxxxxxxxxxxxxx> <1216589918.3412.11.camel@xxxxxxxxxxxx> <55da14450807210338y52e0c5e2yd2cde9c2af165a9e@xxxxxxxxxxxxxx> <1216753058.3676.2.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450807221254x7f54a47eg2f510b32b3382592@xxxxxxxxxxxxxx> <1216902438.3639.9.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450808181413v36698d70m6ac22bfed60bf71d@xxxxxxxxxxxxxx> <1219129103.12239.2.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450808190015j687e306fgae02d610192cd0c9@xxxxxxxxxxxxxx> <55da14450808310644g5c6cbe16ja6dec39332d8fb09@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> I don't understand how to do the step: "You need to copy the DomU
> kernel's /lib/modules/<version> to the initrd. "
>

On Dom0, do:

uname -r
(make sure the output is the -xen kernel)

Then do:

mkinitramfs -o /tmp/debian-installer/amd64/initrd.img-2.6.18-6-xen-amd64
  `uname -r`

That command will create the initrd named:
/tmp/debian-installer/amd64/initrd.img-2.6.18-6-xen-amd64
using the modules on your dom0 that will work in the domU

Then, change this line in your domU config
> initrd = "/tmp/debian-installer/amd64/initrd.gz"

to:
initrd = "/tmp/debian-installer/amd64/initrd.img-2.6.18-6-xen-amd64"


Hope that helps.
Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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