I'm attempting to get system imager up and running and am hitting a wall.  I 
know it has to be basic configuration, so I'm hoping someone who has experience 
can point me in the right direction.  All I am attempting to do at this point 
is capture an image (successful) and install it onto another client using a 
static IP assignment.  I'll provide as much detail as possible as to what I've 
done so far:

I am running 4.0.2 compiled from source on ubuntu 7.04 following the guide for 
installing from source on Debian in the docs.  I did switch the sym link for 
dash over to bash.

In my test environment, my image server and my client are both virtual machines 
in vmware server 1.0.6.  My golden client is P4 workstation, running ubuntu 
7.04 server.

On the golden client, I ran si_prepareclient then si_getimage on the image 
server.  The image server was successfully able to capture the image from the 
golden client.

Then on the image server, I ran si_addclients and added the information for the 
new client.  Since the client I was going to be creating has a different disk 
size, I edited the autoinstallscript.conf and changed the disk config to:

  <disk dev="/dev/sda" 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="90"  p_type="primary"  p_name="-"  flags="boot" />
    <part  num="2"  size="*"  p_type="extended"  p_name="-"  flags="-" />
    <part  num="5"  size="*"  p_type="logical"  p_name="-"  flags="swap" />
  </disk>

per the docs in the "howto Net boot ubuntu" section.  I did attempt an install 
with the default script and it complained about a disk sector being out of 
bounds (duh).  After editing, I ran si_mkautoinstallscript to update the image.

Following and modifying the ssh docs, I then ran:

si_mkbootpackage -destination /usr/local/iso -image testServer -config 
/usr/local/iso local.cfg -yes

si_mkautoinstallcd --out-file /usr/local/iso/systemimager.iso --kernel 
/usr/local/iso/kernel --initrd /usr/local/iso/initrd.img --append 
"MONITOR_SERVER=***.***.***.*** MONITOR_CONSOLE=yes"


where my local.cfg file is:

HOSTNAME=testServer
DOMAINNAME=
DEVICE=eth0
IPADDR=192.168.3.215
NETMASK=255.255.255.0
NETWORK=192.168.3.0
BROADCAST=192.168.3.255
GATEWAY=192.168.3.1
GATEWAYDEV=eth0
IMAGESERVER=192.168.3.197
IMAGENAME=testServer

I then transferred the iso to vmware server and pointed my client machine to 
boot off of it.

The machine boots off the iso and makes it through network discovery.  When it 
runs the autoinstall_script.sh is when errors start to fly.

Run_autoinstall_script
>>> /scripts/testServer.sh

get_arch
Partitioning /dev/sda...
Old partition table for /dev/sda
Error: Unable to open /dev/sda - unrecognized disk label.
....
Load software RAID modules.
Insmod: cannot insert 
'/lib/modules/2.6.21-boel_v4.0.2/kernel/drivers/md/md-mod.ko' : File exists 
(-1): File exists
Insmod: cannot insert 
'/lib/modules/2.6.21-boel_v4.0.2/kernel/drivers/md/md-mod.ko' : File exists 
(-1): File exists
Modprobe: module raid5 not found.
Modprobe: failed to load module raid5
Modprobe: module raid6 not found.
Modprobe: failed to load module raid6
Insmod: cannot insert 
'/lib/modules/2.6.21-boel_v4.0.2/kernel/drivers/md/md-mod.ko' : File exists 
(-1): File exists
Load device mapper driver (for LVM).
Load additional filesystem drivers.
Modprobe: module fat not found.
Modprobe: failed to load module fat.
....
EXT3-fs: Unrecognized mount option "realtime" or missing value
....
Mount /dev/sda1 /a/ -t ext3 -o relatime || shellout
Mount: wrong fs type, bad options, bad superblock on /dev/sda1, missing 
codepage or other error



And that is where it dies.  I have tried using both my own kernel (as above) 
and the BOEL, as well as using the default file system (as opposed to cramfs).

Disclaimer:

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of the company. If you are not 
the named addressee you should not disseminate, distribute or copy this e-mail. 
 Finally, the recipient should check this email and any attachments for the 
presences of viruses.  The company accepts no liability for any damage caused 
by any virus transmitted by this email.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to