On Wed, 2005-09-21 at 19:22 -0500, John Jolet wrote:
> > I suspect a potential problem.
> > When I grabbed the image, I was using Systemimager-3.4, and now I'm
> > using 3.2.3.  the top of the master scrip says it was created by
> > SystemImager v3.4.0.  I did try to upgrade back to 3.4, and update my
> > boot cd, but the client fails way before partitioning.  At least where I
> > am now, If I can hack past the parted stuff, I'll have a working client
> > by tonight.
> Well, you can always go in and edit the scripts, but I'd be very much
> surprised if it works.  just set the begin mb to the previous end_mb,
> and make the end_mb look like the one  on sda1.  just change the mb
> number to be how big you want each partition.  If it finishes that and
> the partition sizes look right, you could continue.  that make sense?  I
> suspect, however, that you have other problems that will surface when
> you hack past this one.

Thank you for all your help?
Hack to the master script 'parted' section got past the problem (hack
included below).  Now the master script dies at the line:
        chroot /a/ systemconfigurator
        --excludesto=/etc/systemimager/systemconfig.local.exclude
        --configsi --stdin << EOL || shellout

with the error:

        chroot: cannot execute systemconfigurator: Exec format error

Was systemconfigurator a required dependent package on the client?
Is there a way past this one?
Should I start a new thread?

All the files are in /a/, but I can't make a chroot work.

##############################
# Hacked partitioning second
##############################
        echo "Creating partition /dev/sda1."
        START_MB=$END_OF_LAST_PRIMARY
        END_MB=$(echo "scale=3; ($START_MB + 78)" | bc)
        echo "parted -s -- /dev/sda mkpart primary ext2 $START_MB
        $END_MB || shellout"
        parted -s -- /dev/sda mkpart primary ext2 $START_MB $END_MB ||
        shellout
        END_OF_LAST_PRIMARY=$END_MB
        
        echo "Creating partition /dev/sda2."
        START_MB=$END_OF_LAST_PRIMARY
        END_MB=$(echo "scale=3; ($START_MB + 500)" | bc)
        echo "parted -s -- /dev/sda mkpart primary ext2 $START_MB
        $END_MB || shellout"
        parted -s -- /dev/sda mkpart primary ext2 $START_MB $END_MB ||
        shellout
        END_OF_LAST_PRIMARY=$END_MB
        
        echo "Creating partition /dev/sda3."
        START_MB=$END_OF_LAST_PRIMARY
        END_MB=$(echo "scale=3; ($START_MB + 500)" | bc)
        echo "parted -s -- /dev/sda mkpart primary ext2 $START_MB
        $END_MB || shellout"
        parted -s -- /dev/sda mkpart primary ext2 $START_MB $END_MB ||
        shellout
        END_OF_LAST_PRIMARY=$END_MB
        
        echo "Creating partition /dev/sda4."
        START_MB=$END_OF_LAST_PRIMARY
        END_MB=$(( $DISK_SIZE - 4 ))
        echo "parted -s -- /dev/sda mkpart extended $START_MB $END_MB ||
        shellout"
        parted -s -- /dev/sda mkpart extended $START_MB $END_MB ||
        shellout
        END_OF_LAST_PRIMARY=$END_MB
        END_OF_LAST_LOGICAL=$START_MB
        



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to