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] Creating linux guest filesystem

To: r.vanoostveen@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Creating linux guest filesystem
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 29 Jun 2007 16:39:04 +0200
Delivery-date: Fri, 29 Jun 2007 07:38:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070629143011.M58505@xxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace6WsZNuHHM22VTT/2wFo4jqYhc8gAAC5yw
Thread-topic: [Xen-users] Creating linux guest filesystem
 

> -----Original Message-----
> From: Rob van Oostveen [mailto:rob@xxxxxxxxxxxxxxx] 
> Sent: 29 June 2007 15:35
> To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Creating linux guest filesystem
> 
> Mats,
> 
> > Is this for para-virtual or HVM domain?
> 
> para-virtual
> 
> > If you are using it as PV-domain storage, then you need to create a
> > file-system and copy in the files to build a linux 
> infrastructure on the
> > disk. There are tools around to do that. "debootstrap" is 
> one of those
> > (it works for Debian-like distributions). Redhat/Fedora uses
> > "virt-install" fo the same purpose (but it's only able to 
> install off a
> > network source accoreding to the docs I found in a quick 
> search). You
> > may want to google these things.
> 
> I tried virt-install, but doesnt work. I suspect this is due 
> to the fact that
> I didn't use the rpm's.
> 
> If I wanted to create a basic filesystem based on PV storage, 
> besides creating
> the logical volume and filesystem itself, how can I create 
> the linux direcotry
> infrastructure? 

You could essentially do "tar cf  - / --exclude /mnt | tar xf - -C
/mnt/mydisk" where "/mnt/mydisk" is your mounted disk-image. [I'm not
entirely sure about the exact syntax - but I think the above will do the
trick]. 

--
Mats
> 
> Thank you.
> 
> Regards,
> Rob
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users