Hi,

>I don't know where auto_inst.cfg.pl can be found; so I can't help you more
>right now; but the needed modification would be to set also the LANG and
>LANGUAGE variables (with them defautling to the value of 'lang' if not set)

root/auto_inst.cfg.pl is created by LM7's installation suite.
See http://www.linux-mandrake.com/drakx/auto_inst.html for the HOWTO.
Kickstart is IMO a wonderful idea. Norton Ghost lets me create a bootable CD
which installs Windows 98 while I'm doing something else; kickstart would
let me do the same thing for Linux. My boss would love that.

>OTOH the isntall maybe shouldn't abort on a perl warning;
>at least not on that perl warning.

You're right. :-) I checked & the kickstart didn't abort until later. It
looks as if there are two problems - one relating to the locale and one
relating to the filesystem.

The following will create a kickstart installation boot diskette based on a
Linux system interactively installed recently:-

Login as root.
# umount /mnt/floppy
# cd /mnt/cdrom/images
# dd if=cdrom.img of=/dev/fd0H1440
# mount /mnt/floppy
# cp /root/auto_inst.cfg.pl /mnt/floppy
# emacs /mnt/floppy/syslinux.cfg
Change the 'timeout' value to under 20
Change the 'default' value to 'ks' (no quotation marks)
Save; exit emacs.

Then CTRL-ALT-DEL and reboot with the floppy and CDROM inserted. (Make sure
the BIOS will boot from floppy, not CDROM.)

Here is what happens:-

#-----------
Loading cdrom.rdz................
Loading vmlinuz................
[kernel stuff]
Initializing CDROM...
in second stage install...
Entering step 'Choose install or upgrade'
Entering step 'Choose mouse'
Entering step 'Choose your keyboard'
perl: warning: Setting local failed.
perl: warning: Please ensure that your local settings:-
    'lang' => 'en'
    'lc_all' => 'en'
    'language' => 'en'
perl: warning: are supported and installed on your system.
perl: warning: Falling back to the standard local ("C").
[ the above 'perl warning' section is written three times in total]
Entering step 'Miscellaneous'
Entering step 'Setup filesystems'
error :(
switch to console f2 for a shell
press return to reboot
#-----------

I've tried setting 'lang', 'language' and 'lc_all' to various values but the
warning still appear, even with the values put into the .cfg file but the
Mandrake installation suite itself.

Reply via email to