I'm not entirely sure what's going on here my by installation script if blowing up when trying to partition my scsi disk. My source system has a disk that has 3 partitions: 100M boot, 2G swap and the rest data. However, when the autoinstall script tries to create them it's trying to make the first partition 0 thru 34732 and the second one 34732 thru 34888 and blows up because it's saying some other partitioning tool created things incorrectly. That's just not true. In fact, I immediately removed all the partitions while in BusyBox and tried to reimage. Same thing.

In any event, the installation preceeds for a couple of more lines and tries to create a third partition from 34833 to 36834 and blows up because the partition is outside the disk.

As it turns out, when I ran prepareclient I got an error

Use of uninitialized value in hash element at /usr/lib/systemimager/perl/SystemImager/Common.pm line 926, <FH_IN> line 8.

and no idea if this had anything to do with my problems or not. However, when I look at my autoinstallscript.conf file that got created on the golden image, it looks like this:

<disk dev="/dev/sda" label_type="msdos" unit_of_measurement="MB">
<!--
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="*" p_type="primary" p_name="-" flags="-" />
<part num="2" size="101" p_type="primary" p_name="-" flags="boot" />
<part num="3" size="2001" p_type="primary" p_name="-" flags="-" />
</disk>


which is clearly wrong because partition one can't have a size of "*". So I reordered things, making the first entry last, fixed up the now incorrect references in the fstab section and I'm imaging away. However, the question is what's broken.

is there any more data I can provide to help get to the bottom of this short of me diving into the Common.pm code?

-mark



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to