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

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


  • To: "Thomas Hager" <duke@xxxxxxxxxx>
  • From: Thomas <iamkenzo@xxxxxxxxx>
  • Date: Sat, 19 Jul 2008 19:57:06 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 19 Jul 2008 10:58:04 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=WtF1VDmX/lKfbHXTWAnKvdpqknQaMDUHdXkQVgB0MGvn3AaKed2Z03oFSzBtVQqVhe 0QtpdyVDwj0NjGdKsuTjagWoiuw4+i6wr9Ee5ZyhBJ+u55UOZkCB04gpEHqMrdtYnfBT 0mS1r80nhoVR50nNmBa2HbRWVEr3sY8PlYzzE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Tom,

I created 2 lvm volumes, one ext3 and the other one swap of course.
Then mounted my volume in a directory /mnt, issued the following
command:
debootstrap --arch amd64 etch /mnt http://ftp.debian.org/debian

Installation happens.

Here is my configuration file:
--
#  -*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6.18-6-xen-amd64"
initrd = "/boot/initrd.img-2.6.18-6-xen-amd64"
memory = "256"
maxmem = "1024"
name = "debian64"
vif = [ 'mac=00:16:3e:00:00:05, ip=10.0.0.5' ]
disk = [ 'phy:/dev/mapper/xenvg-debian64,/dev/hda1,w',
         'phy:/dev/mapper/xenvg-debian64--swap,/dev/hda2,w' ]

root = "/dev/hda1"
extra='console=hvc0 xencons=hvc0'
--

I have correctly set the fstab, and securetty in the domU.

I installed linux-image-2.6.18-6-xen-amd64 in the dom0, I also copied
the modules to domU just in case. And it fails to mount the root fs.
Using a custom configuration file for compiling a vanilla kernel, it
works perfectly, but I would like to be able to use the packaged
kernel instead. Probably it is not compatible with debootstrap's
debian install?

How did you install the DomU with netinstall? Do you have a resource
to point me to? a tutorial?

_______________________________________________
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®.