[xen-tools-discuss] Installing Debian with multiple partitions
Antoine Benkemoun
antoine.benkemoun at gmail.com
Tue May 18 00:05:51 CEST 2010
I'm having some problem with the --partitions option. I have created the
following partitions file :
------------
[root]
size=5G
type=ext3
mountpoint=/
options=sync,errors=remount-ro
[swap]
size=1G
type=swap
[home]
size=5G
type=xfs
mountpoint=/home
options=defaults
[tmp]
size=1G
type=xfs
mountpoint=/tmp
options=defaults
[usr]
size=5G
type=xfs
mountpoint=/usr
options=defaults
[var]
size=5G
type=xfs
mountpoint=/var
options=defaults
[data]
size=10G
type=xfs
mountpoint=/data
options=defaults
------------
When I try to create the creation, its give me the following error :
Use of uninitialized value $lines[0] in substitution (s///) at
/usr/share/perl5/Config/IniFiles.pm line 614.
Use of uninitialized value $_ in pattern match (m//) at
/usr/share/perl5/Config/IniFiles.pm line 628.
The root partition was not specified.
Perl version :
xen1:~/scripts# perl -v
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
I don't know Perl at all, therefore I have no idea what could be causing
such a bizarre error.
Thank you in advance for your help,
Antoine
On Mon, May 17, 2010 at 11:06 PM, Dmitry Nedospasov <dmitry at nedos.net>wrote:
> On 17.5.10 22:47, Axel Beckert wrote:
> >> What I would like to do is create a custom partitionning scheme for
> >> my domains.
> >
> > Have a look at the file /etc/xen-tools/partitions.d/sample-server
>
> Wow you learn something new every day. I haven't tried this out yet
> either (I didn't know it existed :)).
>
> I just wanted to mention that it's very easy to define "roles" with
> xen-tools which could do something along these lines as well if you feel
> in any way limited by the current functionality. If you were to extend
> xen-tools by adding a new role I recommend you take a look at the
> following files:
>
> 1. xm.tmpl
> 2. xen-tools.conf
> 3. xen-create-image
> 4. And obviously adding the script itself to the roles directory
>
> Regards,
>
> D.
>
>
>
> _______________________________________________
> xen-tools-discuss mailing list
> xen-tools-discuss at xen-tools.org
> https://xen-tools.org/mailman/listinfo/xen-tools-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20100518/2c80a712/attachment.htm>
More information about the xen-tools-discuss
mailing list