Title: Empty ### BEGIN swap and filesystem creation commands ### section in .master file

Dear all,

I posted a message earlier today but sinc I was not a member of the list this message has not been reviewed by the moderator and has not been placed in the archive. I have the problem that in my .master file the command section for filesystem and swap space generation remains empty when running si_mkautoinstallscript. This has the effect that when installing an image on a new client there are no filesystems generated and the installation fails.

Here is my autoinstall.conf file.


<!--
  This file contains partition information about the disks on your golden
  client.  It is stored here in a generic format that is used by your
  SystemImager server to create an autoinstall script for cloning this
  system.

  You can change the information in this file to affect how your target
  machines are installed.  See "man autoinstallscript.conf" for details.
-->

<config>
  <disk dev="/dev/hda" label_type="msdos" unit_of_measurement="%">
    <!--
      This disk's output was brought to you by the partition tool "sfdisk",
      and by the numbers 4 and 5 and the letter Q.
    -->
    <part  num="1"  size="80"  p_type="primary"  p_name="-"  flags="-"boot />
    <part  num="2"  size="20"  p_type="primary"  p_name="-"  flags="-" />
  </disk>

  <fsinfo  line="10" real_dev="/dev/hda1" mp="/"  fs="ext2" options="acl,user_xattr" dump="1" pass="1" format="yes" />
  <fsinfo  line="20" real_dev="/dev/hda2" mp="swap"  fs="swap" options="defaults" dump="0" pass="0" format="yes"/>
  <fsinfo  line="30" real_dev="proc" mp="/proc"  fs="proc" options="defaults" dump="0" pass="0" />
  <fsinfo  line="40" real_dev="tmpfs" mp="/dev/shm"  fs="tmpfs options="defaults" dump="0" pass="0" />
  <fsinfo  line="50" real_dev="sysfs" mp="/sys"  fs="sysfs" options="noauto" dump="0" pass="0" />
  <fsinfo  line="60" real_dev="debugfs" mp="/sys/kernel/debug"  fs="debugfs" options="noauto" dump="0" pass="0" />
  <fsinfo  line="70" real_dev="usbfs" mp="/proc/bus/usb"  fs="usbfs" options="noauto" dump="0" pass="0"  format="no" />
  <fsinfo  line="80" real_dev="devpts" mp="/dev/pts"  fs="devpts" options="mode=0620,gid=5" dump="0" pass="0" />
       
  <boel devstyle="static"/>
            
</config>

The .master file looks like this
--->
### BEGIN LVM volumes creation commands -AR- ###
### END LVM volumes creation commands ###

logmsg "Load additional filesystem drivers."
modprobe reiserfs
modprobe ext2
modprobe ext3
modprobe jfs
modprobe xfs

### BEGIN swap and filesystem creation commands ###
### END swap and filesystem creation commands ###

### BEGIN mount proc in image for tools like System Configurator ###
logmsg "mkdir -p /a/proc || shellout"
mkdir -p /a/proc || shellout
logmsg "mount proc /a/proc -t proc -o defaults || shellout"
mount proc /a/proc -t proc -o defaults || shellout
### END mount proc in image for tools like System Configurator ###


There are two remakable things that happen during instzall.

First when running si_mkautoinstallscript there are the following errors or warnings

Use of uninitialized value in numeric eq (==) at /usr/lib/systemimager/perl/SystemImager/Server.pm line 679, <$TEMPLATE> line 155.

Use of uninitialized value in numeric gt (>) at /usr/lib/systemimager/perl/SystemImager/Server.pm line 713, <$TEMPLATE> line 155.

Use of uninitialized value in numeric gt (>) at /usr/lib/systemimager/perl/SystemImager/Server.pm line 721, <$TEMPLATE> line 155.

Use of uninitialized value in numeric ge (>=) at /usr/lib/systemimager/perl/SystemImager/Server.pm line 985, <$TEMPLATE> line 165.

These lines are all in the section where the partition building commands are created.

The second noteworthy thing is that the modprobe commands in the .master file fail during installation with a relocation_error that the symbol create_module could not be found in the libc.

I am running suse10.1 in the golden client and the version of systemimager I use is 3.6.3

Thanks in advance for any help

Christian Kleegrewe

--------------------------------------8<-----------------------------------------------------

Christian Kleegrewe
CT IC 6
Fon: +49 89 636 42722
Fax: +49 89 636 41423
Mail: mailto:[EMAIL PROTECTED]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to