Andrea, That worked! It was able to image the box with no more errors. I want to thank you for your help and time spent figuring this out.
Just to recap some of the things that didn't work right so you or one of your team can look into it in the future: Si_mkautoinstallcd --append doesn't seem to work. The options that are appended don't seem to be read when you boot the cd. So I had to manually specify linux ramdisk_size=50000. I have already submitted a bug for this. The lvm_group was not being put into the autoinstallscript.conf file and needed to be manually entered. The blockdev command was failing and kicking me back out to a prompt when systemimager had all of the information needed. So I removed the "shellout" options. When I ran si_mkautoinstallscript I then had to re-add the lvm_group to the autoinstallscript.conf file. Once again, thanks for your help! Jason -----Original Message----- From: Andrea Righi [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 11:12 AM To: Leidner, Jason (JLEIDNER) Cc: [email protected] Subject: Re: [Sisuite-users] RE: Ramdisk size too small? Getting errors Jason, as I said in a previous mail you have to add manually the attribute lvm_group="VolGroup00" to /dev/sda2 partition: >> Here is the first problem: partition #2 must have the attribute >> lvm_group="VolGroup00" that is missing. Adding it manually is the >> quick & dirty solution to resolve this problem. I mean you've to change the xml /var/lib/systemimager/<image_name>/etc/systemimager/autoinstallscript.co nf as following: <config> <disk dev="/dev/sda" label_type="msdos" unit_of_measurement="MB"> <!-- This disk's output was brought to you by the partition tool "parted", and by the numbers 4 and 5 and the letter Q. --> <part num="1" size="101.944" p_type="primary" p_name="-" flags="boot" /> <part num="2" size="*" p_type="primary" p_name="-" flags="lvm" lvm_group="VolGroup00" /> </disk> ... Then run again `si_mkautoinstallscript --image <image_name> --force`. After this I hope it'll work... ;-) Then we'll try to investigate why si_prepareclient in the golden client has not correctly cloned your lvm config. Regards, -Andrea Leidner, Jason (JLEIDNER) wrote: > Andrea, > I changed the "blockdev --rereadpt /dev/sda || shellout" > Line to just "blockdev --rereadpt /dev/sda" > > This is the error I get after doing so... > "<snip> > Lvcreate -L211582976K -n LogVol00 VolGroup00 || shellout > Volume group "VolGroup00" doesn't exist. > " > What should I try next? Is there somewhere else in the script that > VolGroup00 was not put? > Thanks again, > Jason > _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
