Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

RE: [Xen-users] Creating linux guest filesystem

To: rob@xxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Creating linux guest filesystem
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 29 Jun 2007 16:20:55 +0200
Delivery-date: Fri, 29 Jun 2007 07:20:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070629140737.M45813@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/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: Ace6V271VPaLPuFOTlqHmgq1k0eqfwAADClg
Thread-topic: [Xen-users] Creating linux guest filesystem
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Rob van Oostveen
> Sent: 29 June 2007 15:11
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Creating linux guest filesystem
> 
> Hi,
> 
> Can anyone guide me through (or point me to a readme) the procedure of
> creating a filesystem for a guest linux domain? I've set up a 
> redhat fc6 with
> Xen 3.1 as the domain-0.

Is this for para-virtual or HVM domain?

The process is pretty similar to begin with: You create a file/partition
(or files/partitions if you want) that is your domain "disk(s)". E.g.
"dd if=/dev/zero of=mydisk.img bs=1M count=10k". 

This will create a 10G disk image. 

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. 

For HVM installations, I usually do a base-install from a CDROM and if I
need more than one, I copy the resuling image/partition to create
multiple installations. 

--
Mats
> 
> Thank you.
> 
> Regards,
> Rob
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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