RE: [suse-autoinstall] Help with installing multiple machines over network
"Richard Hobbs" <richard.hobbs@crl.toshiba.co.uk> 07/02/06 11:59:10
Hello, .... This web page ( http://www.tuxmachines.org/node/4630 ) indicates that it's a known bug which has been fixed in SuSE 10.1b1, but is there any way around
Why not just using a simple post install script ? this when using SuSE 10.0? If not, I'll just have to modify it by hand after the install, right? Thanks again, Richard.
On Tuesday 07 February 2006 12:01, Hans-Joachim Ehlers wrote:
Why not just using a simple post install script ?
yes, in most cases, this would have been the right answer but in this special case, a chroot script must be used. post-scripts run after the machine has already bootet for the first time and init has already read it's configuration. So a post-script would run too late and a chroot script should be used to modify the /etc/inittab -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hello, Thanks for the chroot script suggestion, I shall research this as soon as I have time. In the mean time, I have another question! :-) If I install from DVD, during bootup I get a splash screen that says "Press ESC to view more info" or something to that effect. Also, when the machine has finished booting (into runlevel 3), a slightly smaller font is used, and there is a blue SuSE bar along the bottom of the screen. I suspect both of these features are related to each other. When I install over NFS, however, the splash screen does not appear, the smaller font is not used, and when it's finished booting (into runlevel 3), there is no blue SuSE bar along the bottom of the screen. Do you know how I can activate these features? Thanks again, Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs@crl.toshiba.co.uk Mobile Email: mobile@mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377 _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
On Tuesday 07 February 2006 12:59, Richard Hobbs wrote:
Thanks for the chroot script suggestion, I shall research this as soon as I have time.
http://www.suse.de/~ug/autoyast_doc/createprofile.scripts.html#chroot.script...
When I install over NFS, however, the splash screen does not appear, the smaller font is not used, and when it's finished booting (into runlevel 3), there is no blue SuSE bar along the bottom of the screen.
Do you know how I can activate these features?
I think you have to provide the vga= parameter on the kernel command line. Like "vga=0x31a" to get the frambebuffer used instead of textmode. If you want to have the bootsplash, besides the vga=... you need the package "bootsplash"-something. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hello, Thanks again, I have now added "vga=0x317" to the "default" file in the TFTP server's "pxelinux.cfg" directory, and it appears to be working :-) When autoyast ignored the runlevel in the xml config profile, is that definitely a known bug then? Once I have created the chroot script, do you know how I can actually change the default runlevel using a script? I can do it by editing a file, and through the GUI, but have never done it with a command. Also, the following seems to be ignored as well: <language>en_GB</language> It seems to still want to install using "English (US)". Is this another known bug? If so, is there a workaround? If not, is "en_GB" a correct value? Am I using it in the correct place: ============================================================ <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <general> <clock> <hwclock>UTC</hwclock> <timezone>Etc/GMT</timezone> </clock> <keyboard> <keymap>english-uk</keymap> </keyboard> <language>en_GB</language> <mode> <confirm config:type="boolean">true</confirm> </mode> </general> ...... ============================================================ Thanks again, and I truly am sorry about all these probably simple questions! You have been a great help so far :-) Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs@crl.toshiba.co.uk Mobile Email: mobile@mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377
-----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: 07 February 2006 13:14 To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] Help with installing multiple machines over network
On Tuesday 07 February 2006 12:59, Richard Hobbs wrote:
Thanks for the chroot script suggestion, I shall research this as soon as I have time.
http://www.suse.de/~ug/autoyast_doc/createprofile.scripts.html #chroot.scripts
When I install over NFS, however, the splash screen does not appear, the smaller font is not used, and when it's finished booting (into runlevel 3), there is no blue SuSE bar along the bottom of the screen.
Do you know how I can activate these features?
I think you have to provide the vga= parameter on the kernel command line. Like "vga=0x31a" to get the frambebuffer used instead of textmode. If you want to have the bootsplash, besides the vga=... you need the package "bootsplash"-something.
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
On Tuesday 07 February 2006 14:57, Richard Hobbs wrote:
When autoyast ignored the runlevel in the xml config profile, is that definitely a known bug then?
yes - known and fixed for 10.1
Once I have created the chroot script, do you know how I can actually change the default runlevel using a script? I
something like this (untested) <scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>chroot.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh sed 's/id:5:initdefault/id:3:initdefault/' /etc/inittab > /tmp/inittab.new mv /tmp/inittab.new /etc/inittab ]]> </source> </script> ...
Also, the following seems to be ignored as well:
<language>en_GB</language>
It seems to still want to install using "English (US)". Is this another known bug?
I can reproduce it on 10.0 but not on 10.1 We did some changes in the country configuration via autoyast. This bug seems to be fixed by that. The bug itself is new to me.
If so, is there a workaround? If not, is "en_GB" a correct value? Am I using it in the correct place:
the usage is correct. It seems to be a bug. Try to workaround it by kicking the <language> out of your profile and add "language=en_GB" to your kernel commandline -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hello, Thank you once again! I now appear to have a fully working autoyast config file! :-) I'm sure I will have to make other modifications and additions to the file, for which I'm sure I'll need help, but for the moment, it's working. Thank you to all who have helped with this long, but satisfying, process, and special thanks to Uwe Gansert! Regards, Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs@crl.toshiba.co.uk Mobile Email: mobile@mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377
-----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: 07 February 2006 15:02 To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] Help with installing multiple machines over network
On Tuesday 07 February 2006 14:57, Richard Hobbs wrote:
When autoyast ignored the runlevel in the xml config profile, is that definitely a known bug then?
yes - known and fixed for 10.1
Once I have created the chroot script, do you know how I can actually change the default runlevel using a script? I
something like this (untested)
<scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>chroot.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh sed 's/id:5:initdefault/id:3:initdefault/' /etc/inittab > /tmp/inittab.new mv /tmp/inittab.new /etc/inittab ]]> </source> </script> ...
Also, the following seems to be ignored as well:
<language>en_GB</language>
It seems to still want to install using "English (US)". Is this another known bug?
I can reproduce it on 10.0 but not on 10.1 We did some changes in the country configuration via autoyast. This bug seems to be fixed by that. The bug itself is new to me.
If so, is there a workaround? If not, is "en_GB" a correct value? Am I using it in the correct place:
the usage is correct. It seems to be a bug. Try to workaround it by kicking the <language> out of your profile and add "language=en_GB" to your kernel commandline
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
participants (3)
-
Hans-Joachim Ehlers
-
Richard Hobbs
-
Uwe Gansert