Package selection with autoyast on SuSE 9.3 prof.
I am having a frustrating time here. If I use the autoinstallation option of yast2 to generate an autoyast specification I get a software section like this: <software> <addons config:type="list"> <addon>Basis-Devel</addon> <addon>Basis-Sound</addon> <addon>Kde-Desktop</addon> <addon>Latex</addon> <addon>Min</addon> <addon>Office</addon> <addon>SuSE-Documentation</addon> <addon>X11</addon> </addons> <base>Minimal</base> <packages config:type="list"> <package>autofs</package> <package>lprng</package> </packages> </software> But if I put that in an otherwise working install specification (i.e. with all the other stuff like keyboards, network, X1 config etc.) then, when autoyast halts for me to confirm installation, the 'Software' section of the 'Installation Settings' screen of YaST sows two bullets: The first is '?' and the second is 'Size of packages to install 158.4 MB' and when I go in to the 'Software Selection' screen, I get no base specification shown (i.e. all radio buttons are un-checked) and the list of selected packages under 'Detailed Selection' is blank. If I go ahead with the install it fails trying to install lvm2 because the sed package is missing. Consistent with no base packages being loaded. Does anyone have an example of a working autoyast software specification .xml file for 9.3? I'm using the version of autoyast on the distributed CDs which is 2.11.13-3
On Tuesday 13 September 2005 16:54, Ian Grant wrote:
I am having a frustrating time here. If I use the autoinstallation option of yast2 to generate an autoyast specification I get a software section like this:
<software> <addons config:type="list"> <addon>Basis-Devel</addon> <addon>Basis-Sound</addon> <addon>Kde-Desktop</addon> <addon>Latex</addon> <addon>Min</addon> <addon>Office</addon> <addon>SuSE-Documentation</addon> <addon>X11</addon> </addons> <base>Minimal</base> <packages config:type="list"> <package>autofs</package> <package>lprng</package> </packages> </software>
I did a copy and paste of that software selection into a profile here and started a 9.3 installation. It works well. Do you really put that into the <install>...</install> Section of the profile? If so, please provide the complete autoyast profile.
Does anyone have an example of a working autoyast software specification .xml file for 9.3?
yours is working fine here. -- 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
On Tue, 13 Sep 2005 17:13:54 +0200 Uwe Gansert <ug@suse.de> wrote:
I did a copy and paste of that software selection into a profile here and started a 9.3 installation. It works well. Do you really put that into the <install>...</install> Section of the profile? If so, please provide the complete autoyast profile.
Thanks for the quick reply. I think I got it in the right place. Here is the full file (as an attachment.) The selection of packages is different but the effect is the same as I described in my previous mail. Best wishes Ian
On Tuesday 13 September 2005 19:01, Ian Grant wrote:
Uwe Gansert <ug@suse.de> wrote:
I did a copy and paste of that software selection into a profile here and started a 9.3 installation. It works well. Do you really put that into the <install>...</install> Section of the profile? If so, please provide the complete autoyast profile.
Thanks for the quick reply. I think I got it in the right place. Here is the full file (as an attachment.) The selection of packages is different but the effect is the same as I described in my previous mail.
I had to change the partitioning to <use>all</use> because it did not fit my needs but I did not change anything else and it works fine here with a 9.3 installation server. Do you do a network installation or do you install from CDs? Does a manual installation (no autoyast) with that Software selection work? -- 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
On Wed, 14 Sep 2005 10:31:01 +0200 Uwe Gansert <ug@suse.de> wrote:
I had to change the partitioning to <use>all</use> because it did not fit my needs but I did not change anything else and it works fine here with a 9.3 installation server. Do you do a network installation or do you install from CDs? Does a manual installation (no autoyast) with that Software selection work?
I'll try it from a CD now. I was using a local copy of the DVD over nfs - perhaps that is my problem? By the way, the SuSE Linux 9.3 professional 'System Administration Guide' says, on page 84, that I can set up a central installation server using the option 'Miscellaneous' -> 'Installation Server' (Sec. 3.1.1) however I don't have that option when I run yast2 as rooot on a fresh 9.3 install. How can I set up an installation server?
On Wednesday 14 September 2005 13:40, Ian Grant wrote:
By the way, the SuSE Linux 9.3 professional 'System Administration Guide' says, on page 84, that I can set up a central installation server using the option 'Miscellaneous' -> 'Installation Server' (Sec. 3.1.1) however I don't have that option when I run yast2 as rooot on a fresh 9.3 install. How can I set up an installation server?
you have to install yast2-instserver. -- 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
On Wed, 14 Sep 2005 10:31:01 +0200 Uwe Gansert <ug@suse.de> wrote:
I had to change the partitioning to <use>all</use> because it did not fit my needs but I did not change anything else and it works fine here with a 9.3 installation server.
Thanks. I know what the problem is now. I have been trying to do an install into machines with pre-existing partitions, only using some of them for SuSE (the rest are used for something to do with hats.) My autoyast partitoning does not work for this (it seems from this list that no-one knows how to make this work for 9.3 but correct me if I'm wrong!) and creates two tiny new partitions out of a miniscule bit of space left on the disk. So then the software selection stage fails and the software selection gets into this state so that even when I go into the partitioning tool at confirm-install time and fix the partitioning then I still cannot install the software. So the bug can be reproduced by making the partitions too small for the selected software and choosing 'confirm before install', then when the software selection fails, set the partitions to be big enough and you should find that the software selection then does not work properly. So I am back to the problem I was trying to work around: given an existing set of partitions with some created but un-used, how do I tell autoyast to format and use existing partitions whilst leaving the others intact - and perhaps mounting a few at boot time?
On Wednesday 14 September 2005 14:26, Ian Grant wrote:
So I am back to the problem I was trying to work around: given an existing set of partitions with some created but un-used, how do I tell autoyast to format and use existing partitions whilst leaving the others intact - and perhaps mounting a few at boot time?
try the following stuff: 1. drop the <use> statement 2. drop all <keep_partition_nr>... 3. fix the datatype in <usepart...> from "intger" to "integer" -- 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
participants (3)
-
Ian Grant
-
Ian Grant
-
Uwe Gansert