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

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


  • To: Thomas <iamkenzo@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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