Hi Dann, I'm using perl-AppConfig-1.52-4 and systemconfigurator-2.0.9 from sourceforge.net
I also tried perl-AppConfig-1-55-1.7.3 -> Same problem Is there perl-AppConfig-1.52-8 for RH 9.0 ? Martin > -----Original Message----- > From: dann frazier [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 12, 2004 10:03 PM > To: Martin Sohst > Cc: [EMAIL PROTECTED] > Subject: [Sisuite-users] Re: System Installer > > > Thanks Martin. > However, I'm having trouble reproducing the problem. > I tried cut & pasting the SC command below, and it runs fine > on my system. > I tried doing it in a perl script, the way updateclient does > it, and it > still runs fine. > > In the output you sent me, ramdisk_blocksize is being placed > on a separate line > and I get a warning about that, but I think this is just a > cut & paste error, > I don't see how updateclient could've added a line break there. > > Its possible that you're using a different version of > AppConfig, which is > what does the parsing of this file - what version are you using? > I'm using the 1.52-8 from debian/sid, fwiw. > > On Wed, Feb 11, 2004 at 03:19:13PM +0100, Martin Sohst wrote: > > Hi Dann, > > > > here the output of updateclient : > > > > ... > > DEBUG: cmd is: > > ==systemconfigurator --configboot --runboot --stdin <<EOF > > [BOOT] > > BOOTDEV = /dev/hdc > > ROOTDEV = /dev/ram > > TIMEOUT = 50 > > DEFAULTBOOT = SystemImager > > > > [KERNEL0] > > LABEL = SystemImager > > PATH = /boot/kernel.systemimager > > INITRD = /boot/initrd.img.systemimager > > APPEND = root=/dev/ram0 load_ramdisk=1 prompt_ramdisk=0 > vga=extended > > ramdisk_blocksize=4096 > > EOF > > > > == > > Using System Configurator to set boot configuration...parse > error at line 2 > > parse error at line 3 > > parse error at line 4 > > parse error at line 5 > > parse error at line 8 > > parse error at line 9 > > parse error at line 10 > > parse error at line 11 > > Error: None of the following bootloaders were successfully > setup on your > > system: > > > > YaBoot,Iseries,EFI,Elilo,Lilo,Grub,Palo,Aboot > > > > systemconfigurator command to configure autoinstall boot failed! at > > /usr/sbin/up > > dateclient line 431 > > # > > > > The problem is that the systemconfigurator perl script > > does not propperly handle the parameters which are passed > > over with EOF (stdin) > > > > I worked around this problem like this: > > > > ... > > ### BEGIN autoinstall boot configuration ### > > open (FSC, ">/etc/systemconfig/systemconfig.conf") ; > > print FSC " > > [BOOT] > > BOOTDEV=$bootdev > > ROOTDEV=/dev/ram > > TIMEOUT=50 > > DEFAULTBOOT=SystemImager > > > > [KERNEL0] > > LABEL=SystemImager > > PATH=${relative_bootdir}kernel.systemimager > > INITRD=${relative_bootdir}initrd.img.systemimager > > APPEND=$append \n" ; > > > > close(FSC); > > $cmd = <<SC_EOF; > > systemconfigurator --configboot --runboot > > SC_EOF > > > > print "Using System Configurator to set boot configuration..."; > > ... > > > > > > That worked for me > > > > Hope this helps. > > In the meantime I managed to re-install my > > system with the image I took before with > > getimage (Boot over network with PXE) > > > > > > > > > > dann frazier wrote: > > >On Tue, Feb 10, 2004 at 01:17:50PM +0100, Martin Sohst wrote: > > > > > >>Now I would like to re-install my box from scratch > > >>(format disks) and I guess I need to run updateclient with > > >>-autoinstall option. > > > > > > > > >you should just be able to boot the autoinstall system > over the network. > > >updateclient -a is intended to do the same thing, but > without requiring > > >a network boot. however, as the warnings mention, you > will probably need > > >to build a custom kernel to be able to use it. > > >However, I'd like to find out why updateclient -a is > breaking - see below. > > > > > > > > >>Using System Configurator to set boot > configuration...parse error at line > > >>2 > > >>parse error at line 3 > > >>parse error at line 4 > > >>parse error at line 5 > > >>parse error at line 8 > > >>parse error at line 9 > > >>parse error at line 10 > > >>parse error at line 11 > > >>Error: None of the following bootloaders were > successfully setup on your > > >>system: > > >> > > > >>YaBoot,Iseries,EFI,Elilo,Lilo,Grub,Palo,Aboot > > >> > > > >>systemconfigurator command to configure autoinstall boot > failed! at > > >>/usr/sbin/updateclient line 429 > > > > > > > > >Can you find the following lines in /usr/sbin/updateclient > > > > > > >------------------------------------------------------------- > ----------------- > > >SC_EOF > > > > > > print "using System Configurator to set boot configuration..."; > > > >------------------------------------------------------------- > ----------------- > > >and change it to: > > > >------------------------------------------------------------- > ----------------- > > >SC_EOF > > > print "DEBUG: cmd is:\n"; > > > print "==$cmd==\n"; > > > print "using System Configurator to set boot configuration..."; > > > >------------------------------------------------------------- > ----------------- > > > > > >Then send me the output you get when running updateclient -a? > > > > > >If you don't mind, please start cc'ing > [EMAIL PROTECTED] > > >on your replies so that other users having this problem > can benefit from > > >our > > >discussion. > > > > > > > > > -- > --------------------------- > dann frazier > Hewlett-Packard > Linux and Open Source Lab > [EMAIL PROTECTED] > (970) 898-0800 > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Sisuite-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/sisuite-users > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users
