Mailinglist Archive: opensuse-autoinstall (46 mails)

< Previous Next >
Re: [suse-autoinstall] partitioning fails
  • From: Lars Stavholm <stava@xxxxxxxxxx>
  • Date: Fri, 1 Jul 2005 12:42:28 +0000 (UTC)
  • Message-id: <42C53A2F.7050603@xxxxxxxxxx>
Maarten Hilgenga wrote:
Dear all,

as a systemadministrator for a research group at a university,I'd like to use autoyast to install version 9.3 on all the computers. While trying my autoyast file on a test system, I get this error while partitioning:


"Error while configuring partitions. Try again."

When I look at the partitioning after this, it looks like yast is determining it's own partitioning scheme, since it partitions a swap partition first and then a / partition.

my configuration file looks like this (for partitioning):

It should look slightly different...

<partitioning>
<drive>
<device>/dev/hda</device>
<partitions>

<partitions config:type="list">

<partition>
<mount>/</mount>
<size>3gb</size>
</partition>
<partition>
<mount>swap</mount>
<size>auto</size>
</partition>
</partitions>
<use>all</use>
</drive>
</partitioning>

In order to catch these kind of errors early on,
you could use...

% xmllint --nooout --valid autoinst.xml

R
/LarS

after checking y2log I found the following error:

2005-07-01 07:24:22 <3> linux(2771) [Interpreter] clients/inst_autosetup.ycp:118 Can't convert value '$["drive":$["device":"/dev/hda", "partitions":$["partition":$["mount":"swap", "size":"auto"]], "use":"all"]]' to type 'list'
2005-07-01 07:24:22 <3> linux(2771) [Interpreter] clients/inst_autosetup.ycp:118 Parameter eval failed (/* any -> list */Profile::Flat["partitioning"]:[])
2005-07-01 07:24:22 <1> linux(2771) [YCP] AutoinstStorage.ycp:300 Target map: $["/dev/hda":$["bios_id":"0x80", "bus":"IDE", "cyl_count":13328, "cyl_size":483328, "label":"msdos", "max_logical":63, "max_primary":4, "model":"MPD3064AT", "name":"1. IDE, 5.9 GB, /dev/hda, FUJITSU-MPD3064AT", "partitions":[], "scrpath":."hda", "unique":"l_yX.aATOdNRb6qD"]]
2005-07-01 07:24:22 <1> linux(2771) [YCP] AutoinstStorage.ycp:306 disk with bios_id 0x80: /dev/hda
2005-07-01 07:24:22 <1> linux(2771) [YCP] AutoinstStorage.ycp:311 mbr disk: /dev/hda
2005-07-01 07:24:22 <1> linux(2771) [YCP] AutoinstStorage.ycp:164 processed autoyast partition plan: $[]

TIA,

Maarten Hilgenga


< Previous Next >
References