Hi Peter and thanks for your help.
The computer has a BCM 5700 NIC and works fine with my own
systemimager boot kernel.
The real problem is when execute the prepareclient command. After
update the systemimager packages, the error is the same:
sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
Using "sfdisk" to gather information about disk:
/dev/sda
sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
Starting or re-starting rsync as a daemon.....
done!
This client is ready to have its image retrieved. You must now run
the "si_getimage" command on your imageserver.
In the server, i check in
/var/lib/systemimager/scripts/imagename.master script and find that
the file doesn't have information about partitioning hard disk:
### BEGIN partition /dev/sda ###
echo "Partitioning /dev/sda..."
echo "Old partition table for /dev/sda:"
parted -s -- /dev/sda print
# Create disk label. This ensures that all remnants of the old label, whatever
# type it was, are removed and that we're starting with a clean label.
echo "parted -s -- /dev/sda mklabel msdos || shellout"
parted -s -- /dev/sda mklabel msdos || shellout
# Get the size of the destination disk so that we can make the
partitions fit properly.
DISK_SIZE=`parted -s /dev/sda print | grep 'Disk geometry for' | sed
's/^.*-//g' | sed 's/\..*$//' `
[ -z $DISK_SIZE ] && shellout
if [ "$ARCH" = "alpha" ]; then
END_OF_LAST_PRIMARY=1
else
END_OF_LAST_PRIMARY=0
fi
echo "New partition table for /dev/sda:"
echo "parted -s -- /dev/sda print"
parted -s -- /dev/sda print
### END partition /dev/sda ###
In another image (another golden client with FC3) the image.master script have:
echo "Creating partition /dev/sda1."
START_MB=$END_OF_LAST_PRIMARY
END_MB=$(echo "scale=3; ($START_MB + 47)" | 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
The error in prepareclient doesn't allow the machine to load the
actual partition table..... i can replace the command sfdisk and
parameters in perl scripts (located in
/usr/lib/systemimager/perl/SystemImager) and use another tool (as
parted) to fetch description of golden client partitions?
many thanks,
polkan
On 5/20/05, Peter Mueller <[EMAIL PROTECTED]> wrote:
> > I have a dell optiplex 280 as golden client and when i run:
>
> This device needs updated network driver and SATA driver. Neither is in the
> default SATA kernel.
>
> > The machine have installed mandrake 10.1 power pack (kernel
> > 2.6 and serial ata hard disk). The installed software is:
>
> OK, SATA for sure. Not sure if its bcm5700 ('tg3') or e1000. Either way it
> does need an updated network driver too.
>
> > systemconfigurator-2.0.9-1.noarch.rpm
> > perl-AppConfig-1.52-4.noarch.rpm
> > systemimager-client-3.2.3-1.noarch.rpm
> > systemimager-common-3.2.3-1.noarch.rpm
>
> Upgrade to 3.4.1 and re-image. 3.4.1 is the latest stable and has some
> bugfixes.
>
> > Disk /dev/sda: 40.0 GB, 40000000000 bytes
> > 255 heads, 63 sectors/track, 4863 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/sda1 * 1 14 112423+ 83 Linux
> > /dev/sda2 15 4863 38949592+ 5 Extended
> > /dev/sda5 15 148 1076323+ 82 Linux swap
> > /dev/sda6 149 893 5984181 83 Linux
> > /dev/sda7 894 2169 10249438+ 83 Linux
> > /dev/sda8 2170 4863 21639523+ 83 Linux
>
> You can use my ISO or kernel after re-imaging with 3.4.1, it has everything
> you need.
>
> http://world.anarchy.com/~peter/systemimager/
>
> Regards,
>
> P
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_idt12&alloc_id344&opclick
> _______________________________________________
> Sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users