Hi again,

[...]

I suppose you have figured out that already anyway, but it seems that there are
non-printable characters in your config file; I have no idea what a proper error
message should look like, but right now setup-storage from experimental says:


       ERROR (line 2): Invalid line: Was expecting '\n' but found "primary
               /boot    200               
               ext3    rw " instead
Syntax error

You should remove all the white space and type the space key again; as
indication of the error you may see the strange line break after "200", but for
a more proper error detection in this case I'm using this script:

#!/usr/bin/perl -w

my $lc = 0;

while(<>) {
  chomp;
  $lc++;
  my $content = $_; 
  my $length = length($content);

  for( my $i = 0; $i < $length; $i++ ) { 
    (ord(substr($content, $i, 1)) > 127) and die 
      "Invalid char near line $lc char $i: $content\n";
  }
}

exit 0;

Hope this helps,
Michael

Attachment: pgpgcgPCHV2ov.pgp
Description: PGP signature

Antwort per Email an