Hello Nicola. I think I had the same problem than you, and here is it how I resolved:

First, check the output of sfdisk by yourself, running:

> sfdisk -l -uM /dev/hda (or hdb, or whatever)

This is actually the command SystemImager executes, and you can find it in the file /usr/lib/systemimager/perl/SystemImager/Common.pm (or whereever you installed SystemImager).

This command asks sfdisk to give its output in megabytes (-uM). The problem is that the sfdisk version I have does not give its output in megaytes but in "mebibytes"....

So, what I did was to modify the command in the perl code and change:

sfdisk -l -uM /dev/$disk

for:

sfdisk -l -uS /dev/$disk

This indicates to sfdisk to give its output in sectors, and SystemImager also understand sectors.


(Additionally, if your client is in other language than English, you will need to make some other tricks).




- Oscar.



Nicola Iazzetta wrote:



Hi everybody, we are trying to run "prepareclient" command from our LinuxRedHat-9 GoldenClient, to build an image for SoftDistribution, but an error occours.

We'd like to SoftDistribute my entire Linux image and a simple flat file in
two separate steps (how do it ?).

As additional info, my LinuxRedHat-9 GoldenClient is running in a
partitioned ide HDA installation performed by GRUB utility.
The first installed operating system was Win2000, then I installed Linux
via grub utility.

This is the error msg:
---------------------------------------------------------------------------------------------------------------------

prepareclient

************************* Continue? (y/[n]): yes ************************* Continue? (y/[n]): yes Using "sfdisk" to gather information about /dev/hda... FATAL: Your sfdisk output does not appear to be in megabytes or sectors, and I just don't know what to do with it! The disk in question is: hda ---------------------------------------------------------------------------------------------------------------------

Thanks in advance for your kind suggestions.

Cordiali saluti,                Nicola Iazzetta
ITS Service Unit     Adv. I/T Specialist
IBM Global Services,                  Napoli
335/7478386 [EMAIL PROTECTED]



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users


-- Oscar Retana GridShield S.A. Protecci�n y Monitoreo de Redes http://www.gridshield.net/

Tel: +(506) 258-5757 ext 112
Cel: +(506) 830-1631
Email: [EMAIL PROTECTED]




------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to