[Cooker] LM7 (Air) kickstart problems w/locale
I'm following the kickstart guide on the Mandrake web page, trying to create a kickstart boot disk for Linux Mandrake 7.0 (Air). The boot disk boots the CDROM but the locale (lang = 'en') line in auto_inst.cfg.pl always leads to fatal errors:- perl: warning: Setting locale failed perl: warning: Please check that your locale settings:- LANGUAGE = "" LC_ALL = "en" LANG = "" are supported and installed on the system. It then quits, telling me I can either reboot or press CTRL-ALT-F2 to get to a shell. The locale is the one I chose when carrying out the interactive installation that created the auto_inst.cfg.pl file in the first place. I've tried 'en', 'en_US' and even 'fr_FR' (which seems to get a bit further). Any ideas? :-) TIA, Hugo Rabson
Re: [Cooker] LM7 (Air) kickstart problems w/locale
Kaixo! On Thu, Jan 27, 2000 at 08:39:40AM -0600, Hugo Rabson wrote: I'm following the kickstart guide on the Mandrake web page, trying to create a kickstart boot disk for Linux Mandrake 7.0 (Air). The boot disk boots the CDROM but the locale (lang = 'en') line in auto_inst.cfg.pl always leads to fatal errors:- perl: warning: Setting locale failed perl: warning: Please check that your locale settings:- LANGUAGE = "" LC_ALL = "en" LANG = "" are supported and installed on the system. perl is indeed very pedantic about locales setting; with all three above set to "en" it should work. OTOH the isntall maybe shouldn't abort on a perl warning; at least not on that perl warning. The locale is the one I chose when carrying out the interactive installation that created the auto_inst.cfg.pl file in the first place. I've tried 'en', 'en_US' and even 'fr_FR' (which seems to get a bit further). Any ideas? :-) 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) Hugo Rabson -- Ki ça vos våye bén, Pablo Saratxaga http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975
Re: [Cooker] LM7 (Air) kickstart problems w/locale
"Hugo Rabson" [EMAIL PROTECTED] writes: I'm following the kickstart guide on the Mandrake web page, trying to create a kickstart boot disk for Linux Mandrake 7.0 (Air). The boot disk boots the CDROM but the locale (lang = 'en') line in auto_inst.cfg.pl always leads to fatal errors:- perl: warning: Setting locale failed perl: warning: Please check that your locale settings:- LANGUAGE = "" LC_ALL = "en" LANG = "" are supported and installed on the system. one thing for sure, is that it is *not* this that makes it quit. It then quits, telling me I can either reboot or press CTRL-ALT-F2 to get to a shell. mail me your auto_inst.cfg, i'll have a look.
Re: [Cooker] LM7 (Air) kickstart problems w/locale
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.
Re: [Cooker] LM7 (Air) kickstart problems w/locale
"Hugo Rabson" [EMAIL PROTECTED] writes: Entering step 'Miscellaneous' Entering step 'Setup filesystems' error :( you should find interesting stuff in console 3
Re: [Cooker] LM7 (Air) kickstart problems w/locale
- Original Message - From: Pixel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 27, 2000 10:54 AM Subject: Re: [Cooker] LM7 (Air) kickstart problems w/locale "Hugo Rabson" [EMAIL PROTECTED] writes: Entering step 'Miscellaneous' Entering step 'Setup filesystems' error :( you should find interesting stuff in console 3
Re: [Cooker] LM7 (Air) kickstart problems w/locale
CTRL-ALT-F3 tells me:- Starting step 'Miscellaneous' .. Starting step 'PartitionDisks' No SCSI devices available Warning: you must have a root partition. For this, create a partition (or click on an existing one). Then choose action 'mount point' and set it to '/' ...at /usr/bin/perl-install/install2.pm at line 310 I modified the auto_inst.cfg.pl file (created by interactive installation) as follows:- 'partitioning' = { 'clearall' = '1', 'autoformat' = '0', 'eraseBadPartitions' = '0', 'auto_allocate' = '0' }, (I also tried autoformat=1) Any ideas? :) Hugo P.S. Sorry about the 'empty' email. Outlook Express has some keyboard shortcuts I didn't know about. - Original Message - From: Pixel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 27, 2000 10:54 AM Subject: Re: [Cooker] LM7 (Air) kickstart problems w/locale "Hugo Rabson" [EMAIL PROTECTED] writes: Entering step 'Miscellaneous' Entering step 'Setup filesystems' error :( you should find interesting stuff in console 3
Re: [Cooker] LM7 (Air) kickstart problems w/locale
"Hugo Rabson" [EMAIL PROTECTED] writes: CTRL-ALT-F3 tells me:- Starting step 'Miscellaneous' .. Starting step 'PartitionDisks' No SCSI devices available Warning: you must have a root partition. For this, create a partition (or click on an existing one). Then choose action 'mount point' and set it to '/' ...at /usr/bin/perl-install/install2.pm at line 310 I modified the auto_inst.cfg.pl file (created by interactive installation) as follows:- 'partitioning' = { 'clearall' = '1', 'autoformat' = '0', 'eraseBadPartitions' = '0', 'auto_allocate' = '0' }, (I also tried autoformat=1) Any ideas? :) oups. add auto_allocate = 1 (the doc is a bit buggy on this point)