Mailinglist Archive: opensuse-autoinstall (89 mails)

< Previous Next >
Re: [suse-autoinstall] Disk partitioning with pre script !!
  • From: "Hans-Joachim Ehlers" <HansJoachim.Ehlers@xxxxxxxxxxxx>
  • Date: Wed, 19 Oct 2005 14:19:04 +0000 (UTC)
  • Message-id: <s35671f6.045@xxxxxxxxxxxxxxxxxxxx>
Hi Ajay,
1) verify with ' xmllint ' any of your xml files.
2) Keep in mind that the rules.xml was an UNTESTed example.
3) Verfiy your directory structure and file security setting . No softlinks and what so ever.
4) I mentioned also the /var/log/Yast2 directory. You will find there the y2log* files . Search them for rules.xml. You will see what happens during parsing the rules.xml.
5) I hope that your 'global' xml does not contain any Swap info. Maybe it is a good idea to REMOVE any partition info from your 'global' xml file and put all partition information into your class files for the sake of simplity

To make the point:
a) verify that your rules.xml works as expected ( search in the log files )
If it works as aspected:
b) Verify the the merging process / the merged xml file

And maybe Uwe got an idea ?


Hans-Joachim Ehlers
UNIX Systems Engineer
Am Kavalleriesand, 31
64295, Darmstadt, Germany
Tel : +49 6151 807-7307

>>> Ajay Mulwani <ajaymulwani@xxxxxxxxx> 19/10/05 15:25 >>>
Hi Hans,

1. The class.xml file was missing that header and footer info which I
added and restarted the install. It seems the swap is still not there

2. rules.xml : is exactly the same as you had mailed earlier.

$ cat rules.xml
<?xml version="1.0"?>
<!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/rules.dtd">
<autoinstall xmlns="";
<rules config:type="list">
mem=$( cat /proc/meminfo | grep -i memtotal | awk '{ print $2 } ' } #
Output is in kbytes
echo -n $mem
<continue config:type="boolean">true</continue>
<continue config:type="boolean">true</continue>
<continue config:type="boolean">false</continue>


3. /var/adm/autoinstall/cache/InstalledSystem.xml is certainly missing
the swap partition info.

4. The latest documentation link seems to not working currently.


< Previous Next >