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 10:26:08 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 31 Aug 2008 07:26:43 -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=vizeAJ683i9uWXidv3IDe06TBuOV775duI0sbgSkLpQ=; b=ES8DEbr7qDcotshpQlDjCd/3LAUctWWEPXcYYX/PACETW4JzP3imuq+mPg3pJKuY3A aVWeD65sAzDCtymyVMqd/ClSaxp4LQKlOTQWEibeyuPfg1JQYfuJt6kfAkwJqeoIok5D OypxWm/zbzxd/dDhxVbP3+RFKKY8M0IfT87ss=
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=MmT1yVZQSaAgdFlHAWfZCxGVen2fX/9EJtjrJ8Wc6wOxVSO1z4lX5AIh5aDplO65+h hrc8Do6tdo6NZOfiyiIgJGhIJaKj8iC979h7V9n5+ANpgyStk0Rf5OqjMeF6+DDy/8yg 4xnDJ28pfB+EIiy2KzuOybJ7nOEle97iSc7vU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <55da14450808310708v14ee9f9fq1fb7cbfffb2d1c4f@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> <1216753058.3676.2.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450807221254x7f54a47eg2f510b32b3382592@xxxxxxxxxxxxxx> <1216902438.3639.9.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450808181413v36698d70m6ac22bfed60bf71d@xxxxxxxxxxxxxx> <1219129103.12239.2.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450808190015j687e306fgae02d610192cd0c9@xxxxxxxxxxxxxx> <55da14450808310644g5c6cbe16ja6dec39332d8fb09@xxxxxxxxxxxxxx> <1e16a9ed0808310653qf1db2f6ndd5191c025cda123@xxxxxxxxxxxxxx> <55da14450808310708v14ee9f9fq1fb7cbfffb2d1c4f@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Aug 31, 2008 at 10:08 AM, Thomas <iamkenzo@xxxxxxxxx> wrote:
> Why do I need to completely regenerate the initrd file? I just want to
> use the Netboot Debian Installer initrd, I would expect it to run out
> of the box!? Moreover my dom0 uses a custom kernel whereas my domU
> will be using an official xen kernel.
>

I see, so you just want to add it... you should be able to extract and mount
the initrd.gz file. I don't know the exact commands but the basic idea would
be:

<unzip the initrd>
mount -o loop <the extracted initrd> /mnt/<somemountpoint>
cp /lib/modules/<xen kernel version>/<the modules you need> /mnt/<the
mountpoint>
umount /mnt/<the mountpoint>
<compress the initrd back>

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