# Problem while installing Autoinstall SLES 10 SP4

**URL:** <https://forums.suse.com/t/problem-while-installing-autoinstall-sles-10-sp4/23141>\
**Category:** SLES Install-Boot\
**Created:** [September 26, 2012, 1:27pm UTC](https://forums.suse.com/t/problem-while-installing-autoinstall-sles-10-sp4/23141 "2012-09-26T13:27:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilgchauhan](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@anilgchauhan](https://forums.suse.com/u/anilgchauhan)\
**Post date:** [September 26, 2012, 1:27pm UTC](https://forums.suse.com/t/problem-while-installing-autoinstall-sles-10-sp4/23141/1 "2012-09-26T13:27:38Z")

</div>

Hello,

We are facing a problem while installing SLES 10 SP4 using autoyast. The stage where it decides for getting the relevant xml profile based  
on the harddisk device type and size , it is getting failed. It seems it is not able to fetch the 2 values (disk size) and (device type).  
The confusing part here is , sometimes it gets these values and the installation gets completed as well. But sometimes it doesnt.

The Autoyast rpm is : autoyast2-installation-2.13.108-0.7.13.noarch.rpm

The relevant failure logs from /var/log/YaST2/y2log are :

2012-09-25 10:17:46 \<1\> (3369) [YCP] AutoInstallRules.ycp:434 Rules: $[“rules”:[$[“disksize”:$[“match”:"/dev/hda 5000", “match\_type”:“lo  
wer”], “result”:$[“continue”:false, “profile”:“SuseSystem1.xml”]], $[“disksize”:$[“match”:"/dev/sda 5000", “match\_type”:“lower”], “result”:$[“continue”:  
false, “profile”:“SuseSystem1.xml”]], $[“disksize”:$[“match”:"/dev/hda 10000", “match\_type”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem2.xml  
“]], $[“disksize”:$[“match”:”/dev/sda 10000”, “match\_type”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem2.xml”]], $[“disksize”:$[“match”:  
“/dev/hda 20000”, “match\_type”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem3.xml”]], $[“disksize”:$[“match”:"/dev/sda 20000", “match\_typ  
e”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem3.xml”]], $[“disksize”:$[“match”:"/dev/hda 36000", “match\_type”:“lower”], “result”:$[“con  
tinue”:false, “profile”:“SuseSystem4.xml”]], $[“disksize”:$[“match”:"/dev/sda 36000", “match\_type”:“lower”], “result”:$[“continue”:false, “profile”:“zco  
ms4.xml”]], $[“disksize”:$[“match”:"/dev/hda 36000", “match\_type”:“greater”], “result”:$[“continue”:false, “profile”:“SuseSystem5.xml”]], $[“disksize”😊  
[“match”:"/dev/sda 36000", “match\_type”:“greater”], “result”:$[“continue”:false, “profile”:“SuseSystem5.xml”]]]]

2012-09-25 10:17:46 \<3\> (3369) [bash] ShellCommand.cc(shellcommand):78 sh: -c: line 0: syntax error near unexpected token `)' 2012-09-25 10:17:46 <3> (3369) [bash] ShellCommand.cc(shellcommand):78 sh: -c: line 0: `if ( ) ; then exit 0; else exit 1; fi’  
2012-09-25 10:17:46 \<1\> (3369) [YCP] AutoInstallRules.ycp:390 Bash return: if ( ) ; then exit 0; else exit 1; fi ($[“exit”:2, “stderr”  
:“sh: -c: line 0: syntax error near unexpected token `)'\ sh: -c: line 0: `if ( ) ; then exit 0; else exit 1; fi’  
“, “stdout”:””]) ($[])  
2012-09-25 10:17:46 \<1\> (3369) [YCP] AutoInstallRules.ycp:625 Getting Rules: []  
2012-09-25 10:17:46 \<1\> (3369) [YCP] AutoInstallRules.ycp:654 No files from rules found

It seems that its not able to pass the value of var1 and var2 in the below mentioned line of /usr/share/YaST2/modules/AutoInstallRules.ycp script.

```
    string var1 = sformat("disksize_size%1", i );
        string var2 = sformat("disksize_device%1", i );

        t = t + sformat(" [\"$%1\" -gt \"%2\" -a \"$%3\" = \"%4\"] ", var1, disk[1]:"" , var2, disk[0]:""); 

```

We can provide you the complete log file if needed.

Request you to please help us fix this issue or provide your suggestion. Hope to hear from you.

Thanks and Regards  
Anil Chauhan

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 4, 2012, 3:30pm UTC](https://forums.suse.com/t/problem-while-installing-autoinstall-sles-10-sp4/23141/2 "2012-10-04T15:30:21Z")

</div>

anilgchauhan,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)
