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] debian lenny domU installation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] debian lenny domU installation
From: George Pitich <george_pitich@xxxxxxxxx>
Date: Tue, 7 Jul 2009 10:39:58 -0700 (PDT)
Delivery-date: Tue, 07 Jul 2009 10:40:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1246988398; bh=D4fiia5lRAXoh4a6iI9m0ohVYzc8i41ttUNLM+XIQeI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=PAw2T+0jPn+6qFKxFxhJxbG5SAdAalceQ5TDvLSFcwz8wBaR2pSPQe3B3TZ6p5KJZ6ZvNIx55qupabiOPbIxeTMDCGl/l3uG/oivfMcniFRFtvS9pv44amAxKptw9vp6hxtoH+0ulTR7cHpG3ZuGArvT219fjzqXpLwWYQig6xQ=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=kFx56J11zty5uBj5zDLypnC0kkVtZ+aQmXcOzqcZVcEMd1AUssE9oT9JaRdsUQlFJYDyugQl2f8uQViDzTLSW+dDiQMOvlbjzZ2O6c5RhxDzzHfKSdiSsvN6vr6VK5lRwRPGoClFbI9N2GCeVruQBkASr0ly/jLzTuyeOEsR/0Y=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

> I'm trying to install lenny guest image (in an img file) on my lenny Dom0 by following the http://wiki.debian.org/Xen:
> xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian

> i created the xen-lenny-image.img using dd, format is ext3. disk is defined as (cfg file):

> disk = ['tap:aio:/xen/images/xen-lenny-image.img,xvda,w']

> once i start the installation everything looks good until the point where installation process asks to specify disk driver?
> which driver to use as guest image is a file? i would assume some generic driver like virtio_blk but it didn't work (installation won't proceed).
> am i missing something?

change tap:aio: to file: then debian installer can find the disk

I think I initially specified that but it didn't work for me? Finally I configured xen-tools.conf and used xen-create-image to create the image and it worked. Once I checked vm config file id did actually have:

file:/home/xen/domains/test-vm/swap.img,sda1,w',
'file:/home/xen/domains/test-vm/disk.img,sda2,w'

Thanks all for your help!


Looking for the perfect gift? Give the gift of Flickr!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users