From ricdur2 at gmail.com Tue Jul 1 13:36:38 2008 From: ricdur2 at gmail.com (Richard Duran) Date: Tue, 1 Jul 2008 07:36:38 -0600 Subject: clearpart default behavior Message-ID: What is the default behavior of clearpart when --drives is not specified? Does it only clear partitions on the first drive it encounters? -rdj -------------- next part -------------- An HTML attachment was scrubbed... URL: From squid at oranged.to Tue Jul 1 14:36:47 2008 From: squid at oranged.to (Jimmy Stewpot) Date: Tue, 01 Jul 2008 15:36:47 +0100 Subject: Redhat 5 Server - "Advanced" Message-ID: <486A40FF.50503@oranged.to> hello, I am currently installing servers via the kickstart method without any problems. Traditionally we had different tree's for AS and ES to keep things simple. However now that we are starting to use Redhat Enterprise Server 5 it seems there is only one install media source. I am interested to install the Advanced platform so that we can use clustering and so on. The problem I am having is that its only a two socket server and when I register it using a key I don't get the option to specify Advanced instead of Server or whatever the new terminology is. How do you guys specify for an install to be advanced vs standard? Regards, Jimmy From jgranado at redhat.com Tue Jul 1 14:36:19 2008 From: jgranado at redhat.com (Joel Andres Granados) Date: Tue, 01 Jul 2008 16:36:19 +0200 Subject: Redhat 5 Server - "Advanced" In-Reply-To: <486A40FF.50503@oranged.to> References: <486A40FF.50503@oranged.to> Message-ID: <486A40E3.907@redhat.com> Jimmy Stewpot wrote: > hello, > > I am currently installing servers via the kickstart method without any > problems. Traditionally we had different tree's for AS and ES to keep > things simple. However now that we are starting to use Redhat Enterprise > Server 5 it seems there is only one install media source. I am > interested to install the Advanced platform so that we can use > clustering and so on. The problem I am having is that its only a two > socket server and when I register it using a key I don't get the option > to specify Advanced instead of Server or whatever the new terminology is. > > How do you guys specify for an install to be advanced vs standard? > > Regards, > > Jimmy > sorry, I must be missing something, what does "advanced" and "standard" exactly mean? Can you describe them alittle more :) > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- Joel Andres Granados Red Hat / Brno, Czech Republic From squid at oranged.to Tue Jul 1 14:53:33 2008 From: squid at oranged.to (Jimmy Stewpot) Date: Tue, 01 Jul 2008 15:53:33 +0100 Subject: Redhat 5 Server - "Advanced" In-Reply-To: <486A40E3.907@redhat.com> References: <486A40FF.50503@oranged.to> <486A40E3.907@redhat.com> Message-ID: <486A44ED.7070509@oranged.to> Joel Andres Granados wrote: > Jimmy Stewpot wrote: >> hello, >> >> I am currently installing servers via the kickstart method without any >> problems. Traditionally we had different tree's for AS and ES to keep >> things simple. However now that we are starting to use Redhat >> Enterprise Server 5 it seems there is only one install media source. I >> am interested to install the Advanced platform so that we can use >> clustering and so on. The problem I am having is that its only a two >> socket server and when I register it using a key I don't get the >> option to specify Advanced instead of Server or whatever the new >> terminology is. >> >> How do you guys specify for an install to be advanced vs standard? Hi, The terminology comes from the marketing jargon on this page http://www.redhat.com/rhel/server/compare/ Regards, >> >> Regards, >> >> Jimmy >> > > sorry, I must be missing something, what does "advanced" and "standard" > exactly mean? Can you describe them alittle more :) > >> _______________________________________________ >> Kickstart-list mailing list >> Kickstart-list at redhat.com >> https://www.redhat.com/mailman/listinfo/kickstart-list > From jos at xos.nl Tue Jul 1 14:54:05 2008 From: jos at xos.nl (Jos Vos) Date: Tue, 1 Jul 2008 16:54:05 +0200 Subject: Redhat 5 Server - "Advanced" In-Reply-To: <486A40FF.50503@oranged.to> References: <486A40FF.50503@oranged.to> Message-ID: <20080701145405.GA13824@jasmine.xos.nl> On Tue, Jul 01, 2008 at 03:36:47PM +0100, Jimmy Stewpot wrote: > I am currently installing servers via the kickstart method without any > problems. Traditionally we had different tree's for AS and ES to keep > things simple. However now that we are starting to use Redhat Enterprise > Server 5 it seems there is only one install media source. I am > interested to install the Advanced platform so that we can use > clustering and so on. The problem I am having is that its only a two > socket server and when I register it using a key I don't get the option > to specify Advanced instead of Server or whatever the new terminology is. > > How do you guys specify for an install to be advanced vs standard? The key includes what subrepositories on the install media you'll be using. IIRC the keys belonging to standard subscriptions will not let you access the cluster and GFS repositories. Of course you technically can always install the corresponding RPM's from the DVD later on. -- -- Jos Vos -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 From jgranado at redhat.com Tue Jul 1 15:22:28 2008 From: jgranado at redhat.com (Joel Andres Granados) Date: Tue, 01 Jul 2008 17:22:28 +0200 Subject: Redhat 5 Server - "Advanced" In-Reply-To: <20080701145405.GA13824@jasmine.xos.nl> References: <486A40FF.50503@oranged.to> <20080701145405.GA13824@jasmine.xos.nl> Message-ID: <486A4BB4.3060302@redhat.com> Jos Vos wrote: > On Tue, Jul 01, 2008 at 03:36:47PM +0100, Jimmy Stewpot wrote: > >> I am currently installing servers via the kickstart method without any >> problems. Traditionally we had different tree's for AS and ES to keep >> things simple. However now that we are starting to use Redhat Enterprise >> Server 5 it seems there is only one install media source. I am >> interested to install the Advanced platform so that we can use >> clustering and so on. The problem I am having is that its only a two >> socket server and when I register it using a key I don't get the option >> to specify Advanced instead of Server or whatever the new terminology is. >> >> How do you guys specify for an install to be advanced vs standard? > > The key includes what subrepositories on the install media you'll > be using. IIRC the keys belonging to standard subscriptions will > not let you access the cluster and GFS repositories. > > Of course you technically can always install the corresponding RPM's > from the DVD later on. > Yep. I think this is pretty much correct. The terms "advanced" and "standard" as referenced from http://www.redhat.com/rhel/server/compare/ are subscription features. Which are different from the channels you receive (clustering is a channel). I think the easiest way out of this one is to a support rep :) I think (https://www.redhat.com/apps/support/) has all the info you need. Regards. -- Joel Andres Granados Red Hat / Brno, Czech Republic From mats.o.karlsson at gmail.com Tue Jul 1 19:06:07 2008 From: mats.o.karlsson at gmail.com (Mats Karlsson) Date: Tue, 01 Jul 2008 21:06:07 +0200 Subject: keyboard layout in post install script In-Reply-To: <20080527133530.GA11884@none.at> References: <20080523095748.GA9149@none.at> <20080525065412.GC11169@none.at> <483BFF65.3000108@redhat.com> <20080527133530.GA11884@none.at> Message-ID: <486A801F.9090201@gmail.com> Aleksandar Lazic wrote: > Yes but this is at install time not after the system is installed. > > We have the problem at install time we decide de but after the > installation and a reboot the keyboard-layout is us. > > Cheers > Aleks The keyboard is configured in /etc/sysconfig/keyboard /Mats From linux.brainstack at gmail.com Wed Jul 2 06:20:07 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Wed, 2 Jul 2008 11:50:07 +0530 Subject: mention package groups as a parameter along with ks file ? Message-ID: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> Hello, I have created a kickstart file which has @ Base under Software. But i want a way to mention additional package groups at runtime when the kickstart is triggered. Is there any way ? Either %post asking for package group name OR along with ks file path we add one more parameter packagegroup name ? Any Thoughts / Ideas ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Pablo.Iranzo at redhat.com Wed Jul 2 06:26:40 2008 From: Pablo.Iranzo at redhat.com (Pablo Iranzo =?ISO-8859-1?Q?G=F3mez?=) Date: Wed, 02 Jul 2008 08:26:40 +0200 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> Message-ID: <1214980000.15813.12.camel@iranzo.users.redhat.com> You can: ask at %pre and do an %include of a file with each package requested ask at %post and trigger a yum install on each one pass them as kernel parameters like packages="package1 package2 package3 @group1" and then process at %pre the /proc/cmdline to write an extra packages section to be %include Regards Pablo El mi?, 02-07-2008 a las 11:50 +0530, linux brainstack escribi?: > Hello, > I have created a kickstart file which has @ Base under Software. > But i want a way to mention additional package groups at runtime when > the kickstart is triggered. > > Is there any way ? > Either %post asking for package group name > OR > along with ks file path we add one more parameter packagegroup name ? > > Any Thoughts / Ideas ? > > Thanks. > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) RHCE/Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D --- Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, 28016 Madrid, Spain Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From linux.brainstack at gmail.com Wed Jul 2 07:06:43 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Wed, 2 Jul 2008 12:36:43 +0530 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <1214980000.15813.12.camel@iranzo.users.redhat.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> Message-ID: <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> Hi, Thanks for your reply. I tried the below stuff with no success.. Am i doing something wrong ? Under %pre i added - cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > /tmp/packagelist %include /tmp/packagelist So this turns out like If i specify packages=@kde, at WEb Server" Then /tmp/packagelist would have @kde @Web Server But these groups are not installed. Anaconda.cfg has %packages --resolvedeps grub kernel-smp e2fsprogs lvm2 %post Any clues ? Thanks ! On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo G?mez wrote: > You can: > > ask at %pre and do an %include of a file with each package requested > ask at %post and trigger a yum install on each one > pass them as kernel parameters like packages="package1 package2 > package3 @group1" and then process at %pre the /proc/cmdline to write an > extra packages section to be %include > > Regards > Pablo > > El mi?, 02-07-2008 a las 11:50 +0530, linux brainstack escribi?: > > Hello, > > I have created a kickstart file which has @ Base under Software. > > But i want a way to mention additional package groups at runtime when > > the kickstart is triggered. > > > > Is there any way ? > > Either %post asking for package group name > > OR > > along with ks file path we add one more parameter packagegroup name ? > > > > Any Thoughts / Ideas ? > > > > Thanks. > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > -- > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > RHCE/Global Profesional Services Consultant Spain > Phone: +34 645 01 01 49 (CET/CEST) > GnuPG KeyID: 0xFAD3CF0D > --- > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, > 28016 Madrid, Spain > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Pablo.Iranzo at redhat.com Wed Jul 2 07:12:41 2008 From: Pablo.Iranzo at redhat.com (Pablo Iranzo =?ISO-8859-1?Q?G=F3mez?=) Date: Wed, 02 Jul 2008 09:12:41 +0200 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> Message-ID: <1214982761.22666.0.camel@iranzo.users.redhat.com> Check exact contents of /tmp/packagelist, and be sure to specify packages one per line ;) Regards Pablo El mi?, 02-07-2008 a las 12:36 +0530, linux brainstack escribi?: > Hi, > Thanks for your reply. > > I tried the below stuff with no success.. Am i doing something wrong ? > Under %pre i added - > cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > /tmp/packagelist > > %include /tmp/packagelist > > So this turns out like > If i specify > packages=@kde, at WEb Server" > Then /tmp/packagelist would have > @kde > @Web Server > > But these groups are not installed. > > Anaconda.cfg has > %packages --resolvedeps > grub > kernel-smp > e2fsprogs > lvm2 > > %post > > > Any clues ? > > Thanks ! > > On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo G?mez > wrote: > You can: > > ask at %pre and do an %include of a file with each > package requested > ask at %post and trigger a yum install on each one > pass them as kernel parameters like packages="package1 > package2 > package3 @group1" and then process at %pre the /proc/cmdline > to write an > extra packages section to be %include > > Regards > Pablo > > El mi?, 02-07-2008 a las 11:50 +0530, linux brainstack > escribi?: > > > Hello, > > I have created a kickstart file which has @ Base under > Software. > > But i want a way to mention additional package groups at > runtime when > > the kickstart is triggered. > > > > Is there any way ? > > Either %post asking for package group name > > OR > > along with ks file path we add one more parameter > packagegroup name ? > > > > Any Thoughts / Ideas ? > > > > Thanks. > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > -- > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > RHCE/Global Profesional Services Consultant Spain > Phone: +34 645 01 01 49 (CET/CEST) > GnuPG KeyID: 0xFAD3CF0D > --- > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, > planta 3?D, 28016 Madrid, Spain > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid > 28001, Spain > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) RHCE/Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D --- Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, 28016 Madrid, Spain Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From linux.brainstack at gmail.com Wed Jul 2 07:16:06 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Wed, 2 Jul 2008 12:46:06 +0530 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <1214982761.22666.0.camel@iranzo.users.redhat.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> <1214982761.22666.0.camel@iranzo.users.redhat.com> Message-ID: <46aa3d7d0807020016v470d5a69s8db23f41215655a@mail.gmail.com> There is no such file :( Under /tmp i cant see such file. Regarding one package per line - i had added sed to replace , by \n so that should take care of it. Any clues on why the file is not created ? Thanks ! On Wed, Jul 2, 2008 at 12:42 PM, Pablo Iranzo G?mez wrote: > Check exact contents of /tmp/packagelist, and be sure to specify > packages one per line ;) > > Regards > Pablo > > > El mi?, 02-07-2008 a las 12:36 +0530, linux brainstack escribi?: > > Hi, > > Thanks for your reply. > > > > I tried the below stuff with no success.. Am i doing something wrong ? > > Under %pre i added - > > cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > > /tmp/packagelist > > > > %include /tmp/packagelist > > > > So this turns out like > > If i specify > > packages=@kde, at WEb Server" > > Then /tmp/packagelist would have > > @kde > > @Web Server > > > > But these groups are not installed. > > > > Anaconda.cfg has > > %packages --resolvedeps > > grub > > kernel-smp > > e2fsprogs > > lvm2 > > > > %post > > > > > > Any clues ? > > > > Thanks ! > > > > On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo G?mez > > wrote: > > You can: > > > > ask at %pre and do an %include of a file with each > > package requested > > ask at %post and trigger a yum install on each one > > pass them as kernel parameters like packages="package1 > > package2 > > package3 @group1" and then process at %pre the /proc/cmdline > > to write an > > extra packages section to be %include > > > > Regards > > Pablo > > > > El mi?, 02-07-2008 a las 11:50 +0530, linux brainstack > > escribi?: > > > > > Hello, > > > I have created a kickstart file which has @ Base under > > Software. > > > But i want a way to mention additional package groups at > > runtime when > > > the kickstart is triggered. > > > > > > Is there any way ? > > > Either %post asking for package group name > > > OR > > > along with ks file path we add one more parameter > > packagegroup name ? > > > > > > Any Thoughts / Ideas ? > > > > > > Thanks. > > > > > _______________________________________________ > > > Kickstart-list mailing list > > > Kickstart-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > -- > > > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > > RHCE/Global Profesional Services Consultant Spain > > Phone: +34 645 01 01 49 (CET/CEST) > > GnuPG KeyID: 0xFAD3CF0D > > --- > > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, > > planta 3?D, 28016 Madrid, Spain > > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid > > 28001, Spain > > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > -- > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > RHCE/Global Profesional Services Consultant Spain > Phone: +34 645 01 01 49 (CET/CEST) > GnuPG KeyID: 0xFAD3CF0D > --- > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, > 28016 Madrid, Spain > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From linux.brainstack at gmail.com Wed Jul 2 07:32:47 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Wed, 2 Jul 2008 13:02:47 +0530 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <46aa3d7d0807020016v470d5a69s8db23f41215655a@mail.gmail.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> <1214982761.22666.0.camel@iranzo.users.redhat.com> <46aa3d7d0807020016v470d5a69s8db23f41215655a@mail.gmail.com> Message-ID: <46aa3d7d0807020032v6f3af470w86f87d273071bc0c@mail.gmail.com> under anaconda logs i see * Running kickstart %pre script(s) * WARNING - Error code 32512 encountered running a kickstart %pre/%post script * All kickstart %pre script(s) have been run Any clues on where i am messing up ? Thanks ! On Wed, Jul 2, 2008 at 12:46 PM, linux brainstack < linux.brainstack at gmail.com> wrote: > There is no such file :( > Under /tmp i cant see such file. > > Regarding one package per line - i had added sed to replace , by \n so that > should take care of it. > > Any clues on why the file is not created ? > > Thanks ! > > > On Wed, Jul 2, 2008 at 12:42 PM, Pablo Iranzo G?mez < > Pablo.Iranzo at redhat.com> wrote: > >> Check exact contents of /tmp/packagelist, and be sure to specify >> packages one per line ;) >> >> Regards >> Pablo >> >> >> El mi?, 02-07-2008 a las 12:36 +0530, linux brainstack escribi?: >> > Hi, >> > Thanks for your reply. >> > >> > I tried the below stuff with no success.. Am i doing something wrong ? >> > Under %pre i added - >> > cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > >> /tmp/packagelist >> > >> > %include /tmp/packagelist >> > >> > So this turns out like >> > If i specify >> > packages=@kde, at WEb Server" >> > Then /tmp/packagelist would have >> > @kde >> > @Web Server >> > >> > But these groups are not installed. >> > >> > Anaconda.cfg has >> > %packages --resolvedeps >> > grub >> > kernel-smp >> > e2fsprogs >> > lvm2 >> > >> > %post >> > >> > >> > Any clues ? >> > >> > Thanks ! >> > >> > On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo G?mez >> > wrote: >> > You can: >> > >> > ask at %pre and do an %include of a file with each >> > package requested >> > ask at %post and trigger a yum install on each one >> > pass them as kernel parameters like packages="package1 >> > package2 >> > package3 @group1" and then process at %pre the /proc/cmdline >> > to write an >> > extra packages section to be %include >> > >> > Regards >> > Pablo >> > >> > El mi?, 02-07-2008 a las 11:50 +0530, linux brainstack >> > escribi?: >> > >> > > Hello, >> > > I have created a kickstart file which has @ Base under >> > Software. >> > > But i want a way to mention additional package groups at >> > runtime when >> > > the kickstart is triggered. >> > > >> > > Is there any way ? >> > > Either %post asking for package group name >> > > OR >> > > along with ks file path we add one more parameter >> > packagegroup name ? >> > > >> > > Any Thoughts / Ideas ? >> > > >> > > Thanks. >> > >> > > _______________________________________________ >> > > Kickstart-list mailing list >> > > Kickstart-list at redhat.com >> > > https://www.redhat.com/mailman/listinfo/kickstart-list >> > -- >> > >> > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) >> > RHCE/Global Profesional Services Consultant Spain >> > Phone: +34 645 01 01 49 (CET/CEST) >> > GnuPG KeyID: 0xFAD3CF0D >> > --- >> > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, >> > planta 3?D, 28016 Madrid, Spain >> > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid >> > 28001, Spain >> > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 >> > >> > _______________________________________________ >> > Kickstart-list mailing list >> > Kickstart-list at redhat.com >> > https://www.redhat.com/mailman/listinfo/kickstart-list >> > >> > _______________________________________________ >> > Kickstart-list mailing list >> > Kickstart-list at redhat.com >> > https://www.redhat.com/mailman/listinfo/kickstart-list >> -- >> >> Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) >> RHCE/Global Profesional Services Consultant Spain >> Phone: +34 645 01 01 49 (CET/CEST) >> GnuPG KeyID: 0xFAD3CF0D >> --- >> Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, >> 28016 Madrid, Spain >> Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain >> Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 >> >> _______________________________________________ >> Kickstart-list mailing list >> Kickstart-list at redhat.com >> https://www.redhat.com/mailman/listinfo/kickstart-list >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Pablo.Iranzo at redhat.com Wed Jul 2 08:14:11 2008 From: Pablo.Iranzo at redhat.com (Pablo Iranzo =?ISO-8859-1?Q?G=F3mez?=) Date: Wed, 02 Jul 2008 10:14:11 +0200 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <46aa3d7d0807020032v6f3af470w86f87d273071bc0c@mail.gmail.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> <1214982761.22666.0.camel@iranzo.users.redhat.com> <46aa3d7d0807020016v470d5a69s8db23f41215655a@mail.gmail.com> <46aa3d7d0807020032v6f3af470w86f87d273071bc0c@mail.gmail.com> Message-ID: <1214986451.22666.3.camel@iranzo.users.redhat.com> ?Can you post your full kickstart to have a look on it? Have you checked the availability of each command used on VT2 while kickstarting? Try to wrap your %pre script with something like: %pre ( ) 2>&1 | tee -a /tmp/ks-pre.log And have a look at ks-pre.log to check what's wrong. Regards Pablo El mi?, 02-07-2008 a las 13:02 +0530, linux brainstack escribi?: > under anaconda logs i see > > * Running kickstart %pre script(s) > * WARNING - Error code 32512 encountered running a kickstart %pre/% > post script > * All kickstart %pre script(s) have been run > > Any clues on where i am messing up ? > > Thanks ! > > On Wed, Jul 2, 2008 at 12:46 PM, linux brainstack > wrote: > There is no such file :( > Under /tmp i cant see such file. > > Regarding one package per line - i had added sed to replace , > by \n so that should take care of it. > > Any clues on why the file is not created ? > > Thanks ! > > > > On Wed, Jul 2, 2008 at 12:42 PM, Pablo Iranzo G?mez > wrote: > Check exact contents of /tmp/packagelist, and > be sure to specify > packages one per line ;) > > Regards > Pablo > > > El mi?, 02-07-2008 a las 12:36 +0530, linux brainstack > escribi?: > > > Hi, > > Thanks for your reply. > > > > I tried the below stuff with no success.. Am i doing > something wrong ? > > Under %pre i added - > > cat /proc/cmdline |awk -F "packages=" '{print $2}' | > sed 's/,/\n/g' > /tmp/packagelist > > > > %include /tmp/packagelist > > > > So this turns out like > > If i specify > > packages=@kde, at WEb Server" > > Then /tmp/packagelist would have > > @kde > > @Web Server > > > > But these groups are not installed. > > > > Anaconda.cfg has > > %packages --resolvedeps > > grub > > kernel-smp > > e2fsprogs > > lvm2 > > > > %post > > > > > > Any clues ? > > > > Thanks ! > > > > On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo G?mez > > wrote: > > You can: > > > > ask at %pre and do an %include of a > file with each > > package requested > > ask at %post and trigger a yum > install on each one > > pass them as kernel parameters like > packages="package1 > > package2 > > package3 @group1" and then process at %pre > the /proc/cmdline > > to write an > > extra packages section to be %include > > > > Regards > > Pablo > > > > El mi?, 02-07-2008 a las 11:50 +0530, linux > brainstack > > escribi?: > > > > > Hello, > > > I have created a kickstart file which has > @ Base under > > Software. > > > But i want a way to mention additional > package groups at > > runtime when > > > the kickstart is triggered. > > > > > > Is there any way ? > > > Either %post asking for package group name > > > OR > > > along with ks file path we add one more > parameter > > packagegroup name ? > > > > > > Any Thoughts / Ideas ? > > > > > > Thanks. > > > > > > _______________________________________________ > > > Kickstart-list mailing list > > > Kickstart-list at redhat.com > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > -- > > > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > > RHCE/Global Profesional Services Consultant > Spain > > Phone: +34 645 01 01 49 (CET/CEST) > > GnuPG KeyID: 0xFAD3CF0D > > --- > > Direcci?n Comercial: C/Jose Bardasano Baos, > 9, Edif. Gorbea 3, > > planta 3?D, 28016 Madrid, Spain > > Direcci?n Registrada: Red Hat S.L., C/ > Velazquez 63, Madrid > > 28001, Spain > > Inscrita en el Reg. Mercantil de Madrid ? > C.I.F. B82657941 > > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/kickstart-list > -- > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > RHCE/Global Profesional Services Consultant Spain > Phone: +34 645 01 01 49 (CET/CEST) > GnuPG KeyID: 0xFAD3CF0D > --- > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. > Gorbea 3, planta 3?D, 28016 Madrid, Spain > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, > Madrid 28001, Spain > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. > B82657941 > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) RHCE/Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D --- Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, 28016 Madrid, Spain Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From linux.brainstack at gmail.com Wed Jul 2 08:28:17 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Wed, 2 Jul 2008 13:58:17 +0530 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <1214986451.22666.3.camel@iranzo.users.redhat.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> <1214982761.22666.0.camel@iranzo.users.redhat.com> <46aa3d7d0807020016v470d5a69s8db23f41215655a@mail.gmail.com> <46aa3d7d0807020032v6f3af470w86f87d273071bc0c@mail.gmail.com> <1214986451.22666.3.camel@iranzo.users.redhat.com> Message-ID: <46aa3d7d0807020128q1155f52dgb860cdbf4f3f7a9d@mail.gmail.com> Under ks-pre.log i get %include: not found Here is the kickstart file install text network --bootproto dhcp url --url http://satellite-fqdn/ty/GGLm3qyH lang en_US langsupport --default en_US en_US keyboard us mouse none zerombr yes clearpart --all part /boot --fstype=ext3 --size=200 part pv.01 --size=1000 --grow part swap --size=1000 --maxsize=2000 volgroup myvg pv.01 logvol / --vgname=myvg --name=rootvol --size=1000 --grow bootloader --location mbr timezone America/New_York auth --enablemd5 --enableshadow rootpw --iscrypted $1$lc7X.5EV$C9/ehiwEbQt6YnaV9Ie3F0 selinux --permissive reboot firewall --disabled skipx %packages --resolvedeps @ Base %pre ( cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > /tmp/packagelist %include /tmp/packagelist ) 2>&1 | tee -a /tmp/ks-pre.log %post --nochroot mkdir /mnt/sysimage/tmp/ks-tree-copy if [ -d /oldtmp/ks-tree-shadow ]; then cp -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy elif [ -d /tmp/ks-tree-shadow ]; then cp -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy fi cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf %post ( # Log %post errors # --Begin RHN command section-- On Wed, Jul 2, 2008 at 1:44 PM, Pablo Iranzo G?mez wrote: > ?Can you post your full kickstart to have a look on it? > > Have you checked the availability of each command used on VT2 while > kickstarting? > > Try to wrap your %pre script with something like: > > %pre > ( > > ) 2>&1 | tee -a /tmp/ks-pre.log > > And have a look at ks-pre.log to check what's wrong. > > Regards > Pablo > > > El mi?, 02-07-2008 a las 13:02 +0530, linux brainstack escribi?: > > under anaconda logs i see > > > > * Running kickstart %pre script(s) > > * WARNING - Error code 32512 encountered running a kickstart %pre/% > > post script > > * All kickstart %pre script(s) have been run > > > > Any clues on where i am messing up ? > > > > Thanks ! > > > > On Wed, Jul 2, 2008 at 12:46 PM, linux brainstack > > wrote: > > There is no such file :( > > Under /tmp i cant see such file. > > > > Regarding one package per line - i had added sed to replace , > > by \n so that should take care of it. > > > > Any clues on why the file is not created ? > > > > Thanks ! > > > > > > > > On Wed, Jul 2, 2008 at 12:42 PM, Pablo Iranzo G?mez > > wrote: > > Check exact contents of /tmp/packagelist, and > > be sure to specify > > packages one per line ;) > > > > Regards > > Pablo > > > > > > El mi?, 02-07-2008 a las 12:36 +0530, linux brainstack > > escribi?: > > > > > Hi, > > > Thanks for your reply. > > > > > > I tried the below stuff with no success.. Am i doing > > something wrong ? > > > Under %pre i added - > > > cat /proc/cmdline |awk -F "packages=" '{print $2}' | > > sed 's/,/\n/g' > /tmp/packagelist > > > > > > %include /tmp/packagelist > > > > > > So this turns out like > > > If i specify > > > packages=@kde, at WEb Server" > > > Then /tmp/packagelist would have > > > @kde > > > @Web Server > > > > > > But these groups are not installed. > > > > > > Anaconda.cfg has > > > %packages --resolvedeps > > > grub > > > kernel-smp > > > e2fsprogs > > > lvm2 > > > > > > %post > > > > > > > > > Any clues ? > > > > > > Thanks ! > > > > > > On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo G?mez > > > wrote: > > > You can: > > > > > > ask at %pre and do an %include of a > > file with each > > > package requested > > > ask at %post and trigger a yum > > install on each one > > > pass them as kernel parameters like > > packages="package1 > > > package2 > > > package3 @group1" and then process at %pre > > the /proc/cmdline > > > to write an > > > extra packages section to be %include > > > > > > Regards > > > Pablo > > > > > > El mi?, 02-07-2008 a las 11:50 +0530, linux > > brainstack > > > escribi?: > > > > > > > Hello, > > > > I have created a kickstart file which has > > @ Base under > > > Software. > > > > But i want a way to mention additional > > package groups at > > > runtime when > > > > the kickstart is triggered. > > > > > > > > Is there any way ? > > > > Either %post asking for package group name > > > > OR > > > > along with ks file path we add one more > > parameter > > > packagegroup name ? > > > > > > > > Any Thoughts / Ideas ? > > > > > > > > Thanks. > > > > > > > > > _______________________________________________ > > > > Kickstart-list mailing list > > > > Kickstart-list at redhat.com > > > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > -- > > > > > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > > > RHCE/Global Profesional Services Consultant > > Spain > > > Phone: +34 645 01 01 49 (CET/CEST) > > > GnuPG KeyID: 0xFAD3CF0D > > > --- > > > Direcci?n Comercial: C/Jose Bardasano Baos, > > 9, Edif. Gorbea 3, > > > planta 3?D, 28016 Madrid, Spain > > > Direcci?n Registrada: Red Hat S.L., C/ > > Velazquez 63, Madrid > > > 28001, Spain > > > Inscrita en el Reg. Mercantil de Madrid ? > > C.I.F. B82657941 > > > > > > > > _______________________________________________ > > > Kickstart-list mailing list > > > Kickstart-list at redhat.com > > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > > > _______________________________________________ > > > Kickstart-list mailing list > > > Kickstart-list at redhat.com > > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > -- > > > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > > RHCE/Global Profesional Services Consultant Spain > > Phone: +34 645 01 01 49 (CET/CEST) > > GnuPG KeyID: 0xFAD3CF0D > > --- > > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. > > Gorbea 3, planta 3?D, 28016 Madrid, Spain > > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, > > Madrid 28001, Spain > > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. > > B82657941 > > > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > -- > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > RHCE/Global Profesional Services Consultant Spain > Phone: +34 645 01 01 49 (CET/CEST) > GnuPG KeyID: 0xFAD3CF0D > --- > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, > 28016 Madrid, Spain > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Pablo.Iranzo at redhat.com Wed Jul 2 08:36:36 2008 From: Pablo.Iranzo at redhat.com (Pablo Iranzo =?ISO-8859-1?Q?G=F3mez?=) Date: Wed, 02 Jul 2008 10:36:36 +0200 Subject: mention package groups as a parameter along with ks file ? In-Reply-To: <46aa3d7d0807020128q1155f52dgb860cdbf4f3f7a9d@mail.gmail.com> References: <46aa3d7d0807012320l7f0e1655q51a5c3394c1f6d9e@mail.gmail.com> <1214980000.15813.12.camel@iranzo.users.redhat.com> <46aa3d7d0807020006m5c298e5ek6a3b0d4f4dd6e07d@mail.gmail.com> <1214982761.22666.0.camel@iranzo.users.redhat.com> <46aa3d7d0807020016v470d5a69s8db23f41215655a@mail.gmail.com> <46aa3d7d0807020032v6f3af470w86f87d273071bc0c@mail.gmail.com> <1214986451.22666.3.camel@iranzo.users.redhat.com> <46aa3d7d0807020128q1155f52dgb860cdbf4f3f7a9d@mail.gmail.com> Message-ID: <1214987796.22666.5.camel@iranzo.users.redhat.com> You should put the %include under packages, not in %pre Something like %packages %include /tmp/packagelist %pre (..... El mi?, 02-07-2008 a las 13:58 +0530, linux brainstack escribi?: > Under ks-pre.log i get > %include: not found > > Here is the kickstart file > > install > text > network --bootproto dhcp > url --url http://satellite-fqdn/ty/GGLm3qyH > > lang en_US > langsupport --default en_US en_US > keyboard us > mouse none > zerombr yes > clearpart --all > part /boot --fstype=ext3 --size=200 > part pv.01 --size=1000 --grow > part swap --size=1000 --maxsize=2000 > > volgroup myvg pv.01 > logvol / --vgname=myvg --name=rootvol --size=1000 --grow > bootloader --location mbr > timezone America/New_York > auth --enablemd5 --enableshadow > rootpw --iscrypted $1$lc7X.5EV$C9/ehiwEbQt6YnaV9Ie3F0 > > selinux --permissive > reboot > firewall --disabled > skipx > > %packages --resolvedeps > > @ Base > > > %pre > ( > cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > /tmp/packagelist > > %include /tmp/packagelist > ) 2>&1 | tee -a /tmp/ks-pre.log > > %post --nochroot > mkdir /mnt/sysimage/tmp/ks-tree-copy > if [ -d /oldtmp/ks-tree-shadow ]; then > cp -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy > > elif [ -d /tmp/ks-tree-shadow ]; then > cp -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy > fi > cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf > > %post > ( # Log %post errors > > # --Begin RHN command section-- > > > > On Wed, Jul 2, 2008 at 1:44 PM, Pablo Iranzo G?mez > wrote: > ?Can you post your full kickstart to have a look on it? > > Have you checked the availability of each command used > on VT2 while > kickstarting? > > Try to wrap your %pre script with something like: > > %pre > ( > > ) 2>&1 | tee -a /tmp/ks-pre.log > > And have a look at ks-pre.log to check what's wrong. > > Regards > Pablo > > > El mi?, 02-07-2008 a las 13:02 +0530, linux brainstack > escribi?: > > > under anaconda logs i see > > > > * Running kickstart %pre script(s) > > * WARNING - Error code 32512 encountered running a kickstart > %pre/% > > post script > > * All kickstart %pre script(s) have been run > > > > Any clues on where i am messing up ? > > > > Thanks ! > > > > On Wed, Jul 2, 2008 at 12:46 PM, linux brainstack > > wrote: > > There is no such file :( > > Under /tmp i cant see such file. > > > > Regarding one package per line - i had added sed to > replace , > > by \n so that should take care of it. > > > > Any clues on why the file is not created ? > > > > Thanks ! > > > > > > > > On Wed, Jul 2, 2008 at 12:42 PM, Pablo Iranzo G?mez > > wrote: > > Check exact contents > of /tmp/packagelist, and > > be sure to specify > > packages one per line ;) > > > > Regards > > Pablo > > > > > > El mi?, 02-07-2008 a las 12:36 +0530, linux > brainstack > > escribi?: > > > > > Hi, > > > Thanks for your reply. > > > > > > I tried the below stuff with no success.. > Am i doing > > something wrong ? > > > Under %pre i added - > > > cat /proc/cmdline |awk -F "packages=" > '{print $2}' | > > sed 's/,/\n/g' > /tmp/packagelist > > > > > > %include /tmp/packagelist > > > > > > So this turns out like > > > If i specify > > > packages=@kde, at WEb Server" > > > Then /tmp/packagelist would have > > > @kde > > > @Web Server > > > > > > But these groups are not installed. > > > > > > Anaconda.cfg has > > > %packages --resolvedeps > > > grub > > > kernel-smp > > > e2fsprogs > > > lvm2 > > > > > > %post > > > > > > > > > Any clues ? > > > > > > Thanks ! > > > > > > On Wed, Jul 2, 2008 at 11:56 AM, Pablo > Iranzo G?mez > > > wrote: > > > You can: > > > > > > ask at %pre and do an % > include of a > > file with each > > > package requested > > > ask at %post and trigger a > yum > > install on each one > > > pass them as kernel > parameters like > > packages="package1 > > > package2 > > > package3 @group1" and then process > at %pre > > the /proc/cmdline > > > to write an > > > extra packages section to be % > include > > > > > > Regards > > > Pablo > > > > > > El mi?, 02-07-2008 a las 11:50 > +0530, linux > > brainstack > > > escribi?: > > > > > > > Hello, > > > > I have created a kickstart file > which has > > @ Base under > > > Software. > > > > But i want a way to mention > additional > > package groups at > > > runtime when > > > > the kickstart is triggered. > > > > > > > > Is there any way ? > > > > Either %post asking for package > group name > > > > OR > > > > along with ks file path we add > one more > > parameter > > > packagegroup name ? > > > > > > > > Any Thoughts / Ideas ? > > > > > > > > Thanks. > > > > > > > > > > _______________________________________________ > > > > Kickstart-list mailing list > > > > Kickstart-list at redhat.com > > > > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > -- > > > > > > Pablo Iranzo G?mez > (Pablo.Iranzo at redhat.com) > > > RHCE/Global Profesional Services > Consultant > > Spain > > > Phone: +34 645 01 01 49 (CET/CEST) > > > GnuPG KeyID: 0xFAD3CF0D > > > --- > > > Direcci?n Comercial: C/Jose > Bardasano Baos, > > 9, Edif. Gorbea 3, > > > planta 3?D, 28016 Madrid, Spain > > > Direcci?n Registrada: Red Hat > S.L., C/ > > Velazquez 63, Madrid > > > 28001, Spain > > > Inscrita en el Reg. Mercantil de > Madrid ? > > C.I.F. B82657941 > > > > > > > > > _______________________________________________ > > > Kickstart-list mailing list > > > Kickstart-list at redhat.com > > > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > > > > _______________________________________________ > > > Kickstart-list mailing list > > > Kickstart-list at redhat.com > > > > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > -- > > > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > > RHCE/Global Profesional Services Consultant > Spain > > Phone: +34 645 01 01 49 (CET/CEST) > > GnuPG KeyID: 0xFAD3CF0D > > --- > > Direcci?n Comercial: C/Jose Bardasano Baos, > 9, Edif. > > Gorbea 3, planta 3?D, 28016 Madrid, Spain > > Direcci?n Registrada: Red Hat S.L., C/ > Velazquez 63, > > Madrid 28001, Spain > > Inscrita en el Reg. Mercantil de Madrid ? > C.I.F. > > B82657941 > > > > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/kickstart-list > > > > > > > > _______________________________________________ > > Kickstart-list mailing list > > Kickstart-list at redhat.com > > https://www.redhat.com/mailman/listinfo/kickstart-list > -- > > Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) > RHCE/Global Profesional Services Consultant Spain > Phone: +34 645 01 01 49 (CET/CEST) > GnuPG KeyID: 0xFAD3CF0D > --- > Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, > planta 3?D, 28016 Madrid, Spain > Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid > 28001, Spain > Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) RHCE/Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D --- Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, 28016 Madrid, Spain Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From srobson at cadence.com Wed Jul 2 08:41:54 2008 From: srobson at cadence.com (Steve Robson) Date: Wed, 02 Jul 2008 09:41:54 +0100 Subject: mention package groups as a parameter along with ks file? In-Reply-To: <20080702082838.17E17619B7E@hormel.redhat.com> References: <20080702082838.17E17619B7E@hormel.redhat.com> Message-ID: <486B3F52.1060409@cadence.com> >> Under ks-pre.log i get >> %include: not found >> >> Here is the kickstart file >> >> install >> text >> network --bootproto dhcp >> url --url http://satellite-fqdn/ty/GGLm3qyH >> >> lang en_US >> langsupport --default en_US en_US >> keyboard us >> mouse none >> zerombr yes >> clearpart --all >> part /boot --fstype=ext3 --size=200 >> part pv.01 --size=1000 --grow >> part swap --size=1000 --maxsize=2000 >> >> volgroup myvg pv.01 >> logvol / --vgname=myvg --name=rootvol --size=1000 --grow >> bootloader --location mbr >> timezone America/New_York >> auth --enablemd5 --enableshadow >> rootpw --iscrypted $1$lc7X.5EV$C9/ehiwEbQt6YnaV9Ie3F0 >> >> selinux --permissive >> reboot >> firewall --disabled >> skipx >> >> %packages --resolvedeps >> >> @ Base >> >> %pre >> ( >> cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > /tmp/packagelist >> >> %include /tmp/packagelist >> ) 2>&1 | tee -a /tmp/ks-pre.log >> >> %post --nochroot >> mkdir /mnt/sysimage/tmp/ks-tree-copy >> if [ -d /oldtmp/ks-tree-shadow ]; then >> cp -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy >> >> elif [ -d /tmp/ks-tree-shadow ]; then >> cp -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy >> fi >> cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf >> >> %post I think you have the "%include /tmp/packagelist" in the wrong place. It wants to in the "%packages" section: ... %packages --resolvedeps @ Base %include /tmp/packagelist %pre ( awk -F "packages=" '{print $2}' /proc/cmdline |sed 's/,/\n/g' > /tmp/packagelist ) 2>&1 | tee -a /tmp/ks-pre.log %post ... Good luck! -- Regards, Steve IT Support - UNIX/Linux Cadence Design Systems Bagshot Road Bracknell BERKSHIRE RG12 0PH UK From linux.brainstack at gmail.com Wed Jul 2 08:50:10 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Wed, 2 Jul 2008 14:20:10 +0530 Subject: mention package groups as a parameter along with ks file? In-Reply-To: <486B3F52.1060409@cadence.com> References: <20080702082838.17E17619B7E@hormel.redhat.com> <486B3F52.1060409@cadence.com> Message-ID: <46aa3d7d0807020150t2ff67c33ke913e778fe8bdc61@mail.gmail.com> Ah .. Got it. It now works. Thnx Pablo & Steve. On Wed, Jul 2, 2008 at 2:11 PM, Steve Robson wrote: > > Under ks-pre.log i get >>> %include: not found >>> >>> Here is the kickstart file >>> >>> install >>> text >>> network --bootproto dhcp >>> url --url http://satellite-fqdn/ty/GGLm3qyH >>> >>> lang en_US >>> langsupport --default en_US en_US >>> keyboard us >>> mouse none >>> zerombr yes >>> clearpart --all >>> part /boot --fstype=ext3 --size=200 >>> part pv.01 --size=1000 --grow >>> part swap --size=1000 --maxsize=2000 >>> >>> volgroup myvg pv.01 >>> logvol / --vgname=myvg --name=rootvol --size=1000 --grow >>> bootloader --location mbr >>> timezone America/New_York >>> auth --enablemd5 --enableshadow >>> rootpw --iscrypted $1$lc7X.5EV$C9/ehiwEbQt6YnaV9Ie3F0 >>> >>> selinux --permissive >>> reboot >>> firewall --disabled >>> skipx >>> >>> %packages --resolvedeps >>> >>> @ Base >>> >>> %pre >>> ( >>> cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > >>> /tmp/packagelist >>> >>> %include /tmp/packagelist ) 2>&1 | tee -a /tmp/ks-pre.log >>> >>> %post --nochroot >>> mkdir /mnt/sysimage/tmp/ks-tree-copy >>> if [ -d /oldtmp/ks-tree-shadow ]; then >>> cp -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy >>> >>> elif [ -d /tmp/ks-tree-shadow ]; then >>> cp -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy >>> fi >>> cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf >>> >>> %post >>> >> > I think you have the "%include /tmp/packagelist" in the wrong place. It > wants to in the "%packages" section: > > ... > %packages --resolvedeps > @ Base > %include /tmp/packagelist > > %pre > ( > awk -F "packages=" '{print $2}' /proc/cmdline |sed 's/,/\n/g' > > /tmp/packagelist > ) 2>&1 | tee -a /tmp/ks-pre.log > %post > ... > > Good luck! > -- > Regards, > Steve > > IT Support - UNIX/Linux Cadence Design Systems > Bagshot Road > Bracknell BERKSHIRE > RG12 0PH UK > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Pablo.Iranzo at redhat.com Wed Jul 2 08:54:17 2008 From: Pablo.Iranzo at redhat.com (Pablo Iranzo =?ISO-8859-1?Q?G=F3mez?=) Date: Wed, 02 Jul 2008 10:54:17 +0200 Subject: mention package groups as a parameter along with ks file? In-Reply-To: <46aa3d7d0807020150t2ff67c33ke913e778fe8bdc61@mail.gmail.com> References: <20080702082838.17E17619B7E@hormel.redhat.com> <486B3F52.1060409@cadence.com> <46aa3d7d0807020150t2ff67c33ke913e778fe8bdc61@mail.gmail.com> Message-ID: <1214988857.22666.7.camel@iranzo.users.redhat.com> Congratulations :) El mi?, 02-07-2008 a las 14:20 +0530, linux brainstack escribi?: > Ah .. Got it. > It now works. Thnx Pablo & Steve. > > > On Wed, Jul 2, 2008 at 2:11 PM, Steve Robson > wrote: > > > Under ks-pre.log i get > %include: not found > > Here is the kickstart file > > install > text > network --bootproto dhcp > url --url http://satellite-fqdn/ty/GGLm3qyH > > lang en_US > langsupport --default en_US en_US > keyboard us > mouse none > zerombr yes > clearpart --all > part /boot --fstype=ext3 --size=200 > part pv.01 --size=1000 --grow > part swap --size=1000 --maxsize=2000 > > volgroup myvg pv.01 > logvol / --vgname=myvg --name=rootvol > --size=1000 --grow > bootloader --location mbr > timezone America/New_York > auth --enablemd5 --enableshadow > rootpw --iscrypted $1$lc7X.5EV > $C9/ehiwEbQt6YnaV9Ie3F0 > > selinux --permissive > reboot > firewall --disabled > skipx > > %packages --resolvedeps > > @ Base > > %pre > ( > cat /proc/cmdline |awk -F "packages=" '{print > $2}' |sed 's/,/\n/g' > /tmp/packagelist > > %include /tmp/packagelist ) 2>&1 | tee > -a /tmp/ks-pre.log > > %post --nochroot > mkdir /mnt/sysimage/tmp/ks-tree-copy > if [ -d /oldtmp/ks-tree-shadow ]; then > cp > -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy > > elif [ -d /tmp/ks-tree-shadow ]; then > cp > -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy > fi > cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf > > %post > > > I think you have the "%include /tmp/packagelist" in the wrong > place. It wants to in the "%packages" section: > > ... > %packages --resolvedeps > @ Base > %include /tmp/packagelist > > %pre > ( > awk -F "packages=" '{print $2}' /proc/cmdline |sed 's/,/\n/g' > > /tmp/packagelist > > ) 2>&1 | tee -a /tmp/ks-pre.log > %post > > ... > > Good luck! > -- > Regards, > Steve > > IT Support - UNIX/Linux Cadence Design > Systems > Bagshot Road > Bracknell > BERKSHIRE > RG12 0PH UK > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- Pablo Iranzo G?mez (Pablo.Iranzo at redhat.com) RHCE/Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D --- Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3?D, 28016 Madrid, Spain Direcci?n Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From ricdur2 at gmail.com Wed Jul 2 13:20:09 2008 From: ricdur2 at gmail.com (Richard Duran) Date: Wed, 2 Jul 2008 07:20:09 -0600 Subject: clearpart question Message-ID: What is the default behavior of clearpart when --drives is not specified? Does it only clear partitions on the first drive it encounters? -rdj -------------- next part -------------- An HTML attachment was scrubbed... URL: From jake at v2gnu.com Wed Jul 2 13:22:37 2008 From: jake at v2gnu.com (Jake Vickers) Date: Wed, 02 Jul 2008 09:22:37 -0400 Subject: clearpart question In-Reply-To: References: Message-ID: <486B811D.5050708@v2gnu.com> Richard Duran wrote: > What is the default behavior of clearpart when --drives is not > specified? Does it only clear partitions on the first drive it encounters? I believe it only clears the first drive, IIRC. From mdehaan at redhat.com Wed Jul 2 14:08:47 2008 From: mdehaan at redhat.com (Michael DeHaan) Date: Wed, 02 Jul 2008 10:08:47 -0400 Subject: Reminder: kickstart-list search engine / IRC channel Message-ID: <486B8BEF.9030500@redhat.com> Quickie reminder notes: There are a lot of good answers and threads in the archives, you might find this custom search engine useful for searching the mailing list archives: http://www.google.com/coop/cse?cx=016811804524159694721%3A1h7btspnxtu This may help solve some repeat-thread issues. We also have an IRC channel on irc.freenode.net, #kickstart. It currently has about 16 people in it, and if everyone on the list joined, it would become an /outstanding/ real-time help resource. --Michael From Matt.Fahrner at coat.com Wed Jul 2 14:26:35 2008 From: Matt.Fahrner at coat.com (Matt Fahrner) Date: Wed, 02 Jul 2008 10:26:35 -0400 Subject: Reminder: kickstart-list search engine / IRC channel In-Reply-To: <486B8BEF.9030500@redhat.com> References: <486B8BEF.9030500@redhat.com> Message-ID: <486B901B.6070404@coat.com> Thanks for building and posting this. Seems pretty handy! Also useful to know about the capability! - Matt Michael DeHaan wrote: > Quickie reminder notes: > > There are a lot of good answers and threads in the archives, you might > find this custom search engine useful for searching the mailing list > archives: > > http://www.google.com/coop/cse?cx=016811804524159694721%3A1h7btspnxtu > > This may help solve some repeat-thread issues. > > We also have an IRC channel on irc.freenode.net, #kickstart. It > currently has about 16 people in it, and if everyone on the list joined, > it would become an /outstanding/ real-time help resource. > > --Michael > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -- --------------------------------------------------------------------- Matt Fahrner 2 South Park St. Chief Systems Architect Willis House Burlington Coat Factory Warehouse Lebanon, N.H. 03766 Tel: (603) 448-4100 x5150 USA Fax: (603) 443-6190 Matt.Fahrner at COAT.COM --------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From linux.brainstack at gmail.com Tue Jul 8 10:15:35 2008 From: linux.brainstack at gmail.com (linux brainstack) Date: Tue, 8 Jul 2008 15:45:35 +0530 Subject: mention package groups as a parameter along with ks file? In-Reply-To: <28113B94-D352-4D16-96A9-6A3C3B1371E6@ggerard.com> References: <20080702082838.17E17619B7E@hormel.redhat.com> <486B3F52.1060409@cadence.com> <46aa3d7d0807020150t2ff67c33ke913e778fe8bdc61@mail.gmail.com> <28113B94-D352-4D16-96A9-6A3C3B1371E6@ggerard.com> Message-ID: <46aa3d7d0807080315w3e5ed919x67ad619a63af35e4@mail.gmail.com> Hello Greg, The corrected and working ks snip is below : %packages --resolvedeps @ Base %include /tmp/packagelist %pre ( cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > /tmp/packagelist ) 2>&1 | tee -a /tmp/ks-pre.log Key Points : Specify %include filename under %package section. And under %pre you process and prepare the list that is to be passed under %packages. Hope this helps :) On Wed, Jul 2, 2008 at 11:17 PM, Gregory Gerard wrote: > Hi, LB, > Would you mind posting just the corrected version that fully works? > > thanks! > greg > > On Jul 2, 2008, at 1:50 AM, linux brainstack wrote: > > Ah .. Got it. > It now works. Thnx Pablo & Steve. > > > On Wed, Jul 2, 2008 at 2:11 PM, Steve Robson wrote: > >> >> Under ks-pre.log i get >>>> %include: not found >>>> >>>> Here is the kickstart file >>>> >>>> install >>>> text >>>> network --bootproto dhcp >>>> url --url http://satellite-fqdn/ty/GGLm3qyH >>>> >>>> lang en_US >>>> langsupport --default en_US en_US >>>> keyboard us >>>> mouse none >>>> zerombr yes >>>> clearpart --all >>>> part /boot --fstype=ext3 --size=200 >>>> part pv.01 --size=1000 --grow >>>> part swap --size=1000 --maxsize=2000 >>>> >>>> volgroup myvg pv.01 >>>> logvol / --vgname=myvg --name=rootvol --size=1000 --grow >>>> bootloader --location mbr >>>> timezone America/New_York >>>> auth --enablemd5 --enableshadow >>>> rootpw --iscrypted $1$lc7X.5EV$C9/ehiwEbQt6YnaV9Ie3F0 >>>> >>>> selinux --permissive >>>> reboot >>>> firewall --disabled >>>> skipx >>>> >>>> %packages --resolvedeps >>>> >>>> @ Base >>>> >>>> %pre >>>> ( >>>> cat /proc/cmdline |awk -F "packages=" '{print $2}' |sed 's/,/\n/g' > >>>> /tmp/packagelist >>>> >>>> %include /tmp/packagelist ) 2>&1 | tee -a /tmp/ks-pre.log >>>> >>>> %post --nochroot >>>> mkdir /mnt/sysimage/tmp/ks-tree-copy >>>> if [ -d /oldtmp/ks-tree-shadow ]; then >>>> cp -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy >>>> >>>> elif [ -d /tmp/ks-tree-shadow ]; then >>>> cp -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy >>>> fi >>>> cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf >>>> >>>> %post >>>> >>> >> I think you have the "%include /tmp/packagelist" in the wrong place. It >> wants to in the "%packages" section: >> >> ... >> %packages --resolvedeps >> @ Base >> %include /tmp/packagelist >> >> %pre >> ( >> awk -F "packages=" '{print $2}' /proc/cmdline |sed 's/,/\n/g' > >> /tmp/packagelist >> ) 2>&1 | tee -a /tmp/ks-pre.log >> %post >> ... >> >> Good luck! >> -- >> Regards, >> Steve >> >> IT Support - UNIX/Linux Cadence Design Systems >> Bagshot Road >> Bracknell BERKSHIRE >> RG12 0PH UK >> >> >> _______________________________________________ >> Kickstart-list mailing list >> Kickstart-list at redhat.com >> https://www.redhat.com/mailman/listinfo/kickstart-list >> > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Wed Jul 9 08:57:03 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Wed, 9 Jul 2008 18:57:03 +1000 Subject: cmdline ignored Message-ID: <9c2cca270807090157g34d82ec5uc10d9491a6ffa999@mail.gmail.com> Hello, We are trying to use the "cmdline" command in kickstart but it seems that anaconda simply ignores it and stays in the ncurses interface. Our environment: CentOS 5.2 x86_64 Xen DomU (running under CentOS 5.2 x86_64 Dom0). Here is a sample kickstart file, served over HTTP from the Dom0: ------8<------------------------------ install url --url http://192.168.1.4/centos/5.2/os/x86_64 cmdline logging --level=debug lang en_US.UTF-8 network --device eth0 --bootproto static --ip=192.168.1.8 --netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.2 --hostname build01 rootpw --iscrypted encrypted-password authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc Australia/Sydney bootloader --location=mbr --driveorder=xvda --append="console=xvc0" poweroff # Partitioning zerombr clearpart --all --initlabel --drives=xvda part /boot --fstype ext3 --size=100 --ondisk=xvda part pv.2 --size=0 --grow --ondisk=xvda volgroup build01 --pesize=32768 pv.2 logvol / --fstype ext3 --name=root --vgname=build01 --size=1024 --grow logvol swap --fstype swap --name=swap --vgname=build01 --size=256 --grow --maxsize=512 %packages --nobase %post --log=/root/my-post-log --nochroot cp -a /root/directory /mnt/sysimage/root/ ------8<------------------------------ I asked on the CentOS users mailing list but didn't get any response. Thanks, --Amos From avalder at gmail.com Wed Jul 9 14:56:51 2008 From: avalder at gmail.com (Al Alder) Date: Wed, 9 Jul 2008 09:56:51 -0500 Subject: mixing RHEL 4.0 and 4.6 boot Message-ID: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> We have an HP Proliant server. This server has SATA drives. We are required by our customer to install RHEL 4.0. The kickstart that we use is done via PXE boot. The 4.0 does not have the driver for the SATA drives. RHEL 4.6 does have the drive. Will replacing the kickstart 4.0 pxelinux.0 on the kickstart machine with the 4.6 pxelinux.0 cause the server to boot with the right driver and then continue to install 4.0? -- Later, Al Alder -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joe_Wulf at yahoo.com Wed Jul 9 15:44:08 2008 From: Joe_Wulf at yahoo.com (Joe_Wulf) Date: Wed, 9 Jul 2008 11:44:08 -0400 Subject: mixing RHEL 4.0 and 4.6 boot In-Reply-To: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> References: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> Message-ID: Very doubtful... pxelinux.0 is the engine that gets the vmlinux, initrd.img and the isolinux.cfg files over to the target for booting. You'd still be transfering those RHEL4.0 files over. what might work is addiing the driver into the kickstart process via the 'driverdisk' option. R, -Joe Wulf, CISSP, USN(RET) Senior IA Engineer ProSync Technology Group, LLC www.prosync.com _____ From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Al Alder Sent: Wednesday, July 09, 2008 10:57 To: kickstart-list at redhat.com Subject: mixing RHEL 4.0 and 4.6 boot We have an HP Proliant server. This server has SATA drives. We are required by our customer to install RHEL 4.0. The kickstart that we use is done via PXE boot. The 4.0 does not have the driver for the SATA drives. RHEL 4.6 does have the drive. Will replacing the kickstart 4.0 pxelinux.0 on the kickstart machine with the 4.6 pxelinux.0 cause the server to boot with the right driver and then continue to install 4.0? -- Later, Al Alder -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgroen at osdev.nl Wed Jul 9 15:56:45 2008 From: pgroen at osdev.nl (Peter M. Groen) Date: Wed, 9 Jul 2008 17:56:45 +0200 Subject: mixing RHEL 4.0 and 4.6 boot In-Reply-To: References: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> Message-ID: <20080709175645.098faf3c@thor.osdev.nl> On Wed, 9 Jul 2008 11:44:08 -0400 "Joe_Wulf" wrote: Or you could customize the kernel and rebuild initrd. There are good documents on the internet on how to do that. > Very doubtful... pxelinux.0 is the engine that gets the vmlinux, > initrd.img and the isolinux.cfg files over to the target for booting. > You'd still be transfering those RHEL4.0 files over. > > what might work is addiing the driver into the kickstart process via the > 'driverdisk' option. > > > R, > -Joe Wulf, CISSP, USN(RET) > Senior IA Engineer > ProSync Technology Group, LLC > www.prosync.com > > > _____ > > From: kickstart-list-bounces at redhat.com > [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Al Alder > Sent: Wednesday, July 09, 2008 10:57 > To: kickstart-list at redhat.com > Subject: mixing RHEL 4.0 and 4.6 boot > > > We have an HP Proliant server. This server has SATA drives. We are > required by our customer to install > RHEL 4.0. The kickstart that we use is done via PXE boot. The 4.0 does > not have the driver for the SATA drives. > RHEL 4.6 does have the drive. Will replacing the kickstart 4.0 > pxelinux.0 on the kickstart machine with the 4.6 > pxelinux.0 cause the server to boot with the right driver and then > continue to install 4.0? > -- Open Systems Development Peter M. Groen Klipperwerf 12 2317 DZ Leiden Telef : +31-71-5216317 Mobiel : +31-6-29563390 Email : pgroen at osdev.nl WWW : http://www.osdev.nl Skype : peter_m_groen From Chip.Shabazian at bankofamerica.com Wed Jul 9 16:09:32 2008 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Wed, 09 Jul 2008 09:09:32 -0700 Subject: mixing RHEL 4.0 and 4.6 boot In-Reply-To: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> References: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> Message-ID: Bust open the 4.0 initrd and replace loader with the one from 4.6. I have it documented (for RHEL 5 which needs cpio) in my presentation from last year, slide 32: http://www.shabazian.com/lw2007.pdf ________________________________ From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Al Alder Sent: Wednesday, July 09, 2008 7:57 AM To: kickstart-list at redhat.com Subject: mixing RHEL 4.0 and 4.6 boot We have an HP Proliant server. This server has SATA drives. We are required by our customer to install RHEL 4.0. The kickstart that we use is done via PXE boot. The 4.0 does not have the driver for the SATA drives. RHEL 4.6 does have the drive. Will replacing the kickstart 4.0 pxelinux.0 on the kickstart machine with the 4.6 pxelinux.0 cause the server to boot with the right driver and then continue to install 4.0? -- Later, Al Alder -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmercer at harris.com Wed Jul 9 16:35:31 2008 From: rmercer at harris.com (Rodney Mercer) Date: Wed, 09 Jul 2008 12:35:31 -0400 Subject: cmdline ignored In-Reply-To: <20080709160020.15C94619F06@hormel.redhat.com> References: <20080709160020.15C94619F06@hormel.redhat.com> Message-ID: <1215621331.28242.22.camel@ratbert.evn.harris.com> On Wed, 2008-07-09 at 12:00 -0400, kickstart-list-request at redhat.com wrote: > From: > Amos Shapira > > Reply-To: > Discussion list about Kickstart > > To: > kickstart-list at redhat.com > Subject: > cmdline ignored > Date: > Wed, 9 Jul 2008 18:57:03 +1000 > (04:57 EDT) > > Hello, > > We are trying to use the "cmdline" command in kickstart but it > seems > that anaconda simply ignores it and stays in the ncurses > interface. > > Our environment: CentOS 5.2 x86_64 Xen DomU (running under > CentOS 5.2 > x86_64 Dom0). > > Here is a sample kickstart file, served over HTTP from the > Dom0: > ------8<------------------------------ > install > url --url http://192.168.1.4/centos/5.2/os/x86_64 > cmdline > > logging --level=debug > lang en_US.UTF-8 > network --device eth0 --bootproto static --ip=192.168.1.8 > --netmask=255.255.255.0 --gateway=192.168.1.1 > --nameserver=192.168.1.2 > --hostname build01 > rootpw --iscrypted encrypted-password > authconfig --enableshadow --enablemd5 > selinux --disabled > timezone --utc Australia/Sydney > bootloader --location=mbr --driveorder=xvda > --append="console=xvc0" > poweroff > > # Partitioning > zerombr > clearpart --all --initlabel --drives=xvda > part /boot --fstype ext3 --size=100 --ondisk=xvda > part pv.2 --size=0 --grow --ondisk=xvda > volgroup build01 --pesize=32768 pv.2 > logvol / --fstype ext3 --name=root --vgname=build01 > --size=1024 --grow > logvol swap --fstype swap --name=swap --vgname=build01 > --size=256 > --grow --maxsize=512 > > %packages --nobase > > %post --log=/root/my-post-log --nochroot > cp -a /root/directory /mnt/sysimage/root/ > ------8<------------------------------ > > I asked on the CentOS users mailing list but didn't get any > response. > > Thanks, > > -- > ?Amos Amos, I don't know if it will make a difference, but I have: "keyboard us" as an option in my kickstart config where it is missing in yours. I haven't done the Xen kickstart thing however. Good luck. Rodney. From klaus.steden at thomson.net Wed Jul 9 17:48:02 2008 From: klaus.steden at thomson.net (Klaus Steden) Date: Wed, 09 Jul 2008 10:48:02 -0700 Subject: cmdline ignored In-Reply-To: <9c2cca270807090157g34d82ec5uc10d9491a6ffa999@mail.gmail.com> Message-ID: The usual advice is to stuff a 'sleep 9999999' in there somewhere and check things out on tty2, the virtual console that gets enabled after Kickstart begins. cheers, Klaus On 7/9/08 1:57 AM, "Amos Shapira" did etch on stone tablets: > Hello, > > We are trying to use the "cmdline" command in kickstart but it seems > that anaconda simply ignores it and stays in the ncurses interface. > > Our environment: CentOS 5.2 x86_64 Xen DomU (running under CentOS 5.2 > x86_64 Dom0). > > Here is a sample kickstart file, served over HTTP from the Dom0: > ------8<------------------------------ > install > url --url http://192.168.1.4/centos/5.2/os/x86_64 > cmdline > > logging --level=debug > lang en_US.UTF-8 > network --device eth0 --bootproto static --ip=192.168.1.8 > --netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.2 > --hostname build01 > rootpw --iscrypted encrypted-password > authconfig --enableshadow --enablemd5 > selinux --disabled > timezone --utc Australia/Sydney > bootloader --location=mbr --driveorder=xvda --append="console=xvc0" > poweroff > > # Partitioning > zerombr > clearpart --all --initlabel --drives=xvda > part /boot --fstype ext3 --size=100 --ondisk=xvda > part pv.2 --size=0 --grow --ondisk=xvda > volgroup build01 --pesize=32768 pv.2 > logvol / --fstype ext3 --name=root --vgname=build01 --size=1024 --grow > logvol swap --fstype swap --name=swap --vgname=build01 --size=256 > --grow --maxsize=512 > > %packages --nobase > > %post --log=/root/my-post-log --nochroot > cp -a /root/directory /mnt/sysimage/root/ > ------8<------------------------------ > > I asked on the CentOS users mailing list but didn't get any response. > > Thanks, > > --Amos > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From amos.shapira at gmail.com Wed Jul 9 23:18:06 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 10 Jul 2008 09:18:06 +1000 Subject: cmdline ignored In-Reply-To: References: <9c2cca270807090157g34d82ec5uc10d9491a6ffa999@mail.gmail.com> Message-ID: <9c2cca270807091618vd457875n87148a0b0224138d@mail.gmail.com> 2008/7/10 Klaus Steden : > > The usual advice is to stuff a 'sleep 9999999' in there somewhere and check > things out on tty2, the virtual console that gets enabled after Kickstart > begins. Thanks for the advice, but: 1. I don't know how to switch to a different vc in a Xen guest consolse ("xm con ..."). I tried looking around the xen forums for an answer (because the Anaconda docs mention something about each vc having all sorts of output sent to it) but as far as I can tell even "chvt" doesn't work. 2. This "sleep 99999999" (or actually my favourite for indefinite pause(2) is "perl -e sleep") isn't something I can put permanently as part of the automatic unattended setup but only during debug/dev. I'd much prefer something that I can use all the time and keep the install unattended and if something goes wrong in a non-dev situation then I can see the output. Cheers, --Amos From klaus.steden at thomson.net Wed Jul 9 23:33:28 2008 From: klaus.steden at thomson.net (Klaus Steden) Date: Wed, 09 Jul 2008 16:33:28 -0700 Subject: cmdline ignored In-Reply-To: <9c2cca270807091618vd457875n87148a0b0224138d@mail.gmail.com> Message-ID: Hi Amos, 1. I've never done an install in Xen, but if it behaves like the traditional Anaconda installation, you can use Ctrl-F# to switch to that vt, i.e. Ctrl-F3 switches to tty3, Ctrl-F2 to tty2, etc. You'll see fairly voluminous debugging output from the bootstrap and install process on tty5 and tty6, and if you're using the graphical installer, switching back to tty7 will return you to X11. This is something you do interactively from the console ... I've never bothered to do any scripting/programming with chvt, so I can't comment on it. 2. I know it's not something you can do permanently, but it at least buys you time during %post to investigate and see what's going on. I've used this approach before to figure out why installs would hang during %post (cfengine would go zombie sometimes when run) that simply looking at the machine won't tell you -- you need to get inside it, run the commands that don't work, see what happens, etc. Once you've identified the culprit, you fix the bug, disable the sleep statement, and try again with a live install. As far as trapping the output, I believe Kickstart now supports remote logging via syslog (it was debated for addition to RHEL4 and similar versions but didn't make the cut); you could use that to trap messages in realtime during installation. I resorted to keeping my own, more verbose logs of installs with some additional hooks in the %post section of my Kickstart script since I found what Anaconda saved for me to be a little on the lean side. hth, Klaus On 7/9/08 4:18 PM, "Amos Shapira" did etch on stone tablets: > 2008/7/10 Klaus Steden : >> >> The usual advice is to stuff a 'sleep 9999999' in there somewhere and check >> things out on tty2, the virtual console that gets enabled after Kickstart >> begins. > > Thanks for the advice, but: > > 1. I don't know how to switch to a different vc in a Xen guest > consolse ("xm con ..."). I tried looking around the xen forums for an > answer (because the Anaconda docs mention something about each vc > having all sorts of output sent to it) but as far as I can tell even > "chvt" doesn't work. > > 2. This "sleep 99999999" (or actually my favourite for indefinite > pause(2) is "perl -e sleep") isn't something I can put permanently as > part of the automatic unattended setup but only during debug/dev. I'd > much prefer something that I can use all the time and keep the install > unattended and if something goes wrong in a non-dev situation then I > can see the output. > > Cheers, > > --Amos > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From amos.shapira at gmail.com Wed Jul 9 23:46:48 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 10 Jul 2008 09:46:48 +1000 Subject: cmdline ignored In-Reply-To: References: <9c2cca270807091618vd457875n87148a0b0224138d@mail.gmail.com> Message-ID: <9c2cca270807091646ibdbb58id7755b202219b177@mail.gmail.com> 2008/7/10 Klaus Steden : > > Hi Amos, > > 1. I've never done an install in Xen, but if it behaves like the traditional > Anaconda installation, you can use Ctrl-F# to switch to that vt, i.e. > Ctrl-F3 switches to tty3, Ctrl-F2 to tty2, etc. You'll see fairly voluminous Yes I know about these, it's just that it doesn't work in a Xen text console. Maybe Xen needs some more flags or configuration to enable this. > debugging output from the bootstrap and install process on tty5 and tty6, > and if you're using the graphical installer, switching back to tty7 will > return you to X11. This is something you do interactively from the console > ... I've never bothered to do any scripting/programming with chvt, so I > can't comment on it. This stuff is general for any linux, BTW, it's not specific to Anaconda. > > 2. I know it's not something you can do permanently, but it at least buys > you time during %post to investigate and see what's going on. I've used this > approach before to figure out why installs would hang during %post (cfengine > would go zombie sometimes when run) that simply looking at the machine won't > tell you -- you need to get inside it, run the commands that don't work, see > what happens, etc. Once you've identified the culprit, you fix the bug, > disable the sleep statement, and try again with a live install. Yes I see the value in having it during dev. I'm just looking at the longer term when a production run doesn't work, I can't have the "sleep forever" there so I'll loose the "wait and look around" step so I'll have to re-do it in "debug mode" and hope that the problem will repeat. Having the ability to just have the output somewhere for production runs will save it. > > As far as trapping the output, I believe Kickstart now supports remote > logging via syslog (it was debated for addition to RHEL4 and similar Thanks. I missed that while looking through the Anaconda docs. Cheers, --Amos From amos.shapira at gmail.com Thu Jul 10 04:19:00 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 10 Jul 2008 14:19:00 +1000 Subject: cmdline ignored In-Reply-To: <1215621331.28242.22.camel@ratbert.evn.harris.com> References: <20080709160020.15C94619F06@hormel.redhat.com> <1215621331.28242.22.camel@ratbert.evn.harris.com> Message-ID: <9c2cca270807092119l701a282ak8f47382bc9b85315@mail.gmail.com> 2008/7/10 Rodney Mercer : > I don't know if it will make a difference, but I have: "keyboard us" > as an option in my kickstart config where it is missing in yours. I > haven't done the Xen kickstart thing however. Good luck. We just tried it and it didn't help. We got the same result. Any other ideas? Thanks, --Amos From rmercer at harris.com Thu Jul 10 17:16:27 2008 From: rmercer at harris.com (Rodney Mercer) Date: Thu, 10 Jul 2008 13:16:27 -0400 Subject: cmdline ignored In-Reply-To: <20080709234709.A418361A2E6@hormel.redhat.com> References: <20080709234709.A418361A2E6@hormel.redhat.com> Message-ID: <1215710187.31449.25.camel@ratbert.evn.harris.com> On Wed, 2008-07-09 at 19:47 -0400, kickstart-list-request at redhat.com wrote: > From: > Amos Shapira > > Reply-To: > Discussion list about Kickstart > > To: > Discussion list about Kickstart > > Subject: > Re: cmdline ignored > Date: > Thu, 10 Jul 2008 09:18:06 +1000 > (Wed, 19:18 EDT) > > 2008/7/10 Klaus Steden : > > > > The usual advice is to stuff a 'sleep 9999999' in there > somewhere and check > > things out on tty2, the virtual console that gets enabled > after Kickstart > > begins. > > Thanks for the advice, but: > > 1. I don't know how to switch to a different vc in a Xen guest > consolse ("xm con ..."). I tried looking around the xen forums > for an > answer (because the Anaconda docs mention something about each > vc > having all sorts of output sent to it) but as far as I can > tell even > "chvt" doesn't work. > > 2. This "sleep 99999999" (or actually my favourite for > indefinite > pause(2) is "perl -e sleep") isn't something I can put > permanently as > part of the automatic unattended setup but only during > debug/dev. I'd > much prefer something that I can use all the time and keep the > install > unattended and if something goes wrong in a non-dev situation > then I > can see the output. > > Cheers, > > --Amos Amos, I was in the process of creating a cd install of Centos 5.1 and picked up a trick from this mail list to get user input on install using chvt in the %pre script section. As you say, it may not work on a Xen host install, but might be worth looking at? Maybe you could just gather info in the %pre script section like I show below with the installnet file and copy to the /mnt/sysimage in the %post --nochroot section? Rodney. -- install cmdline lang en_US.UTF-8 keyboard us %include /tmp/buildnet xconfig --resolution 1280x1024 --depth 24 --defaultdesktop=GNOME --startxonboot rootpw --iscrypted abcdefghijklmnop authconfig --enableshadow --enablemd5 firewall --disabled selinux --disabled timezone America/New_York reboot zerombr yes bootloader --location=mbr clearpart --all part /boot --fstype ext3 --size=150 --asprimary part / --fstype ext3 --size=3000 --asprimary part swap --recommended part pv.00 --size=1 --grow volgroup vg00 pv.00 logvol /var --name=var --vgname=vg00 --fstype ext3 --size=2000 logvol /usr1 --name=usr1 --vgname=vg00 --fstype ext3 --size=1 --grow services --enabled rsh,rlogin,telnet,nfs,cups-lpd,vsftpd services --disabled auditd,bluetooth,ip6tables,time,ntpd,sendmail,apmd,iptables,pcmcia,smartd,rhnsd,yum-updatesd,pcscd,avahi-daemon,setroubleshoot,restorecond,networker,mdmonitor,irqbalance,hplip,hidd %pre # setup the network interface to use static ip chvt 3 exec < /dev/tty3 > /dev/tty3 echo "--Static Network Configuration--" echo "Please enter hostname for this machine, IE: myhost" read HOSTNAME echo "Please enter ip address for this machine, IE: 192.168.0.100" read IPADDR echo "Please enter subnet mask for this machine, IE: 255.255.255.0" read NETMASK echo "Please enter gateway address for this machine, IE: 192.168.0.1" read GATEWAY chvt 1 exec < /dev/tty1 > /dev/tty1 cat << EOF > /tmp/buildnet network --device eth0 --bootproto static --ip=$IPADDR --netmask=$NETMASK --gateway=$GATEWAY --hostname=$HOSTNAME --noipv6 EOF cat << EOF > /tmp/installnet ip=$IPADDR netmask=$NETMASK gateway=$GATEWAY host=$HOSTNAME EOF %packages @admin-tools @base @base-x @core @development-tools @editors @ftp-server @gnome-desktop @gnome-software-development @graphical-internet @legacy-network-server @sound-and-video @system-tools @x-software-development %post --nochroot cp /tmp/installnet /mnt/sysimage/tmp/installnet From debian at herakles.homelinux.org Sat Jul 12 08:54:46 2008 From: debian at herakles.homelinux.org (John Summerfield) Date: Sat, 12 Jul 2008 16:54:46 +0800 Subject: mixing RHEL 4.0 and 4.6 boot In-Reply-To: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> References: <1aa0c5a20807090756n762adb64gaabbdba1ca0ea625@mail.gmail.com> Message-ID: <48787156.9030704@herakles.homelinux.org> Al Alder wrote: > We have an HP Proliant server. This server has SATA drives. We are > required by our customer to install > RHEL 4.0. The kickstart that we use is done via PXE boot. The 4.0 does not > have the driver for the SATA drives. > RHEL 4.6 does have the drive. Will replacing the kickstart 4.0 pxelinux.0 > on the kickstart machine with the 4.6 > pxelinux.0 cause the server to boot with the right driver and then continue > to install 4.0? I would start by asking the customer why they want out-of-date, unsupported software with known security problems (and feel free to check the errata for something that might make them nervous) instead of software that is supported properly, with known security problems fixed and that has binary compatibility with RHEL 4.0. If they persist, I might even ask for a signed document to that effect:-) -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) From chwilk at rice.edu Tue Jul 15 19:33:52 2008 From: chwilk at rice.edu (Chandler Wilkerson) Date: Tue, 15 Jul 2008 14:33:52 -0500 Subject: Not really a kickstart question..... In-Reply-To: <480E1A6F.3070201@v2gnu.com> References: <480E1A6F.3070201@v2gnu.com> Message-ID: <487CFBA0.8080802@rice.edu> I opened a case with Redhat when this happened in 5u1 (5u0 still worked for us) Their workaround was to patch anaconda to create an extra (undocumented as yet) option in kickstart's network --bootproto line called "query". This was released with 5u2. It's not pretty (and I have a ticket open about this too) because now you're asked twice; once by the old style in the stage1 anaconda, and then again in the stage2. -- Chandler Jake Vickers wrote: > So we can't use netconfig in RHEL5 kickstarts anymore to set the IP > during the installation phase. I can't seem to get the setup-tool to run > on first boot (where you can config the net card, turn off SELinux, etc.). > Am I missing something obvious, or does everyone else who has a need for > this just script it in the kickstart file? > Thanks for any suggestions. > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > !DSPAM:3857,480e1b35105969406879415! > > From sxdck at email.alaska.edu Tue Jul 15 23:19:23 2008 From: sxdck at email.alaska.edu (Doug Knight) Date: Tue, 15 Jul 2008 15:19:23 -0800 Subject: getting kickstart to use "extra" instead of "updates" for driverdisk In-Reply-To: <00ed01c8d643$6f9640d0$bc0c0a0a@edgility.com> References: <00ed01c8d643$6f9640d0$bc0c0a0a@edgility.com> Message-ID: <487D307B.8040304@email.alaska.edu> I doubt there is any way to tell anaconda to copy your driver to any directory other than updates, short of modifying the anaconda code in the updates tree. Someone feel free to chime in here if they know otherwise. /sbin/weak-modules specifically looks in /lib/modules/*/extras for modules. There is no way to reconfigure this; at least not with the RHEL 5 version I'm looking at. Moving your driver into the extras directory like that won't do what you're wanting without some additional work. First, the system won't be able to find your module again until you update the dependency list. The 3w-9xxx module is probably already packaged and loaded in the initrd, so you won't see any problems unless you rebuild your ramdisk or unload the module for some reason. Second, the search order (in /etc/depmod.d/depmod.conf.dist is "search updates extra built-in weak-updates". Your module will be loaded out of updates or extras until you update your kernel, at which point it will be linked into weak-updates in the new tree, which has lower priority than the built-in modules. The driver that ships with the distro will be loaded (and packed in the initrd) instead of your copy in weak-updates after updating the kernel. To fix this you're going to have to use the override depmod directive to tell depmod that you want to use the 3w-9xxx module out of the weak-updates directory. Something like "override 3w-9xxx * weak-updates/3w-9xxx" should do what you want. Personally, I'd recommend leaving the module where anaconda puts it, and building an rpm for the driver then installing that with kickstart. That way you can easily update and manage the driver when updates come out in the future. If you want more information on how to properly build the spec file for a kernel driver, Jon Masters has some very useful information at http://driverupdateprogram.com/ . Good Luck, Doug Eric Pearce wrote: > I have a system where I need to load a driver newer than the one that > comes with the distribution. This is the 3w-9xxx.ko driver for the > 3Ware 9690 SAS controller and is in > /lib/modules/2.6.18-53.el5/modules/kernel/drivers/scsi. I have following > line in my kickstart config that loads a newer version of this driver > using an image of a driver disk: > > driverdisk > --source=http://installserver/RHEL-5.1-SERVER-X86_64/images/dd.img > > This works fine, and newer driver ends up in > /lib/modules//updates. I can see this happen in the > anaconda.log file: > > 17:42:32 INFO : modules to insert 3w-9xxx > 17:42:32 INFO : module 3w-9xxx found on driver disk 3ware Storage > Controller Driver Disk > 17:42:32 INFO : loaded 3w-9xxx from /tmp/ramfs/DD-0/modules.cgz > 17:42:34 INFO : inserted /tmp/3w-9xxx.ko > 17:42:58 WARNING : Didn't find any package providing module 3w-9xxx > 10:48:02 INFO : running: 'cd /mnt/sysimage/lib/modules; gunzip < > /tmp/ramfs/DD-0/modules.cgz | /mnt/sysimage/bin/cpio --quiet -iumd > 2.6.18-53.el5/x86_64/3w-9xxx.ko 2.6.18-53.el5/3w-9xxx.ko ' > 10:48:02 INFO : moving > /mnt/sysimage/lib/modules/2.6.18-53.el5/x86_64/3w-9xxx.ko to > /mnt/sysimage/lib/modules/2.6.18-53.el5/updates/3w-9xxx.ko > > The problem is that subsequent kernel updates run the /sbin/weak-modules > command, which expects the driver to be in > /lib/modules//extra (and seems to ignore the "updates" > directory). The result is that the newer driver never gets linked to > subsequent kernels. At the moment, I use the following in my kickstart > config to address this: > > %post > mv /lib/modules/2.6.18-53.el5/updates/3w-9xxx.ko > /lib/modules/2.6.18-53.el5/extra/ > > Is there a way to get kickstart to use the "extra" directory instead of > "updates" ? I'm assuming that I can't easy change the behavior of > /sbin/weak-modules or /sbin/new-kernel-pkg. > thanks > -e > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From jake at v2gnu.com Tue Jul 15 23:32:39 2008 From: jake at v2gnu.com (Jake Vickers) Date: Tue, 15 Jul 2008 19:32:39 -0400 Subject: Not really a kickstart question..... In-Reply-To: <487CFBA0.8080802@rice.edu> References: <480E1A6F.3070201@v2gnu.com> <487CFBA0.8080802@rice.edu> Message-ID: <487D3397.6@v2gnu.com> Chandler Wilkerson wrote: > I opened a case with Redhat when this happened in 5u1 (5u0 still > worked for us) Their workaround was to patch anaconda to create an > extra (undocumented as yet) option in kickstart's network --bootproto > line called "query". This was released with 5u2. > > It's not pretty (and I have a ticket open about this too) because now > you're asked twice; once by the old style in the stage1 anaconda, and > then again in the stage2. Thanks for that. I haven't spun my ISOs up to 5.2 yet, but I will do this next week and try this feature out if someone else doesn't beat me to it and report back. Thanks again! From Floydsmith at aol.com Wed Jul 16 17:23:13 2008 From: Floydsmith at aol.com (Floydsmith at aol.com) Date: Wed, 16 Jul 2008 13:23:13 EDT Subject: get buildinstall error trying to download a revisor image for kickstart install Message-ID: I am runing revisor on a f9-i386 trying get an upgrade image for such so I can make a custom kickstart install for such. During the revisor building phase I got: "Got an error from /usr/lib/revisor/scripts/F9-buildinstall (return code 1)" Does this mean I have to update some other pkg before starting the revsor - I used yum to upgrage revisor so I would think I should not have to that. I have revisor-2.1.1-5.fc9.noarch currently installed. Thanks in advance for help with this. Floyd, ************** Get the scoop on last night's hottest shows and the live music scene in your area - Check out TourTracker.com! (http://www.tourtracker.com?NCID=aolmus00050000000112) -------------- next part -------------- An HTML attachment was scrubbed... URL: From kanarip at kanarip.com Wed Jul 16 22:11:19 2008 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Thu, 17 Jul 2008 00:11:19 +0200 Subject: get buildinstall error trying to download a revisor image for kickstart install In-Reply-To: References: Message-ID: <487E7207.8030909@kanarip.com> Floydsmith at aol.com wrote: > > I am runing revisor on a f9-i386 trying get an upgrade image for such so > I can make a custom kickstart install for such. > During the revisor building phase I got: > "Got an error from /usr/lib/revisor/scripts/F9-buildinstall (return code 1)" > Does this mean I have to update some other pkg before starting the > revsor - I used yum to upgrage revisor so I would think I should not > have to that. > I have revisor-2.1.1-5.fc9.noarch currently installed. > Revisor has it's own mailing list at http://lists.fedoraunity.org/mailman/listinfo/revisor-users Worthwhile to look through the archives as well, as the answer is already there; It has to do with hostname "localrepo" not resolving on end-user systems, and the way Revisor, when calling buildinstall, does not take this into account. http://lists.fedoraunity.org/pipermail/revisor-users/2008-July/000670.html Kind regards, Jeroen van Meeuwen -kanarip From floydsmith at aol.com Fri Jul 18 13:06:23 2008 From: floydsmith at aol.com (floyd smith) Date: Fri, 18 Jul 2008 09:06:23 -0400 Subject: bootloaderInfo.py line 645, i runGrubInstall OSError: [error 2] No such file Message-ID: <1216386383.3861.21.camel@floydsmi> while trying to kickstart install f9-i386 with anaconda 11.4.0.82 running I got the above error durring the writing bootloader phase. Here is the last kickstart file I tried (which is basically the one I generated using the kickstart configurator which is slightly different [reduced] than the one I originally used and have used many times with f8 and f7) # For drive sdb7 label /15 release 9 Kickstart file # Kickstart file for composing the "Fedora" spin of Fedora 8 #platform=x86, AMD64, or Intel EM64T # System authorization information auth --disableshadow # System bootloader configuration bootloader --location=mbr --driveorder=sda,sdb --append="rhgb quiet" clearpart --none part / --fstype ext3 --onpart=sdb7 text # Firewall configuration firewall --enabled # Run the Setup Agent on first boot firstboot --disabled #interactive # System keyboard keyboard us # System language lang en_US # Installation logging level logging --level=debug # Use CDROM installation media #cdrom harddrive --partition=sdb9 --dir=/3rd # Network information network --device eth0 --bootproto dhcp --hostname floydsmi --onboot=on network --device eth1 --bootproto dhcp --hostname floydsmi --onboot=on # Reboot after installation reboot #Root password rootpw --iscrypted $1$812aSfDP$n3uhf7d//gw1Lh.cei.ue1 # SELinux configuration selinux --enforcing # System timezone timezone America/New_York # Install OS instead of upgrade install # X Window System configuration information xconfig --driver "sis" --defaultdesktop=GNOME --resolution 1024x768 --depth 24 %post --interpreter=/bin/bash --nochroot # write debug test message to root file debug.i echo "hello world" >/mnt/sysimage/debug.i %end # Package manifest for the compose. Uses repo group metadata to translate groups. # (@base is added by default unless you add --nobase to %packages) %packages @office @engineering-and-scientific @development-libs @editors @window-managers @system-tools @fedora-packager @gnome-software-development @legacy-fonts @fonts @text-internet @legacy-software-development @x-software-development @legacy-network-server @gnome-desktop @core @authoring-and-publishing %end Also, the installer says (shortly before the bootloader phase) that it is running the %post script, but NO debug file it writes appears on the installed system. Any help greatly appreciated in advance. Floyd, From floydsmith at aol.com Sat Jul 19 21:09:49 2008 From: floydsmith at aol.com (floydsmith at aol.com) Date: Sat, 19 Jul 2008 17:09:49 -0400 Subject: more on bootloaderInfo.py line 645, runGrubInstall OSError: [error 2] No such Message-ID: <8CAB7FAE9BEF8D0-A4C-935@mblk-d38.sysops.aol.com> Aftter some experimentation I find that the anaconda 11.4.0.82 in my 07-16-08 f9-i386 revisor download image is very sensitive in how it behaves with respect the kickstart bootloader line. If the line is: ?????? bootloader --location=mbr --driveorder=sda,sdb,sdc --append="rhgb quiet" then, the bootloader install hangs and the last few lines of the log are: 19:38:21 CRITICAL: anaconda 11.4.0.82 exception report Traceback (most recent call first): ? File "/usr/lib/python2.5/site-packages/rhpl/executil.py", line 81, in execWithRedirect ??? os.execv(command, argv) ? File "/usr/lib/booty/bootloaderInfo.py", line 645, in runGrubInstall ? File "/usr/lib/booty/bootloaderInfo.py", line 690, in installGrub ? File "/usr/lib/booty/bootloaderInfo.py", line 1229, in installGrub ? File "/usr/lib/booty/bootloaderInfo.py", line 925, in writeGrub ? File "/usr/lib/booty/bootloaderInfo.py", line 1108, in write ? File "/usr/lib/booty/bootloaderInfo.py", line 1216, in write ? File "/usr/lib/anaconda/bootloader.py", line 236, in writeBootloader ? File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep ? File "/usr/lib/anaconda/dispatch.py", line 131, in gotoNext ? File "/usr/lib/anaconda/text.py", line 702, in run ? File "/usr/bin/anaconda", line 1062, in OSError: [Errno 2] No such file or directory 19:38:21 INFO??? : in run, screen = However, if the bootloader line is: ?????? bootloader --location=mbr --driveorder=sda --append="rhgb quiet" then, it does NOT hang, but, instead comes up with "OK, Save, Debug" offer window and the last few log lines are quite different as in: 01:55:24 CRITICAL: anaconda 11.4.0.82 exception report Traceback (most recent call first): ? File "/usr/lib/booty/bootloaderInfo.py", line 939, in grubbyDiskName ??? return "hd%d" % self.drivelist.index(name) ? File "/usr/lib/booty/bootloaderInfo.py", line 944, in grubbyPartitionName ??? return "(%s,%d)" % (self.grubbyDiskName(name), partNum) ? File "/usr/lib/booty/bootloaderInfo.py", line 746, in writeGrub ??? f.write('#????????? root %s\n' % self.grubbyPartitionName(bootDevs[0])) ? File "/usr/lib/booty/bootloaderInfo.py", line 1108, in write ??? justConfig | (not self.useGrubVal)) ? File "/usr/lib/booty/bootloaderInfo.py", line 1216, in write ??? chainList, defaultDev, justConfig, intf) ? File "/usr/lib/anaconda/bootloader.py", line 236, in writeBootloader ??? justConfigFile, anaconda.intf) ? File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep ??? rc = stepFunc(self.anaconda) ? File "/usr/lib/anaconda/dispatch.py", line 131, in gotoNext ??? self.moveStep() ? File "/usr/lib/anaconda/text.py", line 702, in run ??? anaconda.dispatch.gotoNext() ? File "/usr/bin/anaconda", line 1062, in ??? anaconda.intf.run(anaconda) ValueError: list.index(x): x not in list Also, rming the driveorder prat (which is how I did things with f8 and f7) results int the first (hang) type error. Also, using the same image to do a CDROM interactive text install again results in the same hang error. Maybe the f9 anaconda is suppose to behave with this sensitivty, but it seems strange. Any help greatly appreciated in advance. Floyd, -------------- next part -------------- An HTML attachment was scrubbed... URL: From Floydsmith at aol.com Mon Jul 21 09:12:58 2008 From: Floydsmith at aol.com (Floydsmith at aol.com) Date: Mon, 21 Jul 2008 05:12:58 EDT Subject: my mistake - anaconda 11.4.0.82 appears to be OK Message-ID: After realizing that 11.4.0.82. is the same version in my downloaded pristine f9-i386 image (which installed just find and I did NOT use a kickstart file for that install) then it occured to me that there MUST be something wrong with the kickstart file (even though I have used versions of it many times with f8 and f7). The problem turned out to be I inadvertently used a DOS "vi" to edit it - this changed its line terminators from just LFs to CFLFs. Apparently, anaconda dosn't mind the "CRs" until it gets to the %post section (just before the bootloader phase). Sorry for the inconvienence. Floyd, ************** Get fantasy football with free live scoring. Sign up for FanHouse Fantasy Football today. (http://www.fanhouse.com/fantasyaffair?ncid=aolspr00050000000020) -------------- next part -------------- An HTML attachment was scrubbed... URL: From atodorov at redhat.com Thu Jul 24 11:40:53 2008 From: atodorov at redhat.com (Alexander Todorov) Date: Thu, 24 Jul 2008 14:40:53 +0300 Subject: [PATCH] Typo fix Message-ID: <48886A45.6010105@redhat.com> diff --git a/pykickstart/commands/repo.py b/pykickstart/commands/repo.py index 031e6d3..aaf542a 100644 --- a/pykickstart/commands/repo.py +++ b/pykickstart/commands/repo.py @@ -136,7 +136,7 @@ class F8_Repo(FC6_Repo): def methodToRepo(self): if not self.handler.method.url: - raise KickstartError, formatErrorMsg(self.handler.method.lineno, msg=_("Method must be a url to be added to the repo lsit.")) + raise KickstartError, formatErrorMsg(self.handler.method.lineno, msg=_("Method must be a url to be added to the repo list.")) reponame = "ks-method-url" repourl = self.handler.method.url rd = self.handler.RepoData(name=reponame, baseurl=repourl) From atodorov at redhat.com Fri Jul 25 10:21:40 2008 From: atodorov at redhat.com (Alexander Todorov) Date: Fri, 25 Jul 2008 13:21:40 +0300 Subject: [PATCH] Add rescue command to kickstart Message-ID: <4889A934.8090203@redhat.com> Hello, this patch adds a rescue command to kickstart. Syntax is: rescue [--nomount|--romount] See anaconda-devel-list for more info: https://www.redhat.com/archives/anaconda-devel-list/2008-July/msg00074.html --- Alexander. -------------- next part -------------- A non-text attachment was scrubbed... Name: pykickstart_rescue.diff Type: text/x-patch Size: 3777 bytes Desc: not available URL: From atodorov at redhat.com Tue Jul 29 12:53:09 2008 From: atodorov at redhat.com (Alexander Todorov) Date: Tue, 29 Jul 2008 15:53:09 +0300 Subject: [PATCH] add rescue command to pykickstart In-Reply-To: <488F1254.6050201@redhat.com> References: <488F1254.6050201@redhat.com> Message-ID: <488F12B5.10001@redhat.com> All needed changes to enable rescue command in kickstart. -------------- next part -------------- A non-text attachment was scrubbed... Name: pykickstart_rescue.patch Type: text/x-patch Size: 4034 bytes Desc: not available URL: From qmt9z3 at yahoo.com Wed Jul 30 11:51:54 2008 From: qmt9z3 at yahoo.com (Admin Admin) Date: Wed, 30 Jul 2008 04:51:54 -0700 (PDT) Subject: Partitioning setup error during CentOS 5.2 setup as guest Message-ID: <420789.72824.qm@web55106.mail.re4.yahoo.com> Hello, I am hoping that this is the right list to post the following message, if not my apologies and ignore the message or direct me to the right place. Thanks I am attempting a CentOS 5.2 guest install on Ubuntu hardy. I have lvm based partitions. When I attempt 'custom partition' setup during the domain creation. I get the following error: ================================================== ============= Traceback (most recent call first): File "/usr/lib/anaconda/partitions.py", line 804, in hasGptLabel disk = diskset.disks[device] File "/usr/lib/anaconda/partitions.py", line 878, in sanityCheckAllRequests elif self.hasGptLabel(diskset, dev): File "/usr/lib/anaconda/textw/partition_text.py", line 1489, in __call__ (errors, warnings) = self.partitions.sanityCheckAllRequests(self.diskse t) File "/usr/lib/anaconda/text.py", line 565, in run rc = win(self.screen, instance) File "/usr/bin/anaconda", line 982, in ? anaconda.intf.run(anaconda) KeyError: 'xvda' ================================================== ============= Any suggestions on what could be causing the above exception. Thanks From amos.shapira at gmail.com Wed Jul 30 13:42:21 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Wed, 30 Jul 2008 23:42:21 +1000 Subject: Partitioning setup error during CentOS 5.2 setup as guest In-Reply-To: <420789.72824.qm@web55106.mail.re4.yahoo.com> References: <420789.72824.qm@web55106.mail.re4.yahoo.com> Message-ID: <9c2cca270807300642r73171055j90341f1393cd3956@mail.gmail.com> 2008/7/30 Admin Admin > I am attempting a CentOS 5.2 guest install on Ubuntu > hardy. I have > lvm based partitions. When I attempt 'custom > partition' setup during > the domain creation. I get the following error: First guess (without too deep knowledge) - the CentOS installation process expects a partition table on the "disk", which is the LV at the Dom0 level. Try creating a partition table inside the LV. --Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From qmt9z3 at yahoo.com Wed Jul 30 14:48:33 2008 From: qmt9z3 at yahoo.com (Admin Admin) Date: Wed, 30 Jul 2008 07:48:33 -0700 (PDT) Subject: Partitioning setup error during CentOS 5.2 setup as guest In-Reply-To: <9c2cca270807300642r73171055j90341f1393cd3956@mail.gmail.com> Message-ID: <847017.16199.qm@web55104.mail.re4.yahoo.com> > > I am attempting a CentOS 5.2 guest install on > Ubuntu > > hardy. I have > > lvm based partitions. When I attempt 'custom > > partition' setup during > > the domain creation. I get the following error: > > > First guess (without too deep knowledge) - the > CentOS installation process > expects a partition table on the "disk", which is > the LV at the Dom0 level. > > Try creating a partition table inside the LV. > > --Amos Thanks for your response! I thought this done via xen-create-image script. I was able to access partitions identified in the (xen) config file and was able to assign the mount lables (such as /, /usr, /var, etc) during the install. When I try to leave the area of 'Creating Custom Paritions', I get the above error. If what you are referring to is not the same as the above, then could you please point me to some documentation on how I can create parition table inside the LV? Thanks From amos.shapira at gmail.com Wed Jul 30 21:22:10 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 31 Jul 2008 07:22:10 +1000 Subject: Partitioning setup error during CentOS 5.2 setup as guest In-Reply-To: <847017.16199.qm@web55104.mail.re4.yahoo.com> References: <9c2cca270807300642r73171055j90341f1393cd3956@mail.gmail.com> <847017.16199.qm@web55104.mail.re4.yahoo.com> Message-ID: <9c2cca270807301422p43439348k88433794c0f50092@mail.gmail.com> 2008/7/31 Admin Admin > > Thanks for your response! > > I thought this done via xen-create-image script. > I was able to access partitions identified in > the (xen) config file and was able to assign the > mount lables (such as /, /usr, /var, etc) during > the install. When I try to leave the area of > 'Creating Custom Paritions', I get the above error. > > If what you are referring to is not the same as > the above, then could you please point me to some > documentation on how I can create parition table > inside the LV? To create the partition table, I think "fdisk" on the Dom0 with the LV's name could do that for you. Before you do that you should allocate an entire LV for the DomU's disk to contain all the partitions. A useful tool to access the DomU's partitions from the Dom0 (after "fdisk", e.g. to mount partitions) is kpartx. It's all based on a guess that the CentOS installation process depends on finding a partition table, something that the Debian/Ubuntu Xen configuration tools usually don't do. Just be aware that the way Ubuntu configures Xen guests is different from the way that CentOS does it - and when crossing this border you should expect some mismatches and adjustments to close the gaps. Cheers, --Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From qmt9z3 at yahoo.com Wed Jul 30 21:45:39 2008 From: qmt9z3 at yahoo.com (Admin Admin) Date: Wed, 30 Jul 2008 14:45:39 -0700 (PDT) Subject: Partitioning setup error during CentOS 5.2 setup as guest In-Reply-To: <9c2cca270807301422p43439348k88433794c0f50092@mail.gmail.com> Message-ID: <463626.27690.qm@web55105.mail.re4.yahoo.com> > > Thanks for your response! > > > > I thought this done via xen-create-image script. > > I was able to access partitions identified in > > the (xen) config file and was able to assign the > > mount lables (such as /, /usr, /var, etc) during > > the install. When I try to leave the area of > > 'Creating Custom Paritions', I get the above > error. > > > > If what you are referring to is not the same as > > the above, then could you please point me to some > > documentation on how I can create parition table > > inside the LV? > > > To create the partition table, I think "fdisk" on > the Dom0 with the LV's > name could do that for you. > > Before you do that you should allocate an entire LV > for the DomU's disk to > contain all the partitions. > > A useful tool to access the DomU's partitions from > the Dom0 (after "fdisk", > e.g. to mount partitions) is kpartx. > > It's all based on a guess that the CentOS > installation process depends on > finding a partition table, something that the > Debian/Ubuntu Xen > configuration tools usually don't do. > > Just be aware that the way Ubuntu configures Xen > guests is different from > the way that CentOS does it - and when crossing this > border you should > expect some mismatches and adjustments to close the > gaps. > > Cheers, > > --Amos Ok now I understand. What you are suggesting is already done in xen-create-image script. In fact, before I issued 'xm create' command, I have mounted one of the lvm partitions and copied the iso image onto it and I point to it during the install and the image is recognized. In other words all the partitions required for installation are setup in lvm and are accessible. Here is the part of xen config file corresponding to disk partitions: # Disk device(s). # root = '/dev/xvda2 ro' disk = [ 'phy:/dev/VolGroup2/okraU1-swap,xvda1,w', 'phy:/dev/VolGroup2/okraU1-LogVol2Root,xvda2,w', 'phy:/dev/VolGroup2/okraU1-LogVol2Usr,xvda3,w', 'phy:/dev/VolGroup2/okraU1-LogVol2Var,xvda4,w', 'phy:/dev/VolGroup2/okraU1-LogVol2Tmp,xvda5,w', 'phy:/dev/VolGroup2/okraU1-LogVol2UsrLocal,xvda6,w', ] All of the above partitions are already setup and are visible from within the CentOS install. I have no knowledge of python language to understand what is causing the exception. Thanks From amos.shapira at gmail.com Thu Jul 31 05:24:53 2008 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 31 Jul 2008 15:24:53 +1000 Subject: Partitioning setup error during CentOS 5.2 setup as guest In-Reply-To: <463626.27690.qm@web55105.mail.re4.yahoo.com> References: <9c2cca270807301422p43439348k88433794c0f50092@mail.gmail.com> <463626.27690.qm@web55105.mail.re4.yahoo.com> Message-ID: <9c2cca270807302224r6c39f859p9c96219862b58360@mail.gmail.com> 2008/7/31 Admin Admin > Ok now I understand. What you are suggesting is > already > done in xen-create-image script. In fact, before I > issued 'xm create' command, I have mounted one of the > lvm partitions and copied the iso image onto it and > I point to it during the install and the image is > recognized. > > In other words all the partitions required for > installation are setup in lvm and are accessible. > Here is the part of xen config file corresponding > to disk partitions: > > # Disk device(s). > # > root = '/dev/xvda2 ro' > disk = [ > > 'phy:/dev/VolGroup2/okraU1-swap,xvda1,w', > > 'phy:/dev/VolGroup2/okraU1-LogVol2Root,xvda2,w', > > 'phy:/dev/VolGroup2/okraU1-LogVol2Usr,xvda3,w', > > 'phy:/dev/VolGroup2/okraU1-LogVol2Var,xvda4,w', > > 'phy:/dev/VolGroup2/okraU1-LogVol2Tmp,xvda5,w', > > 'phy:/dev/VolGroup2/okraU1-LogVol2UsrLocal,xvda6,w', Sorry, this is not what I meant. In the above configuration each Dom0 host LV is seen as an entire physical disk by the DomU. Apparently (guessing from the stack trace you included) Anaconda expects to find a partition table on that physical disk. Instead of the above, you should have one (or a couple) of LV's imported into the DomU and have a partition table setup in it, just like you have on the Dom0's own physical disk, for instance. Cheers, --Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From qmt9z3 at yahoo.com Thu Jul 31 11:35:42 2008 From: qmt9z3 at yahoo.com (Admin Admin) Date: Thu, 31 Jul 2008 04:35:42 -0700 (PDT) Subject: Partitioning setup error during CentOS 5.2 setup as guest In-Reply-To: <9c2cca270807302224r6c39f859p9c96219862b58360@mail.gmail.com> Message-ID: <799178.60128.qm@web55105.mail.re4.yahoo.com> > > Ok now I understand. What you are suggesting is > > already > > done in xen-create-image script. In fact, before I > > issued 'xm create' command, I have mounted one of > the > > lvm partitions and copied the iso image onto it > and > > I point to it during the install and the image is > > recognized. > > > > In other words all the partitions required for > > installation are setup in lvm and are accessible. > > Here is the part of xen config file corresponding > > to disk partitions: > > > > # Disk device(s). > > # > > root = '/dev/xvda2 ro' > > disk = [ > > > > 'phy:/dev/VolGroup2/okraU1-swap,xvda1,w', > > > > 'phy:/dev/VolGroup2/okraU1-LogVol2Root,xvda2,w', > > > > 'phy:/dev/VolGroup2/okraU1-LogVol2Usr,xvda3,w', > > > > 'phy:/dev/VolGroup2/okraU1-LogVol2Var,xvda4,w', > > > > 'phy:/dev/VolGroup2/okraU1-LogVol2Tmp,xvda5,w', > > > > > 'phy:/dev/VolGroup2/okraU1-LogVol2UsrLocal,xvda6,w', > > > Sorry, this is not what I meant. In the above > configuration each Dom0 host > LV is seen as an entire physical disk by the DomU. > Apparently (guessing from the stack trace you > included) Anaconda expects to > find a partition table on that physical disk. > Looks like I didn't get it then! > Instead of the above, you should have one (or a > couple) of LV's imported > into the DomU and have a partition table setup in > it, just like you have on > the Dom0's own physical disk, for instance. > I have made three lvm partitions and in the first VolGroup0 Dom0 ubuntu is sitting. In VolGroup2 I am trying to install CentOS5.2. What is that I have to do in Dom0 to import the partitions made in Dom0 (vi xen-create-image) so that they are visible in DomU. Or, is this done in DomU setup and if so, at what point do I do this during the DomU setup? Appreciate if you could point me to some URL/ documentation that I could read and catch up. > Cheers, > > --Amos Thanks