From mrauschkolb at ebs.com Fri Sep 2 15:02:09 2005 From: mrauschkolb at ebs.com (Rauschkolb, Mark) Date: Fri, 2 Sep 2005 11:02:09 -0400 Subject: Plain text mode install Message-ID: When the actual installation of the RPMs is happening, they make the screen look pretty with the status bar, countdown clock, etc. When installing over a serial line, all of those escape characters used to make the screen look pretty do not translate well, and also make it difficult to capture what is going on in a log file. Is there a way to make the install happen in a plain ascii text mode? Thanks Mark The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. if you have received this e-mail in error, please inform us immediately and delete it and all copies from your system. EBS Dealing Resources International Limited. Registered address: 10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered number 2669861. EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA. EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku, Tokyo 104-0033, Japan. From blaap at ofc-oostzaan.nl Mon Sep 5 08:11:57 2005 From: blaap at ofc-oostzaan.nl (Theo) Date: Mon, 05 Sep 2005 10:11:57 +0200 Subject: Kickstart is not working at all? Message-ID: <431BFDCD.6080003@ofc-oostzaan.nl> It must be something obvious I overlooked, so forgive me a stupid question.. I try to perform a kickstart installation. Nothing special, I just want to see it work. So I have a kickstart file the one I got from anaconda after the first installation. 1) I boot from the first FC4 installation CD (no special preparation, it's just the standard downloaded ISO) 2) I tried all the following commands to boot: linux ks (I configured the DHCP server to give the NFS server/file) linux ks=nfs:server:/pathto/ks.cfg linux ks=http://server/pathto/ks.cfg But nothing seem to happen. The CD just starts to aks the normal questions about language etc. No information from the kickstart file is used. BTW I used this link to get myself started: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickstart2-startinginstall.html Is any newer documentation or HOWTO available? Thanks for your help. Theo From phr at doc.ic.ac.uk Mon Sep 5 08:44:15 2005 From: phr at doc.ic.ac.uk (Philip Rowlands) Date: Mon, 5 Sep 2005 09:44:15 +0100 (BST) Subject: Kickstart is not working at all? In-Reply-To: <431BFDCD.6080003@ofc-oostzaan.nl> References: <431BFDCD.6080003@ofc-oostzaan.nl> Message-ID: On Mon, 5 Sep 2005, Theo wrote: >But nothing seem to happen. The CD just starts to aks the normal >questions about language etc. No information from the kickstart file is >used. This usually indicates that the kickstart file could not be retrieved. Are there any error messages on the various virtual consoles (Alt+F3 etc)? Cheers, Phil From blaap at ofc-oostzaan.nl Mon Sep 5 11:17:15 2005 From: blaap at ofc-oostzaan.nl (Theo) Date: Mon, 05 Sep 2005 13:17:15 +0200 Subject: Kickstart is not working at all? Message-ID: <431C293B.1040507@ofc-oostzaan.nl> Hi Phil Thanks for the help. It now works. I needed the feedback from Alt-F3! The dhcp server did not supply the correct server, so that the file was tried to mount from the dhcp server (in a default /kickstart directory). The GUI did not show any warnings and just went on.... It might have something to do with name resolution. I assumed this should work. Anyhow I tried the ks=http:// method and that fetched the file correctly from the correct server. The installation script halted at the disk partitioning step as I expected. Thanks again, Theo > >>But nothing seem to happen. The CD just starts to aks the normal >>questions about language etc. No information from the kickstart file is >>used. > > This usually indicates that the kickstart file could not be retrieved. > Are there any error messages on the various virtual consoles (Alt+F3 > etc)? > > > Cheers, > Phil From michael.boman at gmail.com Tue Sep 6 12:51:01 2005 From: michael.boman at gmail.com (Michael Boman) Date: Tue, 6 Sep 2005 20:51:01 +0800 Subject: /mnt/source not mounted during '%post --nochroot'? Message-ID: <48989dd7050906055152c63f7a@mail.gmail.com> I am trying to install some extra packages in the '%post --nochroot' section as kickstart/anaconda fails miserable if I try to insert them in the %packages section. However, /mnt/source isn't mounted during '%post --nochroot' which according to the documentation I've read should be the case. I am trying to install from CDROM. Best regards Michael Boman -- IT Security Researcher & Developer http://proxy.11a.nu From sjbrowne at bluebottle.com Thu Sep 8 04:25:41 2005 From: sjbrowne at bluebottle.com (Stuart J. Browne) Date: Thu, 8 Sep 2005 14:25:41 +1000 Subject: Installing RH/Fedora with rpm '--excludedocs' Message-ID: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> Hi, I was wondering if there was a way in a KickStart file to tell the anaconda installer of a standard distribution to exclude installation of the documentation of the normal packages, i.e. rpm -i --excludedocs [....] I'm trying to create a minimal install but so far there's still over 60MB of '/usr/share/doc' and man pages of which aren't required. Going through the KickStart documentation, I've not found a way to do this, but I was wondering if anybody know of a way. >From what I can tell though, it's looking like custom configured media :-| Thanks. Stuart J. Browne From clumens at redhat.com Thu Sep 8 13:57:47 2005 From: clumens at redhat.com (Chris Lumens) Date: Thu, 8 Sep 2005 09:57:47 -0400 (EDT) Subject: Installing RH/Fedora with rpm '--excludedocs' In-Reply-To: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> References: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> Message-ID: > I'm trying to create a minimal install but so far there's still over 60MB of > '/usr/share/doc' and man pages of which aren't required. > > Going through the KickStart documentation, I've not found a way to do this, > but I was wondering if anybody know of a way. %packages takes a --excludedocs parameter, but it doesn't actually do anything at the moment. It might do things again in the future as the backend work progresses. - Chris From kernel at linuxace.com Thu Sep 8 15:08:52 2005 From: kernel at linuxace.com (Phil Oester) Date: Thu, 8 Sep 2005 08:08:52 -0700 Subject: Ethernet probe order Message-ID: <20050908150852.GA32022@linuxace.com> Can anyone explain the ethernet probe order anaconda uses? In poking around the code I found mention of sorting the modules alphabetically and loading in that order, but I haven't found that to be true. I would expect PCI bus order, but that hasn't happened either. Take this box as an example. Nics: 00:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01) 00:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01) 00:04.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01) 00:04.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01) 01:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05) 01:05.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05) 02:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 12) 03:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08) Anaconda ends up inserting modules in this order: * inserted /tmp/e100.ko * inserted /tmp/tg3.ko * inserted /tmp/e1000.ko Which is neither alphabetically or PCI bus order. Any ideas? Phil From steve.mah at oracle.com Thu Sep 8 15:22:57 2005 From: steve.mah at oracle.com (Stephen Mah) Date: Thu, 08 Sep 2005 08:22:57 -0700 Subject: kickstart on 802.1q network Message-ID: <43205751.7040804@oracle.com> My co-worker was asking about 802.1 network support for kickstart. Anyone have any docs to make it work? -steve From peter at boku.net Thu Sep 8 15:27:31 2005 From: peter at boku.net (Peter Eisch) Date: Thu, 08 Sep 2005 10:27:31 -0500 Subject: Ethernet probe order In-Reply-To: <20050908150852.GA32022@linuxace.com> Message-ID: > Which is neither alphabetically or PCI bus order. Any ideas? > Just observing, but it's reverse PCI bus order. No idea why though. peter From kernel at linuxace.com Thu Sep 8 15:54:55 2005 From: kernel at linuxace.com (Phil Oester) Date: Thu, 8 Sep 2005 08:54:55 -0700 Subject: Ethernet probe order In-Reply-To: References: <20050908150852.GA32022@linuxace.com> Message-ID: <20050908155455.GA32303@linuxace.com> On Thu, Sep 08, 2005 at 10:27:31AM -0500, Peter Eisch wrote: > > > Which is neither alphabetically or PCI bus order. Any ideas? > > > > Just observing, but it's reverse PCI bus order. No idea why though. Which also defies logic and the code. From kudzu.c: for (bus=1;buses[bus].string;bus++) { where the ++ would seem to indicate ascending order. Then further down: /* We need to sort the network devices by module name. Fun. */ So: ??? Phil From sjbrowne at bluebottle.com Thu Sep 8 22:38:32 2005 From: sjbrowne at bluebottle.com (Stuart J. Browne) Date: Fri, 9 Sep 2005 08:38:32 +1000 Subject: Installing RH/Fedora with rpm '--excludedocs' References: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> Message-ID: <007d01c5b4c6$0cff9d50$6501a8c0@bluebottle.com> ----- Original Message ----- From: "Chris Lumens" To: "Discussion list about Kickstart" Sent: Thursday, September 08, 2005 11:57 PM Subject: Re: Installing RH/Fedora with rpm '--excludedocs' >> I'm trying to create a minimal install but so far there's still over 60MB >> of '/usr/share/doc' and man pages of which aren't required. >> >> Going through the KickStart documentation, I've not found a way to do >> this, but I was wondering if anybody know of a way. > > %packages takes a --excludedocs parameter, but it doesn't actually do > anything at the moment. It might do things again in the future as the > backend work progresses. Phooey. Didn't see that one. Ah well, 'modified' installer, here I come.. ;) Thanks Chris. Stuart J. Browne From brilong at cisco.com Fri Sep 9 13:22:13 2005 From: brilong at cisco.com (Brian Long) Date: Fri, 09 Sep 2005 09:22:13 -0400 Subject: Installing RH/Fedora with rpm '--excludedocs' In-Reply-To: <007d01c5b4c6$0cff9d50$6501a8c0@bluebottle.com> References: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> <007d01c5b4c6$0cff9d50$6501a8c0@bluebottle.com> Message-ID: <1126272133.3987.34.camel@brilong-lnx.cisco.com> On Fri, 2005-09-09 at 08:38 +1000, Stuart J. Browne wrote: > ----- Original Message ----- > From: "Chris Lumens" > To: "Discussion list about Kickstart" > Sent: Thursday, September 08, 2005 11:57 PM > Subject: Re: Installing RH/Fedora with rpm '--excludedocs' > > > >> I'm trying to create a minimal install but so far there's still over 60MB > >> of '/usr/share/doc' and man pages of which aren't required. > >> > >> Going through the KickStart documentation, I've not found a way to do > >> this, but I was wondering if anybody know of a way. > > > > %packages takes a --excludedocs parameter, but it doesn't actually do > > anything at the moment. It might do things again in the future as the > > backend work progresses. > > Phooey. Didn't see that one. > > Ah well, 'modified' installer, here I come.. ;) Anaconda uses the rpm-python libraries to install RPMs, right? As long as this library supports the excludedocs parameter, wouldn't you just need to pass this as part of the library call while you're installing each RPM? Why wouldn't Red Hat have this already enabled? /Brian/ -- Brian Long | | | IT Data Center Systems | .|||. .|||. Cisco Linux Developer | ..:|||||||:...:|||||||:.. Phone: (919) 392-7363 | C i s c o S y s t e m s From brilong at cisco.com Fri Sep 9 14:31:53 2005 From: brilong at cisco.com (Brian Long) Date: Fri, 09 Sep 2005 10:31:53 -0400 Subject: Install Classes and %packages? Message-ID: <1126276313.3987.50.camel@brilong-lnx.cisco.com> Are the install classes only for use in the Anaconda GUI installer and not via kickstart? It appears they are called Personal Desktop, Workstation, Red Hat Enterprise Linux AS, etc. Can I somehow use these definitions in % packages or should I just use the group entries they specify? For example, Personal Desktop selects the groups workstation-common and gnome-desktop. Thanks. /Brian/ -- Brian Long | | | IT Data Center Systems | .|||. .|||. Cisco Linux Developer | ..:|||||||:...:|||||||:.. Phone: (919) 392-7363 | C i s c o S y s t e m s From katzj at redhat.com Fri Sep 9 14:57:58 2005 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 09 Sep 2005 10:57:58 -0400 Subject: Install Classes and %packages? In-Reply-To: <1126276313.3987.50.camel@brilong-lnx.cisco.com> References: <1126276313.3987.50.camel@brilong-lnx.cisco.com> Message-ID: <1126277878.3022.6.camel@bree.local.net> On Fri, 2005-09-09 at 10:31 -0400, Brian Long wrote: > Are the install classes only for use in the Anaconda GUI installer and > not via kickstart? Yes. In fact, due to hystorical reasoning, kickstart is actually an installclass... ;) > It appears they are called Personal Desktop, Workstation, Red Hat > Enterprise Linux AS, etc. Can I somehow use these definitions in % > packages or should I just use the group entries they specify? For > example, Personal Desktop selects the groups workstation-common and > gnome-desktop. The only way to do it right now is to look at the installclass and then just do the same group selection Jeremy From jkeating at j2solutions.net Fri Sep 9 17:23:36 2005 From: jkeating at j2solutions.net (Jesse Keating) Date: Fri, 09 Sep 2005 10:23:36 -0700 Subject: Installing RH/Fedora with rpm '--excludedocs' In-Reply-To: <1126272133.3987.34.camel@brilong-lnx.cisco.com> References: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> <007d01c5b4c6$0cff9d50$6501a8c0@bluebottle.com> <1126272133.3987.34.camel@brilong-lnx.cisco.com> Message-ID: <1126286616.4542.26.camel@prometheus.gamehouse.com> On Fri, 2005-09-09 at 09:22 -0400, Brian Long wrote: > > Anaconda uses the rpm-python libraries to install RPMs, right? As long > as this library supports the excludedocs parameter, wouldn't you just > need to pass this as part of the library call while you're installing > each RPM? Why wouldn't Red Hat have this already enabled? Starting w/ FC5, anaconda will be passing all installation tasks to yum. Yum will take care of installing stuff... -- Jesse Keating RHCE (http://geek.j2solutions.net) Fedora Legacy Team (http://www.fedoralegacy.org) GPG Public Key (http://geek.j2solutions.net/jkeating.j2solutions.pub) Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating From klaus.steden at thomson.net Fri Sep 9 17:29:17 2005 From: klaus.steden at thomson.net (Klaus Steden) Date: Fri, 9 Sep 2005 13:29:17 -0400 Subject: Installing RH/Fedora with rpm '--excludedocs' In-Reply-To: <1126286616.4542.26.camel@prometheus.gamehouse.com> References: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> <007d01c5b4c6$0cff9d50$6501a8c0@bluebottle.com> <1126272133.3987.34.camel@brilong-lnx.cisco.com> <1126286616.4542.26.camel@prometheus.gamehouse.com> Message-ID: <20050909172917.GZ897@thomson.net> I could have sworn Jesse Keating said this Fri, Sep 09, 2005 at 10:23:36AM -0700 ... > > Starting w/ FC5, anaconda will be passing all installation tasks to yum. > Yum will take care of installing stuff... > Woohoo! Klaus From brilong at cisco.com Fri Sep 9 20:07:00 2005 From: brilong at cisco.com (Brian Long) Date: Fri, 09 Sep 2005 16:07:00 -0400 Subject: %packages and optional packages? Message-ID: <1126296420.6151.34.camel@brilong-lnx.cisco.com> We have been using a customized kickstart for years, but with RHEL 4, we plan to use Red Hat's existing kickstart infrastructure and bootstrap yum to add anything extra. In doing this, I wonder how you can configure kickstart to install optional packages inside a comps group without specifying each package manually. For example, @ graphical-internet includes evolution- connector as optional. I want it installed, so does that mean I have to call it out specifically? Is there a group-by-group way to tell Anaconda to install all packages including optional ones? Maybe a new syntax like this: %packages @ graphical-internet --include-optional @ emacs @ gnome-desktop /Brian/ -- Brian Long | | | IT Data Center Systems | .|||. .|||. Cisco Linux Developer | ..:|||||||:...:|||||||:.. Phone: (919) 392-7363 | C i s c o S y s t e m s From info at hostinthebox.net Fri Sep 9 21:31:45 2005 From: info at hostinthebox.net (Dan Trainor) Date: Fri, 09 Sep 2005 15:31:45 -0600 Subject: %packages and optional packages? In-Reply-To: <1126296420.6151.34.camel@brilong-lnx.cisco.com> References: <1126296420.6151.34.camel@brilong-lnx.cisco.com> Message-ID: <4321FF41.6050409@hostinthebox.net> Brian Long wrote: > We have been using a customized kickstart for years, but with RHEL 4, we > plan to use Red Hat's existing kickstart infrastructure and bootstrap > yum to add anything extra. > > In doing this, I wonder how you can configure kickstart to install > optional packages inside a comps group without specifying each package > manually. For example, @ graphical-internet includes evolution- > connector as optional. I want it installed, so does that mean I have to > call it out specifically? Is there a group-by-group way to tell > Anaconda to install all packages including optional ones? Maybe a new > syntax like this: > > %packages > @ graphical-internet --include-optional > @ emacs > @ gnome-desktop > > /Brian/ brian - I kindof did this. I edited my comps.xml, removing groups that I did not want. I took it one step further, and removed packages from @base and @core that I did not want, either. It works quite well. What does this get me? It gets me the freedom of not specifying a single package in %packages, as @base and @core groups are hard-coded and are installed by default. If you'd like to have a copy of the command list that I used, please let me know. You might even want to create your own groups, which are copies of the origional groups, with other packages added and/or subtrated. Hope that helps. Thanks -dant From barjunk at attglobal.net Sat Sep 10 03:38:56 2005 From: barjunk at attglobal.net (mbox mbarsalou) Date: Fri, 09 Sep 2005 19:38:56 -0800 Subject: %packages and optional packages? In-Reply-To: <4321FF41.6050409@hostinthebox.net> References: <1126296420.6151.34.camel@brilong-lnx.cisco.com> <4321FF41.6050409@hostinthebox.net> Message-ID: <1126323536.6389.7.camel@localhost.localdomain> Why don't you go ahead and share that with the list...I know I would appreciate it. Mike B. On Fri, 2005-09-09 at 15:31 -0600, Dan Trainor wrote: > Brian Long wrote: > > We have been using a customized kickstart for years, but with RHEL 4, we > > plan to use Red Hat's existing kickstart infrastructure and bootstrap > > yum to add anything extra. > > > > In doing this, I wonder how you can configure kickstart to install > > optional packages inside a comps group without specifying each package > > manually. For example, @ graphical-internet includes evolution- > > connector as optional. I want it installed, so does that mean I have to > > call it out specifically? Is there a group-by-group way to tell > > Anaconda to install all packages including optional ones? Maybe a new > > syntax like this: > > > > %packages > > @ graphical-internet --include-optional > > @ emacs > > @ gnome-desktop > > > > /Brian/ > > brian - > > I kindof did this. I edited my comps.xml, removing groups that I did > not want. I took it one step further, and removed packages from @base > and @core that I did not want, either. It works quite well. > > What does this get me? It gets me the freedom of not specifying a > single package in %packages, as @base and @core groups are hard-coded > and are installed by default. > > If you'd like to have a copy of the command list that I used, please let > me know. You might even want to create your own groups, which are > copies of the origional groups, with other packages added and/or subtrated. > > Hope that helps. > > Thanks > -dant > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- mbox mbarsalou From uwelists at u-b.de Sat Sep 10 18:02:17 2005 From: uwelists at u-b.de (Uwe E. Bilger) Date: Sat, 10 Sep 2005 20:02:17 +0200 Subject: Add launcher to gnome panel? Message-ID: Hello all, how do you solve the problem with adding launchers to the gnome panel in the kickstart files? Thanks in advance for any hints, Uwe From drkludge at cox.net Sun Sep 11 02:11:57 2005 From: drkludge at cox.net (Greg Morgan) Date: Sat, 10 Sep 2005 19:11:57 -0700 Subject: Ethernet probe order In-Reply-To: <20050908150852.GA32022@linuxace.com> References: <20050908150852.GA32022@linuxace.com> Message-ID: <4323926D.7060405@cox.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Phil Oester wrote: > Can anyone explain the ethernet probe order anaconda uses? In poking around the > code I found mention of sorting the modules alphabetically and loading in that > order, but I haven't found that to be true. I would expect PCI bus order, but > that hasn't happened either. > Anaconda ends up inserting modules in this order: > > * inserted /tmp/e100.ko > * inserted /tmp/tg3.ko > * inserted /tmp/e1000.ko > > Which is neither alphabetically or PCI bus order. Any ideas? Phil, If you are looking to control selected device drivers then please look at what Ronald Reed found around 5/4/2005: Ronald Reed wrote: >> This is what I have found so far: >> >> If you need a device parameter in your kickstart file, and you need more >> than 1 module loaded, then separate them with a colon ":". Example: >> >> device scsi aacraid:megaraid:aic7xxx So do you want, say, device eth e1000:tg3:e100 so that the devices are probed in this order? "On most PCI systems, the installation program will autoprobe for Ethernet and SCSI cards properly. On older systems and some PCI systems, however, kickstart needs a hint to find the proper devices. The device command, which tells the installation program to install extra modules... http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickstart2-options.html Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDI5Jsxyxe5L6mr7IRAhuFAJ4qgcR1hvVhXrh4Zr67XElK+m2d0QCePTJU zh+OkbzI+YvSXZSyj1eUSNk= =/yMF -----END PGP SIGNATURE----- From brilong at cisco.com Mon Sep 12 13:27:42 2005 From: brilong at cisco.com (Brian Long) Date: Mon, 12 Sep 2005 09:27:42 -0400 Subject: %packages and optional packages? In-Reply-To: <4321FF41.6050409@hostinthebox.net> References: <1126296420.6151.34.camel@brilong-lnx.cisco.com> <4321FF41.6050409@hostinthebox.net> Message-ID: <1126531662.3941.1.camel@brilong-lnx.cisco.com> On Fri, 2005-09-09 at 15:31 -0600, Dan Trainor wrote: > Brian Long wrote: > > We have been using a customized kickstart for years, but with RHEL 4, we > > plan to use Red Hat's existing kickstart infrastructure and bootstrap > > yum to add anything extra. > > > > In doing this, I wonder how you can configure kickstart to install > > optional packages inside a comps group without specifying each package > > manually. For example, @ graphical-internet includes evolution- > > connector as optional. I want it installed, so does that mean I have to > > call it out specifically? Is there a group-by-group way to tell > > Anaconda to install all packages including optional ones? Maybe a new > > syntax like this: > > > > %packages > > @ graphical-internet --include-optional > > @ emacs > > @ gnome-desktop > > > > /Brian/ > > brian - > > I kindof did this. I edited my comps.xml, removing groups that I did > not want. I took it one step further, and removed packages from @base > and @core that I did not want, either. It works quite well. Dant, That's what I stated we were trying to avoid with RHEL 4 :) We use our home-grown kickstart-tools (http://kickstart-tools.sf.net) to create an entirely new kickstart tree made of Red Hat, third-party and Cisco-created RPMs. With RHEL 4, I would like to use Red Hat's provided kickstart tree and bootstrap Yum on top in %post. We already have this working, but I was trying to figure out how to include optional packages in the groups. /Brian/ -- Brian Long | | | IT Data Center Systems | .|||. .|||. Cisco Linux Developer | ..:|||||||:...:|||||||:.. Phone: (919) 392-7363 | C i s c o S y s t e m s From kernel at linuxace.com Mon Sep 12 18:08:31 2005 From: kernel at linuxace.com (Phil Oester) Date: Mon, 12 Sep 2005 11:08:31 -0700 Subject: Ethernet probe order In-Reply-To: <4323926D.7060405@cox.net> References: <20050908150852.GA32022@linuxace.com> <4323926D.7060405@cox.net> Message-ID: <20050912180831.GA25395@linuxace.com> On Sat, Sep 10, 2005 at 07:11:57PM -0700, Greg Morgan wrote: > So do you want, say, > device eth e1000:tg3:e100 > so that the devices are probed in this order? Thanks, that worked when combined with the 'nonet' boot argument (apparently auto-probing devices is done prior to those manually specified). Still doesn't explain the logic, but gets the job done... Phil From rwehner at gmail.com Mon Sep 12 21:16:37 2005 From: rwehner at gmail.com (Robert Wehner) Date: Mon, 12 Sep 2005 15:16:37 -0600 Subject: Mount cdrom in %post on 2.6 kernel Message-ID: <888f2524050912141619ead7da@mail.gmail.com> I am migrating some kickstarts from RHEL 3.0 to RHEL 4.0 and I can't figure out how to get the cdrom device mounted in the %post section. In RHEL 3.0, I always used the method mentioned on this list many times: %post updfstab mount /mnt/cdrom tar xfp /mnt/cdrom/somefile.tar -C /opt That doesn't work in RHEL 4.0 as updfstab is now gone. It looks like in RHEL 4 it is the the haldaemon (by calling fstab-sync) that does something similar to what updfstab used to do. I tried starting that in %post, and it says it started OK but it doesn't update fstab, nor does it stay running. I've also tried parsing /proc/sys/dev/cdrom/info and then attempting to mount the device listed there. That didn't work as the device hasn't been made yet at /dev/hd?. Anyone have any ideas on how to get the CD mounted during %post in RHEL 4 kickstarts? thanks! Robert Wehner -------------- next part -------------- An HTML attachment was scrubbed... URL: From error27 at gmail.com Mon Sep 12 22:52:41 2005 From: error27 at gmail.com (Dan Carpenter) Date: Mon, 12 Sep 2005 15:52:41 -0700 Subject: Mount cdrom in %post on 2.6 kernel In-Reply-To: <888f2524050912141619ead7da@mail.gmail.com> References: <888f2524050912141619ead7da@mail.gmail.com> Message-ID: RHEL4 uses /media/cdrom instead of /mnt/cdrom/ Perhaps the easiest idea is to just put a pause in the %post script like this: echo paused read tmp Then you can switch tty's and test whatever you want. regards, dan carpenter From pmatilai at laiskiainen.org Tue Sep 13 06:27:30 2005 From: pmatilai at laiskiainen.org (Panu Matilainen) Date: Mon, 12 Sep 2005 23:27:30 -0700 (PDT) Subject: Mount cdrom in %post on 2.6 kernel In-Reply-To: <888f2524050912141619ead7da@mail.gmail.com> References: <888f2524050912141619ead7da@mail.gmail.com> Message-ID: On Mon, 12 Sep 2005, Robert Wehner wrote: > I am migrating some kickstarts from RHEL 3.0 to RHEL 4.0 and I can't figure > out how to get the cdrom device mounted in the %post section. In RHEL 3.0, I > always used the method mentioned on this list many times: > %post > updfstab > mount /mnt/cdrom > tar xfp /mnt/cdrom/somefile.tar -C /opt > > That doesn't work in RHEL 4.0 as updfstab is now gone. It looks like in RHEL > 4 it is the the haldaemon (by calling fstab-sync) that does something > similar to what updfstab used to do. I tried starting that in %post, and it > says it started OK but it doesn't update fstab, nor does it stay running. > > I've also tried parsing /proc/sys/dev/cdrom/info and then attempting to > mount the device listed there. That didn't work as the device hasn't been > made yet at /dev/hd?. > > Anyone have any ideas on how to get the CD mounted during %post in RHEL 4 > kickstarts? Run '/sbin/udevstart' at beginning of %post which will create the necessary devices, worked for me at least. - Panu - From rreed at ops.sgp.arm.gov Tue Sep 13 14:00:32 2005 From: rreed at ops.sgp.arm.gov (Ronald Reed) Date: Tue, 13 Sep 2005 09:00:32 -0500 Subject: Ethernet probe order In-Reply-To: <20050912180831.GA25395@linuxace.com> References: <20050908150852.GA32022@linuxace.com> <4323926D.7060405@cox.net> <20050912180831.GA25395@linuxace.com> Message-ID: <1126620032.2598.36.camel@ronnote> I may have forgot to mention that if you are using the device parameter in the kickstart file, then you should probably use the "noprobe" option on the boot line. Ron On Mon, 2005-09-12 at 13:08, Phil Oester wrote: > On Sat, Sep 10, 2005 at 07:11:57PM -0700, Greg Morgan wrote: > > So do you want, say, > > device eth e1000:tg3:e100 > > so that the devices are probed in this order? > > Thanks, that worked when combined with the 'nonet' boot argument (apparently > auto-probing devices is done prior to those manually specified). > > Still doesn't explain the logic, but gets the job done... > > Phil > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -- =========================== Ron Reed RedHat Certified Engineer SGP Computer Department Manager Unix Systems Administrator ARM SGP CART Site (580)388-4053 ron.reed at arm.gov From michael.boman at gmail.com Tue Sep 13 23:58:25 2005 From: michael.boman at gmail.com (Michael Boman) Date: Wed, 14 Sep 2005 07:58:25 +0800 Subject: Mount cdrom in %post on 2.6 kernel In-Reply-To: References: <888f2524050912141619ead7da@mail.gmail.com> Message-ID: <48989dd705091316587e83d943@mail.gmail.com> On 9/13/05, Panu Matilainen wrote: > On Mon, 12 Sep 2005, Robert Wehner wrote: > > > Anyone have any ideas on how to get the CD mounted during %post in RHEL 4 > > kickstarts? > > Run '/sbin/udevstart' at beginning of %post which will create the > necessary devices, worked for me at least. I was having the same problem, and this thread helped me resolve it. What I did was: --8<-- %post { /sbin/start_udev mkdir -p /media/cdrom mount /dev/cdrom /media/cdrom --8<-- This is under CentOS 4 (RHEL 4 clone) Best regards Michael Boman -- IT Security Researcher & Developer http://proxy.11a.nu From iw at linuxhotel.de Wed Sep 14 19:12:40 2005 From: iw at linuxhotel.de (Ingo Wichmann) Date: Wed, 14 Sep 2005 21:12:40 +0200 Subject: Workshop "automatic installation" at Linuxhotel Message-ID: <43287628.4040602@linuxhotel.de> Hi! There will be a workshop on the topic of "automatic installation" at the linuxhotel ( http://www.linuxhotel.de ), essen, germany from Friday, Oktober 7 to Sunday Oktober 9. Its a pet-project of mine, i just want to spend a weekend hacking and comparing the different approaches to this topic ( fai, m23, autoyast, kickstart ). So if you want to join, feel free to do so. Prizing: 10 Euros for the drinks and stuff. 50 Euros per night in a shared room for 2 persons. ( Developers who can prove relevant commitments to a relevant projekt on this topic are welcome to stay at the hotel for free ) Just send an email if you want to join. Here is my announcement in German: Hallo Leute! Ich habe grade unheimlich Spa? daran gefunden, automatisch Linux-Rechner zu installieren. Wem das genauso geht, oder wer das interessant findet und ausreichend Vorkenntnisse hat, den lade ich herzlich zu einem Bastel-Wochende vom 07.10. bis zum 09.10. hier ins Linuxhotel ein. Programm: ========= Freitag, 07.10.: 20:00 Uhr bis ca. 21:30 Uhr Vortrag / Demo von mir: Einf?hrung in das Thema, Praxisbeispiel Installation Netzwerkboot mit syslinux/pxelinux, dhcpd und passendem Kernel. Samstag, 08.10: 10:00 bis 17:00 Uhr: Bastel-Session in Eigenregie im wesentlichen mit mitgebracher Hardware. Ein paar Test-Notebooks, Switches und Kabel kann ich auch beisteuern, aber besser ist, jeder bringt selbst genug Rechner bzw. VMware-Lizenzen mit. Ich will in der Zeit verschiedene Varianten austesten ( FAI f?r Debian, m23 f?r Debian, autoYast f?r SuSE, Kickstart f?r Fedora/RedHat, grub statt pxelinux ) und mich mit Euch austauschen was wof?r gut ist. Achtung: das alles ist nicht f?r Linux-Einsteiger gedacht. Ich freue mich ?ber Leute, die so wie ich selbst mindestens schon erste Erfahrungen mit dem Thema gesammelt haben; gerne auch mehr als das ... es geht mir um einen Austausch auf Gegenseitigkeit. Sonntag, 10:00 bis 16:00 Uhr das selbe wie am Samstag :-) Kosten: ======= 10 Euro f?r Getr?nke (Kaffee, Kola, ...) [1] Wer im Linuxhotel ?bernachten will zahlt noch mal 50 Euro pro Nacht im halben Doppelzimmer. Leute, die zu einem relevanten Projekt ( fai, m23, ... ) in relevantem Umfang beigetragen haben zahlen nix. [2] Pl?tze: ======= Ich denke mit mehr als 20 Leuten macht das alles keinen Sinn. Anmeldung: ========== Bitte eine Mail an iw at linuxhotel.de deren Betreff das Wort "workshop" enth?lt und die folgende Fragen beantwortet: Wie hei?t Du? Von wann bis wann m?chtest Du teilnehmen? M?chtest Du im Linuxhotel ?bernachten? Aktuellere Infos: ================= https://wiki.villa-vogelsang.de/doku.php?id=autoinstall:start Viele Gr??e, Ingo Wichmann [1] wer das nicht zahlen kann: daran soll es auch nicht scheitern ... bitte mich ansprechen. [2] Bitte mit mir absprechen, wer sich dieser Gruppe zugeh?rig f?hlt :-) From mats.ohlander at saabsystems.se Thu Sep 15 16:53:50 2005 From: mats.ohlander at saabsystems.se (mats.ohlander at saabsystems.se) Date: Thu, 15 Sep 2005 18:53:50 +0200 Subject: Mats Ohlander/SAAB Systems is on seminar Message-ID: I will be out of the office starting 2005-09-15 and will not return until 2005-09-19. I will be on seminar rest of the week. Back on Monday 19 Septermber. From rwehner at gmail.com Fri Sep 16 15:10:30 2005 From: rwehner at gmail.com (Robert Wehner) Date: Fri, 16 Sep 2005 09:10:30 -0600 Subject: Mount cdrom in %post on 2.6 kernel In-Reply-To: <48989dd705091316587e83d943@mail.gmail.com> References: <888f2524050912141619ead7da@mail.gmail.com> <48989dd705091316587e83d943@mail.gmail.com> Message-ID: <888f25240509160810cd08e13@mail.gmail.com> On 9/13/05, Michael Boman wrote: > On 9/13/05, Panu Matilainen wrote: > > On Mon, 12 Sep 2005, Robert Wehner wrote: > > > > > Anyone have any ideas on how to get the CD mounted during %post in RHEL 4 > > > kickstarts? > > > > Run '/sbin/udevstart' at beginning of %post which will create the > > necessary devices, worked for me at least. > > I was having the same problem, and this thread helped me resolve it. > What I did was: > > --8<-- > %post > { > /sbin/start_udev > mkdir -p /media/cdrom > mount /dev/cdrom /media/cdrom > --8<-- Thanks for everyone's comments on this. I finally got back to it last night and used a combination of these suggestions to solve the problem. I essentially used the above, but since I wanted to be able to handle more than one cdrom device per machine I didn't feel comfortable using /dev/cdrom and instead made haldaemon update /etc/fstab so I could grep out all the cdrom devices and mount them in turn. find_cd_mounts () { /sbin/udevstart /sbin/service messagebus start /sbin/service haldaemon start # wait a few seconds for the above to finish sleep 10 # now figure out what to mount. if [ -e /proc/sys/dev/cdrom/info ]; then cd_devices="$(egrep '^drive name:' /proc/sys/dev/cdrom/info | awk -F: '{print $2}')" else echo "ERROR: File /proc/sys/dev/cdrom/info does not exist. Cannot mount DVD!" return 1 fi if [ "X${cd_devices}" = "X" ]; then echo "ERROR: No CD devices found in /proc/sys/dev/cdrom/info!" return 1 else for device in ${cd_devices} do mount_pnt="$(egrep "/dev/${device}[^aA-zZ]" /etc/fstab | awk '{ print $2 }')" if (mount ${mount_pnt} >> ${LOGFILE} 2>&1); then # run scripts found on CD with run-parts return else non_mounted="${non_mounted} ${device}" fi done echo "ERROR: Unable to mount any devices: ${non_mounted}" return 1 fi } May be a little overkill, but there are a few odd multi-CD boxes out there that I wanted to be sure I'd eventually find the CD. thanks again for all the help. -- ---- Robert Wehner rwehner at gmail.com From mats.ohlander at saabsystems.se Fri Sep 16 17:08:51 2005 From: mats.ohlander at saabsystems.se (mats.ohlander at saabsystems.se) Date: Fri, 16 Sep 2005 19:08:51 +0200 Subject: Mats Ohlander/SAAB Systems is on seminar Message-ID: I will be out of the office starting 2005-09-15 and will not return until 2005-09-19. I will be on seminar rest of the week. Back on Monday 19 Septermber. From ducatirdr at comcast.net Fri Sep 16 21:24:05 2005 From: ducatirdr at comcast.net (ducatirdr at comcast.net) Date: Fri, 16 Sep 2005 21:24:05 +0000 Subject: kickstart RH8 using Vanilla Kernel.Org Message-ID: <091620052124.10603.432B37F4000CF8850000296B22007358349C0A040E9D0103D20B0A@comcast.net> Greetings, I need some help getting RH8 installed via PXEBOOT while using a kernel.org as the PXE images. Is this at all possible ? If so can someone provide help. Here's some information: I have a kernel.org image to use initrd and has all necessary devices to load in the kernel. I'm just struggling with the initrd image. What needs to be in the ramdisk? Is it just the /sbin/loader do I make a new ramdisk under the kernel.org version or can I just use the one on the RH CD and remove all the modules? Thanks in advance, Siva -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at boku.net Fri Sep 16 21:40:21 2005 From: peter at boku.net (Peter Eisch) Date: Fri, 16 Sep 2005 16:40:21 -0500 Subject: kickstart RH8 using Vanilla Kernel.Org In-Reply-To: <091620052124.10603.432B37F4000CF8850000296B22007358349C0A040E9D0103D20B0A@comcast.net> Message-ID: I haven?t done this with RH8 or with PXE booting, but I did it with RH7.3 for CD-ROM only. Remember to replace all the affected kernel and driver bits in the initrd.img and then also get the drivers in the stage2.img. It was generally straight forward but time consuming to get it to 2.4.28 a year ago. On 9/16/05 4:24 PM, "ducatirdr at comcast.net" wrote: > Greetings, > > I need some help getting RH8 installed via PXEBOOT while using a kernel.org as > the PXE images. Is this at all possible ? If so can someone provide help. > > Here's some information: > I have a kernel.org image to use initrd and has all necessary devices to load > in the kernel. I'm just struggling with the initrd image. What needs to be > in the ramdisk? Is it just the /sbin/loader do I make a new ramdisk under the > kernel.org version or can I just use the one on the RH CD and remove all the > modules? > > Thanks in advance, > Siva > > > _______________________________________________ > 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 ducatirdr at comcast.net Sat Sep 17 01:54:22 2005 From: ducatirdr at comcast.net (ducatirdr at comcast.net) Date: Sat, 17 Sep 2005 01:54:22 +0000 Subject: kickstart RH8 using Vanilla Kernel.Org Message-ID: <091720050154.14767.432B774E000082F5000039AF22092246279C0A040E9D0103D20B0A@comcast.net> I think my problem is in the initrd to start the kickstart loader. But I don't know how to make this ramdisk. ( what files are needed. etc.) I used the kernel.org kernel to pxe boot and used the ramdisk from the images/ of rh8 cd1. But this should be a mismatch right ? -------------- Original message -------------- I haven?t done this with RH8 or with PXE booting, but I did it with RH7.3 for CD-ROM only. Remember to replace all the affected kernel and driver bits in the initrd.img and then also get the drivers in the stage2.img. It was generally straight forward but time consuming to get it to 2.4.28 a year ago. On 9/16/05 4:24 PM, "ducatirdr at comcast.net" wrote: Greetings, I need some help getting RH8 installed via PXEBOOT while using a kernel.org as the PXE images. Is this at all possible ? If so can someone provide help. Here's some information: I have a kernel.org image to use initrd and has all necessary devices to load in the kernel. I'm just struggling with the initrd image. What needs to be in the ramdisk? Is it just the /sbin/loader do I make a new ramdisk under the kernel.org version or can I just use the one on the RH CD and remove all the modules? Thanks in advance, Siva _______________________________________________ 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 rikherrin at yahoo.com Sun Sep 18 07:55:24 2005 From: rikherrin at yahoo.com (Rik Herrin) Date: Sun, 18 Sep 2005 00:55:24 -0700 (PDT) Subject: Kickstart taking long time on RHEL 4 to start Message-ID: <20050918075524.60409.qmail@web52911.mail.yahoo.com> Hi, I'm experiencing a strange RHEL v4 specific issue. For some reason, Kickstart is taking a very long time to start installing packages. I'm installing from an nfs server and the ks file is located on the nfs server. Anaconda quickly gets a DHCP request and goes through everything at a reasonable rate until it reaches the screen where it is about to install software (after it has completed the formatting). It then "hangs" for about 5-10 minutes before continuing. Even when installing software, I feel that it is quite slow. I had the exact same setup on RHEL v3 and it was about twice as fast. Furthermore, on RHEL v3, there was no delay in any part of the installation. I checked that traffic on the network and there was basically no traffic except for the installation (I had only a single machine installing). After taking some time to install the packages, the installation is successful. However, I was wondering why it takes so long to start installing the packages. Any ideas? Thanks for your time. PS. I attached the kickstart file if anyone's interested. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: full.cfg Type: application/octet-stream Size: 1087 bytes Desc: 2541256184-full.cfg URL: From koreesmith at gmail.com Sun Sep 18 14:41:02 2005 From: koreesmith at gmail.com (Koree A. Smith) Date: Sun, 18 Sep 2005 09:41:02 -0500 Subject: Kickstart taking long time on RHEL 4 to start In-Reply-To: <20050918075524.60409.qmail@web52911.mail.yahoo.com> References: <20050918075524.60409.qmail@web52911.mail.yahoo.com> Message-ID: <676847c6050918074173f487b7@mail.gmail.com> I am having this same problem. It freezes at the "Determining Hostname and Domain" screen. After about 10 minutes, it continues on. I have PXE kickstarts for 7.3, 9.0, three versions of RHEL 3, and RHEL 4. RHEL 4 is the first one to do this to me, yet the configs are all very close together, and are identical network-wise. Furthermore, anything based on RHEL4 (CentOS, Trustix) does the same thing. I would assume it's doing a name lookup and it's having trouble finishing it. But, according to what's going on in the virtual terminals, it is able to get its IP and find its domain name. Koree On 9/18/05, Rik Herrin wrote: > > Hi, > I'm experiencing a strange RHEL v4 specific issue. > For some reason, Kickstart is taking a very long time > to start installing packages. I'm installing from an > nfs server and the ks file is located on the nfs > server. Anaconda quickly gets a DHCP request and goes > through everything at a reasonable rate until it > reaches the screen where it is about to install > software (after it has completed the formatting). It > then "hangs" for about 5-10 minutes before continuing. > Even when installing software, I feel that it is > quite slow. I had the exact same setup on RHEL v3 and > it was about twice as fast. Furthermore, on RHEL v3, > there was no delay in any part of the installation. I > checked that traffic on the network and there was > basically no traffic except for the installation (I > had only a single machine installing). After taking > some time to install the packages, the installation is > successful. However, I was wondering why it takes so > long to start installing the packages. Any ideas? > Thanks for your time. > > PS. I attached the kickstart file if anyone's interested. > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > > -- Koree A. Smith -- koreesmith at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From drkludge at cox.net Sun Sep 18 22:29:55 2005 From: drkludge at cox.net (Greg Morgan) Date: Sun, 18 Sep 2005 15:29:55 -0700 Subject: Kickstart taking long time on RHEL 4 to start In-Reply-To: <20050918075524.60409.qmail@web52911.mail.yahoo.com> References: <20050918075524.60409.qmail@web52911.mail.yahoo.com> Message-ID: <432DEA63.2030805@cox.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rik Herrin wrote: > Hi, > I'm experiencing a strange RHEL v4 specific issue. > For some reason, Kickstart is taking a very long time > to start installing packages. I'm installing from an > nfs server and the ks file is located on the nfs > server. Anaconda quickly gets a DHCP request and goes > through everything at a reasonable rate until it > reaches the screen where it is about to install > software (after it has completed the formatting). It > then "hangs" for about 5-10 minutes before continuing. Being a Fedora Core weenie I cannot vouch for the main RH products. Sniff RH 9 was the last one I could afford. But alas Microsoft ME and MS Office 97 were the last MS product I could afford. The WAF, Wife Acceptance Factor, is going reasonably well these days with FC 4. She really likes FireFox, etc but I digress... My guess is that you are going from the precomputed dependency comps.xml file to a dynamically computed file. This is precisely the area that I believe the computation would take place. When I look at your full.cfg ks file I see two things. One, you have an @everything install. To get all the toys, then you will have some computation time involved. Also in your example file you have additional packages that I believe would be included in an @everything install. I don't know if this is true or not but could that cause the comps.xml computation to take more time as it has to account for these packages too? I believe I see this same "hang" on FC 4. However, I like you install from ISOs or an install true on an NFS server. I believe the location of the ks.cfg is immaterial in this circumstance. In my situation, I get the install going and go to bed. Life is good. > Even when installing software, I feel that it is > quite slow. I had the exact same setup on RHEL v3 and > it was about twice as fast. Furthermore, on RHEL v3, > there was no delay in any part of the installation. I Yep! I only have a couple of clients for the NFS server and a gigabit switch. There was a post from Jermy Katz talking about the future plans back in June 2005--I think. Try your install on FC 4 to see if you have the same problem exists. I thought part of the issue is that when you do an @everything install it takes awhile to go through four CDs. I am even disappointed that there's not a DVD full of binary stuff from extras. I could careless about the source being on the DVD but then again that's a whole subject itself. More is better in this case because I am paying for the distribution to include all these things right? Well those are my thoughts--one CD is less. ;-) Anaconda is going through a bunch of changes right now. Perhaps this issue will be resolved if the dynamic comps.xml calculation is at the heart of the matter. The plan is to use yum to perform these calculations as far as I understand it. There were some posts to this list or the anaconda development list. Please review some of these ideas here http://fedoraproject.org/wiki/AnacondaWorkItems . Moreover, you may want to enter some buzilla reports so that the developers keep this in mind. However, I gather that the dynamic computation of the comps.xml solved other problems. > checked that traffic on the network and there was > basically no traffic except for the installation (I > had only a single machine installing). After taking > some time to install the packages, the installation is > successful. However, I was wondering why it takes so > long to start installing the packages. Any ideas? Please remember that I am guessing here. > Thanks for your time. > > PS. I attached the kickstart file if anyone's interested. > Here's the second problem with your kickstart file. Please be aware of security issues. If you post a ks file in the future, then please blank this line rootpw --iscrypted $1$jgCXJg5n$Nkh7qximuxKPCkbE.Eulm1 You've just let people know an encrypted string that they can start running a crack library against. You may want to change all your passwords that might use parts of this password. I hope this helps, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDLepixyxe5L6mr7IRAv7uAJ0RYAS9YqvIjkEXvkqEyvNouedUSACgiWX6 RRhK+0mMwD+0V2hhzOkkj54= =aVSd -----END PGP SIGNATURE----- From brilong at cisco.com Mon Sep 19 13:54:41 2005 From: brilong at cisco.com (Brian Long) Date: Mon, 19 Sep 2005 09:54:41 -0400 Subject: Kickstart taking long time on RHEL 4 to start In-Reply-To: <20050918075524.60409.qmail@web52911.mail.yahoo.com> References: <20050918075524.60409.qmail@web52911.mail.yahoo.com> Message-ID: <1127138082.3957.6.camel@brilong-lnx.cisco.com> On Sun, 2005-09-18 at 00:55 -0700, Rik Herrin wrote: > Hi, > I'm experiencing a strange RHEL v4 specific issue. > For some reason, Kickstart is taking a very long time > to start installing packages. I'm installing from an > nfs server and the ks file is located on the nfs > server. Anaconda quickly gets a DHCP request and goes > through everything at a reasonable rate until it > reaches the screen where it is about to install > software (after it has completed the formatting). It > then "hangs" for about 5-10 minutes before continuing. > Even when installing software, I feel that it is > quite slow. I had the exact same setup on RHEL v3 and > it was about twice as fast. Furthermore, on RHEL v3, > there was no delay in any part of the installation. I > checked that traffic on the network and there was > basically no traffic except for the installation (I > had only a single machine installing). After taking > some time to install the packages, the installation is > successful. However, I was wondering why it takes so > long to start installing the packages. Any ideas? > Thanks for your time. > > PS. I attached the kickstart file if anyone's interested. Another thing to consider besides the dependency calculation is the NFS mount options. If you go to Alt-F2 and cat /proc/mounts, is your NFS mount rsize=32768,wsize=32768,udp? If so, this could be your problem. I recently submitted a patch to the Anaconda developers for RHEL 4 U2_beta that allows you to pass "nfsmountopts=rsize=16384,wsize=16384,tcp" or any other NFS mount options to loader. This helps installations where UDP and large (32K) rsize/wsize are a bad idea. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168384 /Brian/ -- Brian Long | | | IT Data Center Systems | .|||. .|||. Cisco Linux Developer | ..:|||||||:...:|||||||:.. Phone: (919) 392-7363 | C i s c o S y s t e m s From rikherrin at yahoo.com Tue Sep 20 11:03:58 2005 From: rikherrin at yahoo.com (Rik Herrin) Date: Tue, 20 Sep 2005 04:03:58 -0700 (PDT) Subject: Kickstart taking long time on RHEL 4 to start Message-ID: <20050920110359.82703.qmail@web52902.mail.yahoo.com> Thanks for your feedback. I'm still looking into this issue and will try your suggestions. Greg, although it might have to do with computation of comps.xml, is there any way to cache / save this dynamically computed comps.xml? Also, the rest of the install is kind of slow (even after it starts installing, so it might be a problem with NFS - like what Brian suggested). As for the line with the root password, these installations are used in a lab environment behind a proxy server being a NATing device, so it doesn't really matter. Nonetheless, thanks for the suggestion. Brian, I'll check out the window size and get back to you :D __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From rikherrin at yahoo.com Tue Sep 20 12:01:12 2005 From: rikherrin at yahoo.com (Rik Herrin) Date: Tue, 20 Sep 2005 05:01:12 -0700 (PDT) Subject: Kickstart taking long time on RHEL 4 to start Message-ID: <20050920120112.32180.qmail@web52913.mail.yahoo.com> Brian, You were right. The mount options are rsize=32768,wsize=32768,udp and as far as I can tell, you can't change them server side unless your recompile the kernel and modify one of the files related to the nfs code. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From wes.armour at diamond.ac.uk Tue Sep 20 15:41:35 2005 From: wes.armour at diamond.ac.uk (Wes Armour) Date: Tue, 20 Sep 2005 16:41:35 +0100 Subject: Installing everything in the extras channel in %post Message-ID: <1127230895.4449.64.camel@diamrl5001.diamond.ac.uk> Hi All, I would like to install all of the packages in the extras channel during my ks install. I register the systems with my satellite using activation keys, the extras channel is selected as a child channel for the activation key used. I would then like the bootstrap or something in %post to install all packages in the extras channel. Is there an easy way to do this without listing all of the packages in the extras channel? Thanks, Wes. From john.j.poole at usa-spaceops.com Tue Sep 20 16:17:29 2005 From: john.j.poole at usa-spaceops.com (Poole, John J) Date: Tue, 20 Sep 2005 12:17:29 -0400 Subject: screen lock for unattended kickstarts Message-ID: <2CE66A1ABBED8C4B85DFF5E0860987A3051D6BB3@usaflcms03.usa-spaceops.ksc.nasa.gov> Hi, Does anyone know on a quick way to screenlock or disable keyboard entry during a kickstart install? It would be nice to help prevent tampering with the install process on unattended loads. The lock process would have to include any console screens as well. Thanks, John John J. Poole Mail Stop: USK-615 Phone: 321-861-0561 Email: john.j.poole at usa-spaceops.com Opinions expressed are my own and are not endorsed by United Space Alliance. From katzj at redhat.com Tue Sep 20 16:53:28 2005 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 20 Sep 2005 12:53:28 -0400 Subject: screen lock for unattended kickstarts In-Reply-To: <2CE66A1ABBED8C4B85DFF5E0860987A3051D6BB3@usaflcms03.usa-spaceops.ksc.nasa.gov> References: <2CE66A1ABBED8C4B85DFF5E0860987A3051D6BB3@usaflcms03.usa-spaceops.ksc.nasa.gov> Message-ID: <1127235208.2861.6.camel@bree.local.net> On Tue, 2005-09-20 at 12:17 -0400, Poole, John J wrote: > Does anyone know on a quick way to screenlock or disable keyboard entry during a kickstart install? It would be nice to help prevent tampering with the > install process on unattended loads. The lock process would have to include any console screens as well. Adding "noshell" to your boot parameters will make it so that the shell on tty2 won't be started. Then the only input would be if you left something out of your ks.cfg Jeremy From James_Martin at ao.uscourts.gov Tue Sep 20 19:10:01 2005 From: James_Martin at ao.uscourts.gov (James_Martin at ao.uscourts.gov) Date: Tue, 20 Sep 2005 15:10:01 -0400 Subject: Installing everything in the extras channel in %post In-Reply-To: <1127230895.4449.64.camel@diamrl5001.diamond.ac.uk> Message-ID: "man up2date" tells me: --installall Used in combo with --channel to install all the packages from a given channel. James S. Martin, RHCE Contractor Administrative Office of the United States Courts Washington, DC (202) 502-2394 kickstart-list-bounces at redhat.com wrote on 09/20/2005 11:41:35 AM: > Hi All, > > I would like to install all of the packages in the extras channel during > my ks install. > > I register the systems with my satellite using activation keys, the > extras channel is selected as a child channel for the activation key > used. I would then like the bootstrap or something in %post to install > all packages in the extras channel. > > Is there an easy way to do this without listing all of the packages in > the extras channel? > > Thanks, > > Wes. > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From jason at jw2.org Tue Sep 20 22:03:16 2005 From: jason at jw2.org (Jason White) Date: Tue, 20 Sep 2005 18:03:16 -0400 Subject: Kickstart taking long time on RHEL 4 to start In-Reply-To: <20050920120112.32180.qmail@web52913.mail.yahoo.com> References: <20050920120112.32180.qmail@web52913.mail.yahoo.com> Message-ID: <20050920220316.GD32748@jw2.org> * Rik Herrin (rikherrin at yahoo.com) [050920 08:01]: > Brian, > You were right. The mount options are > rsize=32768,wsize=32768,udp and as far as I can tell, > you can't change them server side unless your > recompile the kernel and modify one of the files > related to the nfs code. Personally, that is why I prefer (and use) HTTP based installations instead of NFS. The other advantage is that you can see what anaconda is doing by the requests it goes after on the web server. (for example, the 404's in apache's error_log showed me where it was looking for the updates.img file, when I had it in the wrong path) Jason From mats.ohlander at saabsystems.se Wed Sep 21 16:14:49 2005 From: mats.ohlander at saabsystems.se (mats.ohlander at saabsystems.se) Date: Wed, 21 Sep 2005 18:14:49 +0200 Subject: Mats Ohlander/SAAB Systems is on parent leave Message-ID: I will be out of the office starting 2005-09-21 and will not return until 2005-09-23. I will be on parent leave thursday 2005-09-22 Back on Friday 23 Septermber. From error27 at gmail.com Wed Sep 21 21:08:34 2005 From: error27 at gmail.com (Dan Carpenter) Date: Wed, 21 Sep 2005 14:08:34 -0700 Subject: kickstart RH8 using Vanilla Kernel.Org In-Reply-To: <091720050154.14767.432B774E000082F5000039AF22092246279C0A040E9D0103D20B0A@comcast.net> References: <091720050154.14767.432B774E000082F5000039AF22092246279C0A040E9D0103D20B0A@comcast.net> Message-ID: I haven't tried this and this is written freehand so it may not work. So you've compiled your kernel.org kernel and you have a vmlinuz and some modules. Let's say the kernel version is 2.4.8. cp /mnt/cdrom/isolinux/initrd initrd.orig zcat initrd.orig > foo mkdir bar mount -o loop foo bar mkdir 2.4.8/ find /lib/modules/2.4.8/ -name \*.o -exec mv \{\} 2.4.8/ \; find 2.4.8 | cpio -co | gzip -9 > bar/modules/modules.cgz umount bar gzip foo mv foo.gz intrd-2.4.8.img mv /boot/vmlinuz-2.4.8 . regards, dan carpenter 2005/9/16, ducatirdr at comcast.net : > > I think my problem is in the initrd to start the kickstart loader. But I > don't know how to make this ramdisk. ( what files are needed. etc.) I used > the kernel.org kernel to pxe boot and used the ramdisk from the images/ of > rh8 cd1. But this should be a mismatch right ? > > From error27 at gmail.com Wed Sep 21 21:40:23 2005 From: error27 at gmail.com (Dan Carpenter) Date: Wed, 21 Sep 2005 14:40:23 -0700 Subject: kickstart RH8 using Vanilla Kernel.Org In-Reply-To: References: <091720050154.14767.432B774E000082F5000039AF22092246279C0A040E9D0103D20B0A@comcast.net> Message-ID: Few mistakes: find 2.4.8 | cpio -co | gzip -9 > bar/modules/modules.cgz should be: find 2.4.8/ | cpio -H crc -o | gzip -9 -c > bar/modules/modules.cgz Also you'll need to patch things in your %post install. regards, dan carpenter From wes.armour at diamond.ac.uk Thu Sep 22 08:54:39 2005 From: wes.armour at diamond.ac.uk (Wes Armour) Date: Thu, 22 Sep 2005 09:54:39 +0100 Subject: Installing everything in the extras channel in %post Message-ID: <1127379279.4066.11.camel@diamrl5001.diamond.ac.uk> Thanks James, I must start to use the man pages more! Wes. "man up2date" tells me: --installall Used in combo with --channel to install all the packages from a given channel. James S. Martin, RHCE Contractor Administrative Office of the United States Courts Washington, DC (202) 502-2394 kickstart-list-bounces at redhat.com wrote on 09/20/2005 11:41:35 AM: > Hi All, > > I would like to install all of the packages in the extras channel during > my ks install. > > I register the systems with my satellite using activation keys, the > extras channel is selected as a child channel for the activation key > used. I would then like the bootstrap or something in %post to install > all packages in the extras channel. > > Is there an easy way to do this without listing all of the packages in > the extras channel? > > Thanks, > > Wes. > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From john.j.poole at usa-spaceops.com Fri Sep 23 19:15:12 2005 From: john.j.poole at usa-spaceops.com (Poole, John J) Date: Fri, 23 Sep 2005 15:15:12 -0400 Subject: screen lock for unattended kickstarts Message-ID: <2CE66A1ABBED8C4B85DFF5E0860987A3051D6BC4@usaflcms03.usa-spaceops.ksc.nasa.gov> Jeremy, Tried "noshell" in the kickstart boot parameters, exactly what I needed. Thank you much, John -----Original Message----- From: Jeremy Katz [mailto:katzj at redhat.com] Sent: Tuesday, September 20, 2005 12:53 PM To: Discussion list about Kickstart Subject: Re: screen lock for unattended kickstarts On Tue, 2005-09-20 at 12:17 -0400, Poole, John J wrote: > Does anyone know on a quick way to screenlock or disable keyboard entry during a kickstart install? It would be nice to help prevent tampering with the > install process on unattended loads. The lock process would have to include any console screens as well. Adding "noshell" to your boot parameters will make it so that the shell on tty2 won't be started. Then the only input would be if you left something out of your ks.cfg Jeremy From klaus.steden at thomson.net Tue Sep 27 03:53:56 2005 From: klaus.steden at thomson.net (Klaus Steden) Date: Mon, 26 Sep 2005 23:53:56 -0400 Subject: switching off IPv6? In-Reply-To: <20050909172917.GZ897@thomson.net> References: <037301c5b42d$620e75d0$6501a8c0@bluebottle.com> <007d01c5b4c6$0cff9d50$6501a8c0@bluebottle.com> <1126272133.3987.34.camel@brilong-lnx.cisco.com> <1126286616.4542.26.camel@prometheus.gamehouse.com> <20050909172917.GZ897@thomson.net> Message-ID: <20050927035356.GO897@thomson.net> Is there a quick way to switch -off- IPv6 in Kickstart? By the time I've got a system fully configured, it gets loaded by default and marked as 'in use' if I try to rmmod (I assume simply adding an IPv6 address to a NIC makes it so?). Any suggestions are welcome. Klaus From Christian.Rohrmeier at SCHERING.DE Tue Sep 27 08:55:20 2005 From: Christian.Rohrmeier at SCHERING.DE (Christian.Rohrmeier at SCHERING.DE) Date: Tue, 27 Sep 2005 10:55:20 +0200 Subject: switching off IPv6? In-Reply-To: <20050927035356.GO897@thomson.net> Message-ID: Hi Klaus, here is how I deal with it in my %pre script: # Turn off IPV6 # # In /etc/sysconfig/network echo "NETWORKING_IPV6=no" >> /mnt/sysimage/etc/sysconfig/network # In /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" >> /mnt/sysimage/etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" >> /mnt/sysimage/etc/sysconfig/network-scripts/ifcfg-eth1 # And because the above doesn't work because of a bug, we force it in # /etc/modprobe.conf as well. echo "alias net-pf-10 off" >> /mnt/sysimage/etc/modprobe.conf As noted in the comments, there is a bug in the networking scripts: 1) IPv6 shouldn't be turned on by default in the first place, 2) the options to turn off IPv6 explicitly are ignored. The addition to modprobe.conf is actually what works. It requires a reboot to take effect, since, as you noted, you can't remove the modules once they are in use. Cheers, Christian _________________ Christian Rohrmeier Schering AG Corporate IT - Infrastructure and Services Computer Systems and Operations System Administration - Research and Development Tel +49 30 468 15794 Fax +49 30 468 95794 Klaus Steden To Sent by: Discussion list about Kickstart kickstart-list-bo unces at redhat.com cc Subject 27.09.2005 05:53 switching off IPv6? Please respond to Discussion list about Kickstart Is there a quick way to switch -off- IPv6 in Kickstart? By the time I've got a system fully configured, it gets loaded by default and marked as 'in use' if I try to rmmod (I assume simply adding an IPv6 address to a NIC makes it so?). Any suggestions are welcome. Klaus _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From d.lesca at solinos.it Tue Sep 27 15:32:12 2005 From: d.lesca at solinos.it (Dario Lesca) Date: Tue, 27 Sep 2005 17:32:12 +0200 Subject: Use anaconda procedure for partiton and format a new HD Message-ID: <1127835132.5434.85.camel@lesca.home.solinos.it> Hi, I am new of this list, My first question is: It is possible to use the anaconda procedure (/usr/lib/anaconda/*) to format, patition, and create LVM volumes on a new disk, taking the layout info from a file whit anaconda KS syntax? Something like this: export PYTHONPATH=/usr/lib/anaconda echo " clearpart --all part /boot --fstype ext3 --onpart hda1 part swap --onpart hda2 part pv.3 --noformat --onpart hda3 volgroup Vol0 pv.3 logvol /u --fstype ext3 --name=lvmu --vgname=Vol0 --size=10000.0 logvol /var --fstype ext3 --name=lvmvar --vgname=Vol0 --size=6000.0 logvol / --fstype ext3 --name=lvmroot --vgname=Vol0 --size=4000.0 " | python /tmp/mymkdisk.py /dev/hdb Many thanks for your suggestions.. -- Dario Lesca From iain at uk.colt.net Tue Sep 27 15:58:14 2005 From: iain at uk.colt.net (Iain M Conochie) Date: Tue, 27 Sep 2005 16:58:14 +0100 Subject: Use anaconda procedure for partiton and format a new HD In-Reply-To: <1127835132.5434.85.camel@lesca.home.solinos.it> References: <1127835132.5434.85.camel@lesca.home.solinos.it> Message-ID: <43396C16.7090109@uk.colt.net> Dario Lesca wrote: >Hi, I am new of this list, My first question is: It is possible >to use the anaconda procedure (/usr/lib/anaconda/*) to format, >patition, and create LVM volumes on a new disk, taking the layout >info from a file whit anaconda KS syntax? > >Something like this: > >export PYTHONPATH=/usr/lib/anaconda >echo " >clearpart --all >part /boot --fstype ext3 --onpart hda1 >part swap --onpart hda2 >part pv.3 --noformat --onpart hda3 >volgroup Vol0 pv.3 >logvol /u --fstype ext3 --name=lvmu --vgname=Vol0 --size=10000.0 >logvol /var --fstype ext3 --name=lvmvar --vgname=Vol0 --size=6000.0 >logvol / --fstype ext3 --name=lvmroot --vgname=Vol0 --size=4000.0 >" | python /tmp/mymkdisk.py /dev/hdb > > > Pretty much. Here is an example that I have used in the past clearpart --all part /boot --fstype ext3 --size=250 --asprimary part swap --size=4096 part pv.39 --size=100 --grow volgroup vg00 pv.39 logvol /home --fstype ext3 --name=lvol03 --vgname=vg00 --size=1024 logvol /var --fstype ext3 --name=lvol02 --vgname=vg00 --size=1024 logvol /usr --fstype ext3 --name=lvol01 --vgname=vg00 --size=6144 logvol / --fstype ext3 --name=lvol00 --vgname=vg00 --size=1024 logvol /tmp --fstype ext3 --name=lvol04 --vgname=vg00 --size=1024 Cheers Iain >Many thanks for your suggestions.. > > > From Harry.Sutton at hp.com Tue Sep 27 16:55:25 2005 From: Harry.Sutton at hp.com (Sutton, Harry (MSE)) Date: Tue, 27 Sep 2005 12:55:25 -0400 Subject: User's / Admin Guide? FAQ? Message-ID: <4339797D.4030401@hp.com> I'll start by apologizing if these exist, but I've been wading through the archives and haven't found anything, so I figured it was time to ask. I'm looking for some basic usage documentation on kickstart, and it's proving astonishingly difficult to find. I can't even find a list of options to the command line. I assume it's written down somewhere, can one of you point me to it? Thanks in advance, /Harry Sutton Hewlett-Packard Company -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6145 bytes Desc: S/MIME Cryptographic Signature URL: From klaus.steden at thomson.net Tue Sep 27 16:58:19 2005 From: klaus.steden at thomson.net (Klaus Steden) Date: Tue, 27 Sep 2005 12:58:19 -0400 Subject: User's / Admin Guide? FAQ? In-Reply-To: <4339797D.4030401@hp.com> References: <4339797D.4030401@hp.com> Message-ID: <20050927165819.GP897@thomson.net> > I'll start by apologizing if these exist, but I've been wading through > the archives and haven't found anything, so I figured it was time to ask. > > I'm looking for some basic usage documentation on kickstart, and it's > proving astonishingly difficult to find. I can't even find a list of > options to the command line. I assume it's written down somewhere, can > one of you point me to it? > I sympathize. I got started using the docs that come with Anaconda, under /usr/share/doc iirc. hth, Klaus From Chip.Shabazian at bankofamerica.com Tue Sep 27 17:36:18 2005 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Tue, 27 Sep 2005 10:36:18 -0700 Subject: Use anaconda procedure for partiton and format a new HD Message-ID: This is how I create a partition information file, depending upon the number of disks that I have: In the command section, I use an include: %include /tmp/partinfo And then in %pre, I figure out how many disks I have, and then create /tmp/partinfo using one of two standard schemes that we use in our environment: # Determine how many drives we have set $(list-harddrives) let numd=$#/2 d1=$1 d2=$3 # This is the scheme for two or more drives if [ $numd -ge 2 ] ; then cat << EOF >> /tmp/partinfo part pv.01 --size=1 --grow --fstype=ext3 --ondisk=$d1 volgroup volgrp01 pv.01 part pv.02 --size=1 --grow --fstype=ext3 --ondisk=$d2 volgroup volgrp02 pv.02 logvol / --vgname=volgrp01 --size=10240 --name=slash logvol /var --vgname=volgrp01 --size=8192 --name=var part /boot --fstype ext3 --size=256 --ondisk=$d1 logvol /home --vgname=volgrp02 --size=4096 --name=home logvol /tmp --vgname=volgrp01 --size=2048 --name=tmp part swap --recommended --ondisk=$d1 EOF else # This is the scheme for one drive cat << EOF >> /tmp/partinfo part pv.01 --size=1 --grow --fstype=ext3 --ondisk=$d1 volgroup volgrp01 pv.01 logvol / --vgname=volgrp01 --size=10240 --name=slashlogvol /var --vgname=volgrp01 --size=8192 --name=var part /boot --fstype ext3 --size=256 --ondisk=$d1 logvol /home --vgname=volgrp01 --size=4096 --name=home logvol /tmp --vgname=volgrp01 --size=2048 --name=tmp part swap --recommended --ondisk=$d1 EOF fi You don't have to use native partitions for /boot in RHEL 4. -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Dario Lesca Sent: Tuesday, September 27, 2005 8:32 AM To: Kickstart List Subject: Use anaconda procedure for partiton and format a new HD Hi, I am new of this list, My first question is: It is possible to use the anaconda procedure (/usr/lib/anaconda/*) to format, patition, and create LVM volumes on a new disk, taking the layout info from a file whit anaconda KS syntax? Something like this: export PYTHONPATH=/usr/lib/anaconda echo " clearpart --all part /boot --fstype ext3 --onpart hda1 part swap --onpart hda2 part pv.3 --noformat --onpart hda3 volgroup Vol0 pv.3 logvol /u --fstype ext3 --name=lvmu --vgname=Vol0 --size=10000.0 logvol /var --fstype ext3 --name=lvmvar --vgname=Vol0 --size=6000.0 logvol / --fstype ext3 --name=lvmroot --vgname=Vol0 --size=4000.0 " | python /tmp/mymkdisk.py /dev/hdb Many thanks for your suggestions.. -- Dario Lesca _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From Chip.Shabazian at bankofamerica.com Tue Sep 27 17:46:10 2005 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Tue, 27 Sep 2005 10:46:10 -0700 Subject: User's / Admin Guide? FAQ? Message-ID: Here are some URL's I've found over the years. Some are old, some are irrelevant I'm sure, but this is everything I've found and thought significant enough to bookmark: Boot options: http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/x8664-multi- install-guide/ap-bootopts.html http://www-oss.fnal.gov/projects/fermilinux/lts301/install/bootup.html http://www.fedoraforum.org/forum/showthread.php?t=25826 http://www.slac.stanford.edu/~alfw/PXE-Kickstart/ http://www.exmachinatech.net/01/novi/ http://www.linuxjournal.com/article/6473 http://www.linuxdevcenter.com/pub/a/linux/2005/02/17/kickstart_updates.h tml http://www.linuxdevcenter.com/pub/a/linux/2004/11/04/advanced_kickstart. html http://www.puschitz.com/Kickstart.shtml http://rau.homedns.org/twiki/bin/view/Anaconda/AnacondaDocumentationProj ect http://lg.imasd.elmundo.es/105/nielsen.html -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Klaus Steden Sent: Tuesday, September 27, 2005 9:58 AM To: Discussion list about Kickstart Subject: Re: User's / Admin Guide? FAQ? > I'll start by apologizing if these exist, but I've been wading through > the archives and haven't found anything, so I figured it was time to ask. > > I'm looking for some basic usage documentation on kickstart, and it's > proving astonishingly difficult to find. I can't even find a list of > options to the command line. I assume it's written down somewhere, can > one of you point me to it? > I sympathize. I got started using the docs that come with Anaconda, under /usr/share/doc iirc. hth, Klaus _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From peter at boku.net Tue Sep 27 18:03:14 2005 From: peter at boku.net (Peter Eisch) Date: Tue, 27 Sep 2005 13:03:14 -0500 Subject: Use anaconda procedure for partiton and format a new HD In-Reply-To: Message-ID: On 9/27/05 12:36 PM, "Shabazian, Chip" wrote: ... > # Determine how many drives we have > set $(list-harddrives) > let numd=$#/2 > d1=$1 > d2=$3 > > # This is the scheme for two or more drives > > if [ $numd -ge 2 ] ; then > cat << EOF >> /tmp/partinfo > part pv.01 --size=1 --grow --fstype=ext3 --ondisk=$d1 > volgroup volgrp01 pv.01 > part pv.02 --size=1 --grow --fstype=ext3 --ondisk=$d2 > volgroup volgrp02 pv.02 That would only use the first two drives. If I detect multiple disks, I loop over them. This was on a 7.3 (pre list-harddrives and logical volume manager vintage) installer. Updating it with logval should be somewhat trivial. (Of course, $hds contains a list of the available drives, but determining that seems to be outside the scope of this thread.) echo "zerombr yes" >> /tmp/partinfo echo "clearpart --all --initlabel" >> /tmp/partinfo drive=0 bootdevs='' rootdevs='' for pdev in $hds do bootp=raid."$drive"1 rootp=raid."$drive"2 bootdevs="$bootdevs $bootp" rootdevs="$rootdevs $rootp" cat << EOF >> /tmp/partinfo part $bootp --size 50 --ondisk $pdev" part $rootp --size 1 --grow --ondisk $pdev" part swap --recommended --ondisk $pdev" EOF let drive=$drive+1 done echo "raid /boot --level=1 --device=md0 --fstype ext3 $bootdevs" >> /tmp/partinfo if [ $numhd -gt 2 ]; then echo "raid / --level=5 --device=md1 --fstype ext3 $rootdevs" >> /tmp/partinfo else echo "raid / --level=1 --device=md1 --fstype ext3 $rootdevs" >> /tmp/partinfo fi From Chip.Shabazian at bankofamerica.com Tue Sep 27 18:13:05 2005 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Tue, 27 Sep 2005 11:13:05 -0700 Subject: Use anaconda procedure for partiton and format a new HD Message-ID: Yes, we only have two definitions in our environment depending on whether you have one or two+ disks (or in our case, hardware RAID volumes). There are MANY different things you can do, from defining a 3, 4, 5, .... drive environment to dynamically generating the partition information based on the number of drives you have. The keys here are to use the %include for your partinfo, and to figure out some way to determine the number of drives you have and what devices they are. The nice thing (for us) about list-harddrives is that it works with all of the drives in our environment (cciss, sda, had) The key to list-harddrives is that the ODD numbers are the devices, and the EVEN numbers are the sizes of the devices (in case you want to figure out if you have enough space for what you want to do, or partition based on the size of the drive) Chip -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Peter Eisch Sent: Tuesday, September 27, 2005 11:03 AM To: Discussion list about Kickstart Subject: Re: Use anaconda procedure for partiton and format a new HD On 9/27/05 12:36 PM, "Shabazian, Chip" wrote: ... > # Determine how many drives we have > set $(list-harddrives) > let numd=$#/2 > d1=$1 > d2=$3 > > # This is the scheme for two or more drives > > if [ $numd -ge 2 ] ; then > cat << EOF >> /tmp/partinfo > part pv.01 --size=1 --grow --fstype=ext3 --ondisk=$d1 > volgroup volgrp01 pv.01 > part pv.02 --size=1 --grow --fstype=ext3 --ondisk=$d2 > volgroup volgrp02 pv.02 That would only use the first two drives. If I detect multiple disks, I loop over them. This was on a 7.3 (pre list-harddrives and logical volume manager vintage) installer. Updating it with logval should be somewhat trivial. (Of course, $hds contains a list of the available drives, but determining that seems to be outside the scope of this thread.) echo "zerombr yes" >> /tmp/partinfo echo "clearpart --all --initlabel" >> /tmp/partinfo drive=0 bootdevs='' rootdevs='' for pdev in $hds do bootp=raid."$drive"1 rootp=raid."$drive"2 bootdevs="$bootdevs $bootp" rootdevs="$rootdevs $rootp" cat << EOF >> /tmp/partinfo part $bootp --size 50 --ondisk $pdev" part $rootp --size 1 --grow --ondisk $pdev" part swap --recommended --ondisk $pdev" EOF let drive=$drive+1 done echo "raid /boot --level=1 --device=md0 --fstype ext3 $bootdevs" >> /tmp/partinfo if [ $numhd -gt 2 ]; then echo "raid / --level=5 --device=md1 --fstype ext3 $rootdevs" >> /tmp/partinfo else echo "raid / --level=1 --device=md1 --fstype ext3 $rootdevs" >> /tmp/partinfo fi _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From Christian.Rohrmeier at schering.de Wed Sep 28 07:45:44 2005 From: Christian.Rohrmeier at schering.de (Christian.Rohrmeier at schering.de) Date: Wed, 28 Sep 2005 09:45:44 +0200 Subject: User's / Admin Guide? FAQ? In-Reply-To: Message-ID: Hi, the official Red Hat Enterprise Linux System Administration Guide devotes two chapters to Kickstart. Its available in both PDF and HTML form directly from Red Hat. Here is the URL to the HTML version: http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/ Take a look at chapters 1 and 2. Don't forget that some things don't work with RHEL 2.1 like they do with 3 and 4 (most importantly RHEL 2.1 doesn't support the %include tag.) Cheers, Christian _________________ Christian Rohrmeier Schering AG Corporate IT - Infrastructure and Services Computer Systems and Operations System Administration - Research and Development Tel +49 30 468 15794 Fax +49 30 468 95794 "Shabazian, Chip" To Sent by: Discussion list about Kickstart kickstart-list-bo unces at redhat.com cc Subject 27.09.2005 19:46 RE: User's / Admin Guide? FAQ? Please respond to Discussion list about Kickstart Here are some URL's I've found over the years. Some are old, some are irrelevant I'm sure, but this is everything I've found and thought significant enough to bookmark: Boot options: http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/x8664-multi- install-guide/ap-bootopts.html http://www-oss.fnal.gov/projects/fermilinux/lts301/install/bootup.html http://www.fedoraforum.org/forum/showthread.php?t=25826 http://www.slac.stanford.edu/~alfw/PXE-Kickstart/ http://www.exmachinatech.net/01/novi/ http://www.linuxjournal.com/article/6473 http://www.linuxdevcenter.com/pub/a/linux/2005/02/17/kickstart_updates.h tml http://www.linuxdevcenter.com/pub/a/linux/2004/11/04/advanced_kickstart. html http://www.puschitz.com/Kickstart.shtml http://rau.homedns.org/twiki/bin/view/Anaconda/AnacondaDocumentationProj ect http://lg.imasd.elmundo.es/105/nielsen.html -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Klaus Steden Sent: Tuesday, September 27, 2005 9:58 AM To: Discussion list about Kickstart Subject: Re: User's / Admin Guide? FAQ? > I'll start by apologizing if these exist, but I've been wading through > the archives and haven't found anything, so I figured it was time to ask. > > I'm looking for some basic usage documentation on kickstart, and it's > proving astonishingly difficult to find. I can't even find a list of > options to the command line. I assume it's written down somewhere, can > one of you point me to it? > I sympathize. I got started using the docs that come with Anaconda, under /usr/share/doc iirc. hth, Klaus _______________________________________________ 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 From d.lesca at solinos.it Wed Sep 28 08:36:24 2005 From: d.lesca at solinos.it (Dario Lesca) Date: Wed, 28 Sep 2005 10:36:24 +0200 Subject: Use anaconda procedure for partiton and format a new HD In-Reply-To: <1127835132.5434.85.camel@lesca.home.solinos.it> References: <1127835132.5434.85.camel@lesca.home.solinos.it> Message-ID: <1127896584.3207.52.camel@lesca.home.solinos.it> Il giorno mar, 27/09/2005 alle 17.32 +0200, Dario Lesca ha scritto: > Hi, I am new of this list, My first question is: It is possible > to use the anaconda procedure (/usr/lib/anaconda/*) to format, > patition, and create LVM volumes on a new disk, taking the layout > info from a file whit anaconda KS syntax? Many thanks to all, with your answers they are successful to improve my procedures of pxe setup. But my question (formulated badly, I'm sorry for my bad English) it was another. I would want make the disk partitions, and mkfs, from a shell command line procedure. Now I manually use this procedure on my pc whit fc4: # fdisk -l /dev/hda add a new disk on hdb and manually, whit fdisk /dev/hdb, I recreate some partition, then lvm, and mkfs on the new hdb disk. Therefore the question is: it is possible to create a python procedure (or someone has already create it) that uses as includes /usr/lib/anaconda files, and that reading from a KS syntax file (that I manually compile, like my first example), write to the new disc the partitions and recreate the filesystem, like the setup do ?? I hope to have explained well my question ... or this is a question for anaconda ML? Many thanks to all!! -- Dario Lesca From alexander_rau at yahoo.com Wed Sep 28 22:30:28 2005 From: alexander_rau at yahoo.com (Alexander Rau) Date: Wed, 28 Sep 2005 15:30:28 -0700 (PDT) Subject: kickstart to prompt for network Message-ID: <20050928223028.24878.qmail@web52108.mail.yahoo.com> Hi: I am using RH 3 ES U5 I am wondering if there is a way to have a kickstart install prompt for networking input only? Thanks AR From jim at rossberry.com Thu Sep 29 00:44:39 2005 From: jim at rossberry.com (Jim Wildman) Date: Wed, 28 Sep 2005 20:44:39 -0400 (EDT) Subject: kickstart to prompt for network In-Reply-To: <20050928223028.24878.qmail@web52108.mail.yahoo.com> References: <20050928223028.24878.qmail@web52108.mail.yahoo.com> Message-ID: On Wed, 28 Sep 2005, Alexander Rau wrote: > I am wondering if there is a way to have a kickstart > install prompt for networking input only? Don't specify any network settings in the ks.cfg file. ------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine From alexander_rau at yahoo.com Thu Sep 29 01:03:26 2005 From: alexander_rau at yahoo.com (Alexander Rau) Date: Wed, 28 Sep 2005 18:03:26 -0700 (PDT) Subject: kickstart to prompt for network In-Reply-To: Message-ID: <20050929010327.48804.qmail@web52107.mail.yahoo.com> Thanks I didn't and it just does through the whole install without prompting for network settings.... AR --- Jim Wildman wrote: > On Wed, 28 Sep 2005, Alexander Rau wrote: > > > I am wondering if there is a way to have a > kickstart > > install prompt for networking input only? > > Don't specify any network settings in the ks.cfg > file. > > ------------------------------------------------------------------------ > Jim Wildman, CISSP, RHCE jim at rossberry.com > http://www.rossberry.com > "Society in every state is a blessing, but > Government, even in its best > state, is a necessary evil; in its worst state, an > intolerable one." > Thomas Paine > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > From harry at mad-cat.co.uk Thu Sep 29 06:56:13 2005 From: harry at mad-cat.co.uk (Harry Mills) Date: Thu, 29 Sep 2005 07:56:13 +0100 (BST) Subject: kickstart to prompt for network Message-ID: Try just putting: network --device eth0 in the ks.cfg I have not tested this so am happy to be corrected but in theory it will then ask for the missing bits. Regards Harry On Thu, 29 Sep, Alexander Rau wrote: > Thanks > > I didn't and it just does through the whole install > without prompting for network settings.... > > AR > > --- Jim Wildman wrote: > > > On Wed, 28 Sep 2005, Alexander Rau wrote: > > > > > I am wondering if there is a way to have a > > kickstart > > > install prompt for networking input only? > > From alexander_rau at yahoo.com Thu Sep 29 10:43:52 2005 From: alexander_rau at yahoo.com (Alexander Rau) Date: Thu, 29 Sep 2005 03:43:52 -0700 (PDT) Subject: kickstart to prompt for network In-Reply-To: Message-ID: <20050929104352.38285.qmail@web52108.mail.yahoo.com> Hey Harry: Thanks for the tip. It didn't work (at least for me). In addition, when I tried to do "network --device eth1" to also input data for the 2nd NIC ist crapped out on me with a traceback. Thanks again AR From harry at mad-cat.co.uk Thu Sep 29 11:10:58 2005 From: harry at mad-cat.co.uk (Harry Mills) Date: Thu, 29 Sep 2005 12:10:58 +0100 (BST) Subject: kickstart to prompt for network Message-ID: Ok - done some testing ;) I am using FC3. This works for me - specifying a static bootproto and then giving blank ip and netmask args. network --device eth2 --bootproto static --ip --netmask When it boots up it asks for IP details for eth2 (which is NOT plugged into the network). I have not tested it when the card in question is plugged into the network. Hope that helps R Harry On Thu, 29 Sep, Alexander Rau wrote: > Hey Harry: > > Thanks for the tip. It didn't work (at least for me). > > In addition, when I tried to do "network --device > eth1" to also input data for the 2nd NIC ist crapped > out on me with a traceback. > > Thanks again > > AR > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -- Harry Mills Chief Technical Manager Opendium Ltd. http://www.opendium.com/ From dan at half-asleep.com Thu Sep 29 11:42:16 2005 From: dan at half-asleep.com (Daniel Segall) Date: Thu, 29 Sep 2005 07:42:16 -0400 (EDT) Subject: kickstart to prompt for network In-Reply-To: <20050928223028.24878.qmail@web52108.mail.yahoo.com> References: <20050928223028.24878.qmail@web52108.mail.yahoo.com> Message-ID: <49455.192.80.55.74.1127994136.squirrel@webmail.half-asleep.com> I just run a %post script to prompt for networking stuff, and just echo the values into the specific files like /etc/sysconfig/network /etc/sysconfig/network /etc/hosts, etc. Not the most elegant solution, but it allows for a lot more versatility. -Dan On Wed, September 28, 2005 6:30 pm, Alexander Rau said: > Hi: > > I am using RH 3 ES U5 > > I am wondering if there is a way to have a kickstart > install prompt for networking input only? > > Thanks > > AR > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > From James_Martin at ao.uscourts.gov Thu Sep 29 14:09:02 2005 From: James_Martin at ao.uscourts.gov (James_Martin at ao.uscourts.gov) Date: Thu, 29 Sep 2005 10:09:02 -0400 Subject: kickstart to prompt for network In-Reply-To: <20050928223028.24878.qmail@web52108.mail.yahoo.com> Message-ID: kickstart-list-bounces at redhat.com wrote on 09/28/2005 06:30:28 PM: > Hi: > > I am using RH 3 ES U5 > > I am wondering if there is a way to have a kickstart > install prompt for networking input only? > > Thanks > > AR > Are you doing a CD based install or network based install? James S. Martin, RHCE Contractor Administrative Office of the United States Courts Washington, DC (202) 502-2394 > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From alexander_rau at yahoo.com Thu Sep 29 14:21:01 2005 From: alexander_rau at yahoo.com (Alexander Rau) Date: Thu, 29 Sep 2005 07:21:01 -0700 (PDT) Subject: kickstart to prompt for network In-Reply-To: Message-ID: <20050929142101.35453.qmail@web52109.mail.yahoo.com> CD install --- James_Martin at ao.uscourts.gov wrote: > kickstart-list-bounces at redhat.com wrote on > 09/28/2005 06:30:28 PM: > > > Hi: > > > > I am using RH 3 ES U5 > > > > I am wondering if there is a way to have a > kickstart > > install prompt for networking input only? > > > > Thanks > > > > AR > > > > Are you doing a CD based install or network based > install? > > > James S. Martin, RHCE > Contractor > Administrative Office of the United States Courts > Washington, DC > (202) 502-2394 > > > > > > > > > > _______________________________________________ > > 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 > From James_Martin at ao.uscourts.gov Thu Sep 29 14:32:51 2005 From: James_Martin at ao.uscourts.gov (James_Martin at ao.uscourts.gov) Date: Thu, 29 Sep 2005 10:32:51 -0400 Subject: kickstart to prompt for network In-Reply-To: <20050929142101.35453.qmail@web52109.mail.yahoo.com> Message-ID: kickstart-list-bounces at redhat.com wrote on 09/29/2005 10:21:01 AM: > CD install > Thought so. This is a bug in anaconda (in my mind anyhow, Red Hat won't acknowledge this). Basically during a CD kickstart, anaconda will never prompt you for network information, no matter what combination of networking information you leave in or out in the ks file. There is a fix, however, which I figured out while stumbling through the anaconda code. Here it is (I'm doing this from memory but I think that it's right): take the stage2.img from the CD, copy it /tmp or whatever. mkdir /mnt/img mkdir /tmp/new_img mount -o loop /tmp/stag2.img /mnt/img rsync -avv /mnt/img/* /tmp/img/ now you want to look at the /tmp/img/usr/lib/kistart.py and comment out the below line: dispatch.skipStep("network") This will force kickstart to prompt for networking. then create your new stage2.img : mkcramfs /tmp/new_img and copy it back to your temporary CD making directory, re-create your ISO, burn it and you're good to go. James S. Martin, RHCE Contractor Administrative Office of the United States Courts Washington, DC (202) 502-2394 > --- James_Martin at ao.uscourts.gov wrote: > > > kickstart-list-bounces at redhat.com wrote on > > 09/28/2005 06:30:28 PM: > > > > > Hi: > > > > > > I am using RH 3 ES U5 > > > > > > I am wondering if there is a way to have a > > kickstart > > > install prompt for networking input only? > > > > > > Thanks > > > > > > AR > > > > > > > Are you doing a CD based install or network based > > install? > > > > > > James S. Martin, RHCE > > Contractor > > Administrative Office of the United States Courts > > Washington, DC > > (202) 502-2394 > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list From alexander_rau at yahoo.com Thu Sep 29 15:07:06 2005 From: alexander_rau at yahoo.com (Alexander Rau) Date: Thu, 29 Sep 2005 08:07:06 -0700 (PDT) Subject: kickstart to prompt for network In-Reply-To: Message-ID: <20050929150706.69979.qmail@web52112.mail.yahoo.com> hey thanks just going through the steps you suggested wondering what flags I need for the mkisofs to remake my iso. Haven't done that in a while Thanks AR --- James_Martin at ao.uscourts.gov wrote: > kickstart-list-bounces at redhat.com wrote on > 09/29/2005 10:21:01 AM: > > > CD install > > > > Thought so. This is a bug in anaconda (in my mind > anyhow, Red Hat won't > acknowledge this). Basically during a CD kickstart, > anaconda will never > prompt you for network information, no matter what > combination of > networking information you leave in or out in the ks > file. There is a > fix, however, which I figured out while stumbling > through the anaconda > code. Here it is (I'm doing this from memory but I > think that it's > right): > > take the stage2.img from the CD, copy it /tmp or > whatever. > mkdir /mnt/img > mkdir /tmp/new_img > mount -o loop /tmp/stag2.img /mnt/img > rsync -avv /mnt/img/* /tmp/img/ > > now you want to look at the > /tmp/img/usr/lib/kistart.py > > and comment out the below line: > > dispatch.skipStep("network") > > This will force kickstart to prompt for networking. > > then create your new stage2.img : > > mkcramfs /tmp/new_img > > and copy it back to your temporary CD making > directory, re-create your > ISO, burn it and you're good to go. > > > > James S. Martin, RHCE > Contractor > Administrative Office of the United States Courts > Washington, DC > (202) 502-2394 > > > > > > --- James_Martin at ao.uscourts.gov wrote: > > > > > kickstart-list-bounces at redhat.com wrote on > > > 09/28/2005 06:30:28 PM: > > > > > > > Hi: > > > > > > > > I am using RH 3 ES U5 > > > > > > > > I am wondering if there is a way to have a > > > kickstart > > > > install prompt for networking input only? > > > > > > > > Thanks > > > > > > > > AR > > > > > > > > > > Are you doing a CD based install or network > based > > > install? > > > > > > > > > James S. Martin, RHCE > > > Contractor > > > Administrative Office of the United States > Courts > > > Washington, DC > > > (202) 502-2394 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > _______________________________________________ > > 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 > From jim at rossberry.com Fri Sep 30 02:10:02 2005 From: jim at rossberry.com (Jim Wildman) Date: Thu, 29 Sep 2005 22:10:02 -0400 (EDT) Subject: Saving host keys across a kickstart Message-ID: ------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine From dan at half-asleep.com Fri Sep 30 15:02:12 2005 From: dan at half-asleep.com (Daniel Segall) Date: Fri, 30 Sep 2005 11:02:12 -0400 (EDT) Subject: Multiple ks.cfg's on a single boot media? Message-ID: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> Hey Guys, I am experimenting with moving my pxe based kickstart system to a bootable media/network install. Currently I have my kickstart server on a private network, with everything centrally located on that server. I then connect servers to that network and boot them into pxe, where my menu of images will pop up. This works great, but it's a pain in the ass because I have to physically connect all of the systems to my network in order to kick them. What I would like to do is setup a cd containing all of my boot images, kickstart configs, post install scripts, etc. Then just do http installs over the public network. I know how to create the boot iso with everything, but i'm not sure how to specify the individual ks.cfg's for each image in the isolinux.cfg. With a single config, I could just use ks=cdrom. Is it possible to use a path with this? -Dan From rwehner at gmail.com Fri Sep 30 15:19:53 2005 From: rwehner at gmail.com (Robert Wehner) Date: Fri, 30 Sep 2005 09:19:53 -0600 Subject: Multiple ks.cfg's on a single boot media? In-Reply-To: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> References: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> Message-ID: <888f25240509300819j6ed473f2qdc10e3b5501da944@mail.gmail.com> On 9/30/05, Daniel Segall wrote: > Hey Guys, > > I am experimenting with moving my pxe based kickstart system to a bootable > media/network install. Currently I have my kickstart server on a private > network, with everything centrally located on that server. I then connect > servers to that network and boot them into pxe, where my menu of images > will pop up. This works great, but it's a pain in the ass because I have > to physically connect all of the systems to my network in order to kick > them. > > What I would like to do is setup a cd containing all of my boot images, > kickstart configs, post install scripts, etc. Then just do http installs > over the public network. I know how to create the boot iso with > everything, but i'm not sure how to specify the individual ks.cfg's for > each image in the isolinux.cfg. With a single config, I could just use > ks=cdrom. Is it possible to use a path with this? It is possible. I update the isolinux.cfg file to append extra stanzas for each ks.cfg on the CD. Something like: label webserver kernel vmlinuz append initrd=initrd.img ks=cdrom:/webserver.ks.cfg label database kernel vmlinuz append initrd=initrd.img ks=cdrom:/database.ks.cfg At the boot prompt the user just types in 'database' or 'webserver' to get the correct config. they type nothing if they want an interactive install. -- ---- Robert Wehner rwehner at gmail.com From rwehner at gmail.com Fri Sep 30 15:19:53 2005 From: rwehner at gmail.com (Robert Wehner) Date: Fri, 30 Sep 2005 09:19:53 -0600 Subject: Multiple ks.cfg's on a single boot media? In-Reply-To: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> References: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> Message-ID: <888f25240509300819j6ed473f2qdc10e3b5501da944@mail.gmail.com> On 9/30/05, Daniel Segall wrote: > Hey Guys, > > I am experimenting with moving my pxe based kickstart system to a bootable > media/network install. Currently I have my kickstart server on a private > network, with everything centrally located on that server. I then connect > servers to that network and boot them into pxe, where my menu of images > will pop up. This works great, but it's a pain in the ass because I have > to physically connect all of the systems to my network in order to kick > them. > > What I would like to do is setup a cd containing all of my boot images, > kickstart configs, post install scripts, etc. Then just do http installs > over the public network. I know how to create the boot iso with > everything, but i'm not sure how to specify the individual ks.cfg's for > each image in the isolinux.cfg. With a single config, I could just use > ks=cdrom. Is it possible to use a path with this? It is possible. I update the isolinux.cfg file to append extra stanzas for each ks.cfg on the CD. Something like: label webserver kernel vmlinuz append initrd=initrd.img ks=cdrom:/webserver.ks.cfg label database kernel vmlinuz append initrd=initrd.img ks=cdrom:/database.ks.cfg At the boot prompt the user just types in 'database' or 'webserver' to get the correct config. they type nothing if they want an interactive install. -- ---- Robert Wehner rwehner at gmail.com From dan at half-asleep.com Fri Sep 30 15:30:55 2005 From: dan at half-asleep.com (Daniel Segall) Date: Fri, 30 Sep 2005 11:30:55 -0400 (EDT) Subject: Multiple ks.cfg's on a single boot media? In-Reply-To: <888f25240509300819j6ed473f2qdc10e3b5501da944@mail.gmail.com> References: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> <888f25240509300819j6ed473f2qdc10e3b5501da944@mail.gmail.com> Message-ID: <49267.192.80.55.74.1128094255.squirrel@webmail.half-asleep.com> That's what I figured. Just wanted to make sure it would actually work. Thanks, -Dan On Fri, September 30, 2005 11:19 am, Robert Wehner said: > On 9/30/05, Daniel Segall wrote: >> Hey Guys, >> >> I am experimenting with moving my pxe based kickstart system to a >> bootable >> media/network install. Currently I have my kickstart server on a private >> network, with everything centrally located on that server. I then >> connect >> servers to that network and boot them into pxe, where my menu of images >> will pop up. This works great, but it's a pain in the ass because I have >> to physically connect all of the systems to my network in order to kick >> them. >> >> What I would like to do is setup a cd containing all of my boot images, >> kickstart configs, post install scripts, etc. Then just do http installs >> over the public network. I know how to create the boot iso with >> everything, but i'm not sure how to specify the individual ks.cfg's for >> each image in the isolinux.cfg. With a single config, I could just use >> ks=cdrom. Is it possible to use a path with this? > > It is possible. I update the isolinux.cfg file to append extra stanzas > for each ks.cfg on the CD. Something like: > > label webserver > kernel vmlinuz > append initrd=initrd.img ks=cdrom:/webserver.ks.cfg > label database > kernel vmlinuz > append initrd=initrd.img ks=cdrom:/database.ks.cfg > > At the boot prompt the user just types in 'database' or 'webserver' to > get the correct config. they type nothing if they want an interactive > install. > > -- > ---- > Robert Wehner > rwehner at gmail.com > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > From LAWRENCE.SORRILLO at HAMPTONU.EDU Fri Sep 30 15:59:09 2005 From: LAWRENCE.SORRILLO at HAMPTONU.EDU (LAWRENCE.SORRILLO at HAMPTONU.EDU) Date: Fri, 30 Sep 2005 11:59:09 -0400 Subject: Multiple ks.cfg's on a single boot media? Message-ID: <9B4DE93284CA884FA41C11102AEB741E0410C379@HUMX.infotech.hamptonu.edu> Hi: How do I get my DHCPProxy to take on the functionality of offering class option "PXECLients." I am currently in an environment where I do not have admin rights to the DHCP server but I have a subnet with linux server for which I am responsible. This subnet a scope on the central DHCP server which I do not control. Thanks, -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Daniel Segall Sent: Friday, September 30, 2005 10:02 AM To: Kickstart-list at redhat.com Subject: Multiple ks.cfg's on a single boot media? Hey Guys, I am experimenting with moving my pxe based kickstart system to a bootable media/network install. Currently I have my kickstart server on a private network, with everything centrally located on that server. I then connect servers to that network and boot them into pxe, where my menu of images will pop up. This works great, but it's a pain in the ass because I have to physically connect all of the systems to my network in order to kick them. What I would like to do is setup a cd containing all of my boot images, kickstart configs, post install scripts, etc. Then just do http installs over the public network. I know how to create the boot iso with everything, but i'm not sure how to specify the individual ks.cfg's for each image in the isolinux.cfg. With a single config, I could just use ks=cdrom. Is it possible to use a path with this? -Dan _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From klaus.steden at thomson.net Fri Sep 30 16:25:44 2005 From: klaus.steden at thomson.net (Klaus Steden) Date: Fri, 30 Sep 2005 12:25:44 -0400 Subject: Multiple ks.cfg's on a single boot media? In-Reply-To: <49267.192.80.55.74.1128094255.squirrel@webmail.half-asleep.com> References: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> <888f25240509300819j6ed473f2qdc10e3b5501da944@mail.gmail.com> <49267.192.80.55.74.1128094255.squirrel@webmail.half-asleep.com> Message-ID: <20050930162544.GN1808@thomson.net> Dan, You might find this to be of some interest: http://fedoraproject.org/wiki/AnacondaExtendingKickstart take care, Klaus From dan at half-asleep.com Fri Sep 30 16:34:43 2005 From: dan at half-asleep.com (Daniel Segall) Date: Fri, 30 Sep 2005 12:34:43 -0400 (EDT) Subject: Multiple ks.cfg's on a single boot media? In-Reply-To: <20050930162544.GN1808@thomson.net> References: <34648.192.80.55.74.1128092532.squirrel@webmail.half-asleep.com> <888f25240509300819j6ed473f2qdc10e3b5501da944@mail.gmail.com> <49267.192.80.55.74.1128094255.squirrel@webmail.half-asleep.com> <20050930162544.GN1808@thomson.net> Message-ID: <55554.192.80.55.74.1128098083.squirrel@webmail.half-asleep.com> VERY COOL! I will definitely look into that. Thanks! -Dan On Fri, September 30, 2005 12:25 pm, Klaus Steden said: > Dan, > > You might find this to be of some interest: > > http://fedoraproject.org/wiki/AnacondaExtendingKickstart > > take care, > Klaus > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > >