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] Customising a Debian XGT template.dat file

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Customising a Debian XGT template.dat file
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 10 Jan 2007 03:18:03 +0000
Cc: Jon Eicher <the_roof@xxxxxxxxxxx>
Delivery-date: Tue, 09 Jan 2007 19:15:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY134-F29D82078EFA2C0885D2EE5FDB30@xxxxxxx>
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>
References: <BAY134-F29D82078EFA2C0885D2EE5FDB30@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hi Jon,

May I suggest you try the XenSource forums at 
http://forums.xensource.com/index.jspa

This mailing list has mostly users of the open source Xen project, and there's 
not a whole lot of community knowledge about the XenSource products here.  
You might find the XenSource forums have more people who are interested in 
the same things as you, so you may get a quicker response there.

It's possible that XenEnterprise expertise on this mailing list will increase 
over time though.

Hope this helps you find an answer!

Cheers,
Mark

> Does anyone have any documentation of how to create customized XGT files?
> (These are the files are on the Xen host in /opt/xensource/packages/xgt).
>
> This is what I understand so far - the .xgt extension is really a zip file.
> The debian.xgt is really these three files zipped up together -
> root.tar.bz2, swap.img and template.dat.
>
> I've created my own root.tar.bz2 by tarring up a customised debian install
> of sarge.  The part I don't understand is the format of the template.dat
> file.  I want three partitions - a root partition, a swap partition and a
> /var partition.  I have a file called var.tar.bz2 that I want extracted to
> the /var partition during installation.  So far it creates the partition,
> but doesn't copy the files.  Has anyone else done this before?
>
> Here is what my template.dat file looks like:
>
> (xgt
>   (xgt-version 4)
>   (xgt_restricted 'true')
>   (name 'Jons Debian Sarge Guest Template')
>   (rootfs-type 'ext3')
>   (description 'Jons Debian for XenEnterprise')
>   (distrib debian)
>   (root-vbd sda1)
>   (root-vbd sdc1)
>
>   (boot_params "quiet")
>
>   (filesystem
>     (uri 'root.tar.bz2')
>     (function root)
>     (type tar-wholedisk)
>     (vbd sda)
>     (total_size 5368709120)
>     (used_size 455628081)
>   )
>
>   (filesystem
>     (uri 'swap.img')
>     (function root)
>     (type img)
>     (vbd sdb)
>     (total_size 1073742848)
>     (used_size 1073742848)
>   )
>
>   (filesystem
>     (uri 'var.tar.bz2')
>     (function user)
>     (type tar-wholedisk)
>     (vbd sdc)
>     (total_size 10485760000)
>     (used_size 10485760000)
>   )
> )
>
> Thank you,
> Jon Eicher
>
> _________________________________________________________________
> Type your favorite song.� Get a customized station.� Try MSN Radio
> powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>