Hi Guys,

I don't know if this would be any help to you, but we've been using 
systemimager/systemconfigurator with CentOS for a while, and I've had 
success with the following:

- edit the /etc/systemimager/autoinstallscript.conf in the image and 
remove the mount_dev entries completely
- run si_mkautoinstallscript to remake the autoinstall script for the image
- edit /boot/grub/menu.lst and change the "root=<label>" to point 
directly to the root partition (such as root=/dev/hda2)

Our images typically only have partitions for /, /boot, and swap, so I 
don't know if this would cause problems with these other partitions you 
have, but perhaps you could just do this with the root partition?

Alternatively, this old post to sisuite-users details a patch that I 
believe was applied to systemconfigurator between 2.2.2 and 2.2.9: 
http://www.mail-archive.com/[email protected]/msg03693.html
I've had success with using labels with 2.2.9 by reverting the change 
described in the patch. YMMV

Anyway, good luck!

Best,

Andrew



Erich Focht wrote:
> Hi Ole,
> 
> systemconfigurator doesn't support currently labels, and it looks like
> you're using labels. During the testing phase of the RPM build the grub
> test fails because it is using the partitioning info from the host.
> 
> Could you please post the content of your /etc/fstab and /proc/partitions?
> And the output of blkid?
> 
> By the way, do you have selinux enabled on your system? Not sure, but that
> could have some impact on running under chroot.
> 
> I just realize that the test doesn't copy /sbin/lbkid to the mini-chroot
> used for testing. Maybe you want to try adding
> 
> copy("/sbin/blkid","$root/usr/sbin/blkid") or ($skip = 1);
> 
> to t/boot_grub.t in the systemconfigurator tarball. I'd be curious about the
> result.
> 
> Best regards,
> Erich
> 
> 
> On Thursday 12 July 2007 16:05, Ole Holm Nielsen wrote:
>> We're trying to build the systemconfigurator-2.2.9 RPM on CentOS 4 and 5
>> machines, but the "rpmbuild -ba sc.spec" bombs out with an error message
>> about not being able to identify the boot disk on the build system.
>> The error apparently comes from the module
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Label.pm
>>
> [...]
>> t/boot_grub................ok 1/10WARNING: Label /1 not found anywhere on 
>> the 
>> system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm 
>> line 373
>> WARNING: Label /boot1 not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 373
>> WARNING: Label /scratch not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 373
>> WARNING: Label SWAP-sda3 not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 373
>> Use of uninitialized value in concatenation (.) or string at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 
>> 421.
>> WARNING: Label /1 not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
>> WARNING: Label /boot1 not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
>> WARNING: Label /scratch not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
>> WARNING: Label SWAP-sda3 not found anywhere on the system! at 
>> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
>> BOOTDEV option under [BOOT] section ignored.
>> Error: None of the following bootloaders were successfully setup on your 
>> system:
>> YaBoot,Iseries,EFI,Elilo,Lilo,Grub,Palo,Aboot,ZIPL
>>
>> t/boot_grub................dubious
>>          Test returned status 1 (wstat 256, 0x100)
>> DIED. FAILED tests 3-10
>>          Failed 8/10 tests, 20.00% okay
>> (lines deleted)
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to