[opensuse-autoinstall] Error while configuring partitions. Try again.
Dear List
With my autoyast script I get a dialog "Error while configuring partitions. Try again." during the phase 'Create partition plans.'
A syslog server sees only a few kernel log message from the install host. The /var/log/Yast2 log on the install host gives no clue about what the error is.
Can anyone suggest how to get a more useful diagnostic?
Here is my xml file FWIW
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<add-on>
Hello Ian, did you try to replace the max by something smaller? <size>max</size> Regards Alfred At 18:16 30.03.2007, Ian Grant wrote:
Dear List
With my autoyast script I get a dialog "Error while configuring partitions. Try again." during the phase 'Create partition plans.'
A syslog server sees only a few kernel log message from the install host. The /var/log/Yast2 log on the install host gives no clue about what the error is.
Can anyone suggest how to get a more useful diagnostic?
Here is my xml file FWIW
<?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <add-on>
</add-on> <bootloader> <activate config:type="boolean">true</activate> <global> <activate>true</activate> <firmware>fd0</firmware> <linux>/dev/fd0</linux> <firmware>hd0</firmware> <linux>/dev/sda</linux> true <gfxmenu>/boot/message</gfxmenu>3 <timeout config:type="integer">8</timeout> </global>/dev/sda grub <location>mbr</location>true </bootloader> <firewall>ntp eth0 ssh ntp true true </firewall> <general> <mode> <confirm config:type="boolean">true</confirm> <halt config:type="boolean">false</halt>true </mode> <mouse> <id>none</id> </mouse> <signature-handling>false false false false false </signature-handling> </general> <keyboard> <keymap>english-uk</keymap> </keyboard> <language> <language>en_GB</language> <languages></languages> </language> <partitioning config:type="list"> <drive> <device>/dev/sda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition>false <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount>131 1 primary <size>max</size> </partition> <partition>false <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount>130 2 primary <size>4G</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <proxy> <enabled config:type="boolean">true</enabled>http://host.cam.ac.uk:8080/ http://host.cam.ac.uk:8080/ localhost, 127.0.0.1, cam.ac.uk </proxy> <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </report> <runlevel> <default>5</default> </runlevel> <users config:type="list"> <user> <encrypted config:type="boolean">true</encrypted>obscured <username>root</username> </user> </users> <scripts> <init-scripts config:type="list"> <script> <debug config:type="boolean">true</debug> <filename>post-init</filename> <location></location> <source>echo "$(date): in post-init script" >>/tmp/install.log
# Mount filer volume mkdir /mnt/nfs || exit 1 mount somehost:/vol/vol3/sys-li9/suse-10.2 /mnt/nfs || exit 1
# Call out to shell script, logging everything /bin/bash -x /mnt/nfs/autoyast/post-init.sh >>/tmp/install.log 2>&1
umount /mnt/nfs
]]></source> </script> </init-scripts> </scripts> <software> <patterns config:type="list"> <pattern>apparmor</pattern> <pattern>base</pattern> <pattern>fonts</pattern> <pattern>imaging</pattern> <pattern>kde</pattern> <pattern>kde_basis</pattern> <pattern>kde_imaging</pattern> <pattern>sw_management</pattern> <pattern>sw_management_x11</pattern> <pattern>x11</pattern> <pattern>xgl</pattern> <pattern>yast2_basis</pattern> <pattern>zmd</pattern> <pattern>zmd_x11</pattern> </patterns> <remove-packages config:type="list"> <package>smtp_daemon</package> </remove-packages> </software> <timezone> <hwclock>UTC</hwclock> <timezone>Europe/London</timezone> </timezone>
<expire></expire> <group>100</group> <groups>video,dialout</groups> <home>/home</home> <inactive>-1</inactive> <shell>/bin/bash</shell> <skel>/etc/skel</skel> <networking><interfaces config:type="list"> <interface> <bootproto>dhcp</bootproto> <device>eth0</device> <startmode>auto</startmode> <usercontrol>no</usercontrol> </interface> </interfaces> <managed config:type="boolean">false</managed> <modules config:type="list"> AUTO <device>static-0</device> <module></module> <options></options> </modules> <routing>false </routing> </networking><autoget config:type="boolean">false</autoget> <x11>true <skipPre config:type="boolean">false</skipPre><day config:type="integer">0</day> <hour config:type="integer">0</hour> <minute config:type="integer">0</minute> true <timing>daily</timing>24 kdm false kde </x11> </profile> -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Mon, 2007-04-02 at 09:56 +0200, Alfred Isele wrote:
Hello Ian,
did you try to replace the max by something smaller? <size>max</size> Regards Alfred
Hi, Thanks for the suggestion, but no. I don't have time to try all possible combinations of parameters, I want useful diagnostics! :-) Ian -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Friday 30 March 2007 18:16, Ian Grant wrote:
With my autoyast script I get a dialog "Error while configuring partitions. Try again." during the phase 'Create partition plans.'
SUSE Linux version? Actually your partitioning section looks good. So the hint to change the "max" to something that would fit for sure is not that bad. Maybe there is something broken with the "max" calculation on your hardware. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: Monday, April 02, 2007 5:09 AM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] Error while configuring partitions. Try again.
On Friday 30 March 2007 18:16, Ian Grant wrote:
With my autoyast script I get a dialog "Error while configuring partitions. Try again." during the phase 'Create partition plans.'
SUSE Linux version? Actually your partitioning section looks good. So the hint to change the "max" to something that would fit for sure is not that bad. Maybe there is something broken with the "max" calculation on your hardware.
I've seen this on opensuse 10.2. When attempting to create an LVM partition of size "max", it attempts to allocate exactly 1 extent more than is available on the device. We get around it by setting the <size> section to something reasonable, but smaller than a fully allocated device. I filed a bug for this way back...like 3 or 4 months ago. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (4)
-
Alfred Isele
-
Ian Grant
-
Marlier, Ian
-
Uwe Gansert