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): <partitioning> <drive> <device>/dev/hda</device> <partitions> <partition> <mount>/</mount> <size>3gb</size> </partition> <partition> <mount>swap</mount> <size>auto</size> </partition> </partitions> <use>all</use> </drive> </partitioning> 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 -- ------------------------------------------------------- M.L.Hilgenga University of Groningen Department of Applied Physics Nijenborgh 4, 9747 AG Groningen The Netherlands tel: +31-50-3638045 fax: +31-50-3634886 email : m.l.hilgenga@rug.nl -------------------------------------------------------
On Friday 01 July 2005 14:35, Maarten Hilgenga wrote:
my configuration file looks like this (for partitioning):
fix the following:
<partitioning> <partitioning config:type="list">
<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>
-- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nürnberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
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
participants (3)
-
Lars Stavholm
-
Maarten Hilgenga
-
Uwe Gansert