[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 09:53:22 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 31 Aug 2008 06:53:56 -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=NyfUvyo24thEKci7bmafEe3f8f+zySqjzICiGT7dwqb8RTM9sddQ1jViaFR9T9+jww SYq0Xuqk361mTKlihO/lOJfrksp8BK5VJHSF9qHBJSXYb8ym1PRqsaIQ0ZPUm1EuUt/T aPx8VpBH1Ge7zPS8ZhA36ao+jQTifS8V73v6g=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> 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


 


Rackspace

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