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 Hager" <duke@xxxxxxxxxx>
Subject: Re: [Xen-users] Installing a Debian Etch DomU using debootstrap
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yX7WlQVFj2GyLNypxcg7za361BunacHQMExZzXISpBw=; b=pfRgNospwINDzKOqgUabYq4h4SvUI44Zl8ZXIGkXwa6A+voS0MmUjql3f6dZ07x7vR xUrP5B0ZhzK970dj8nWsevbCjBJWHJIAcdNRdBGuyaqLmis3XyiUdE3ziga46uZR1+Co yWAD8kiz3FOB427zYw5MrnVQqdYe+9CPWYk2s=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1216475358.3420.2.camel@xxxxxxxxxxxx>
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> <55da14450807190126x64db588dsde4dc389c2b27828@xxxxxxxxxxxxxx> <1216462677.3404.11.camel@xxxxxxxxxxxx> <55da14450807190514k18035423g358a6405370cab26@xxxxxxxxxxxxxx> <1216475358.3420.2.camel@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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