Re: [suse-autoinstall] autoyast fails on partitioning on Dell Precision 670
My partitioning section is directly AFTER </general> . I have been told
that the order shall not matter but who knows.
So give it a try. If the order change will help then there is no need
for a rules.xml
At least at my site i have no problems with SATA and IDE drive. About
SCSI i can not tell.
If you need a rules.xml
1) Get the documentation about autoyast ( Mentioned in a previous post
to this list by me )
2) Below your autoinstallation source directory ( Example:
MyServer:/export/suse/autoinstall/ ) create the following
subdirectories:
./rules ( Will hold only the rules.xml )
./classes ( Will hold the autoinstall.xml and sda.xml and hda.xml )
A few importent hints:
A)
The autoyast entry MUST end with an "/" .
Example: autoyast=nfs://MyServer:/export/suse/autoinstall/
otherwise the rules.cml will NOT be parsed.
B)
The rules.xml MUST include a rule to include your standard
"installation.xml" because it will be parsed only what has a MATCH in
the rules.xml
C) You must use " echo -n" in your script section to get rid of the
NEWLINE. Otherwise the match will not work.
The following is an example of a "rules.xml" to determine the disk
type
<?xml version="1.0"?>
<autoinstall xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<rules config:type="list">
<rule>
<custom1>
<script>
<![CDATA[
if grep hda /proc/partitions > /dev/null; then
echo -n "hda"
else
echo -n "sda"
fi;
]]>
</script>
<match>*</match>
GrueMaster
08/26/05 5:49 pm >>> I fixed the boot loader section, but that isn't where the problem is. Yast fails at "Create partition plans".
Hey, I think I figured it out (somewhat). I added <device>/dev/sda</device> to the partitioning section and it now blows past that and installs. Now I need to figure out how to use rules, as we have IDE, SCSI, and SATA systems. SATA and SCSI will work with this config, but IDE needs /dev/hda. Any suggestions?
participants (1)
-
Hans-Joachim Ehlers