From Joel.Schuweiler at schmoozecom.com Tue May 5 22:30:04 2009 From: Joel.Schuweiler at schmoozecom.com (Joel Schuweiler) Date: Tue, 5 May 2009 17:30:04 -0500 Subject: changing module load order Message-ID: <04F770AE4B9BEC4FBDF9C306CFF44F27756DBCE6BF@schmoozecom1.schmooze.schmoozecom.com> I'm stuck getting a newer Ethernet card working with an older version of centos. I've put the r8168 module into my initrd, and the module gets loaded. However it loads AFTER anaconda seems to start the network detection portion. I'm trying to do headless installs using a remote kick start file, which in this case, can't be reached. I'd love if anyone has any ideas on how I can adjust module load order, or let me know what to look into next. It almost sounds like I need to recompile the loader? Thanks, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From Floydsmith at aol.com Wed May 6 21:36:01 2009 From: Floydsmith at aol.com (Floydsmith at aol.com) Date: Wed, 6 May 2009 17:36:01 EDT Subject: more Out of memory process 564 (loader) killed install pristine core 10 Message-ID: I have verified that the problem is with anaconda 11.4.1.62 by doing the following: I used a linux bunner app to create image file /042009/images/install.img (on partition /dev/sda4) from my cheapbytes (pristine - NO customization) Fedora core 10 DVD. I then tried to install using a kickstart file with install line: # Use hard drive installation media harddrive --dir=/042009/images/install.img --partition=sda4 The out of memory message occurs as the loader attempts to load the image. Then, to make sure that I don't have a bad install.img file from my bunner app I burned this exact same image back onto another DVD. Then, to prove that it is an anaconda issue (but ONLY with hard drive installs) I made ONE AND ONLY ONE change: I changed the install method line in the exact same kickstart file to: # Use CDROM installation media cdrom I made sure to use exactly the same boot up method which is linld batch script (on a VFAT fs disk) using kernel & initrd files that I had extracted previously from my pristine fedora core 10 image - this how I have done this many times in the past. The result is this image installs with the CDROM method after putting the DVD in the drive when prompted. Floyd, ************** Big savings on Dell?s most popular laptops. Now starting at $449! (http://pr.atwola.com/promoclk/100126575x1221827510x1201399090/aol?redir=http:%2F%2Fad.doubleclick.net%2Fclk%3B214663377%3B36502382%3Bh) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgarst at tresys.com Thu May 7 13:36:29 2009 From: cgarst at tresys.com (Corey Garst) Date: Thu, 7 May 2009 09:36:29 -0400 Subject: Kickstart Partitioning Errors Message-ID: <06A6610D4F464D4EBEAFBF2C5F86911E010D6AF0@exchange2.columbia.tresys.com> I've set up a fairly default install of Spacewalk 0.5 and set up a channel for CentOS 5.2. I've set up a CentOS 5.2 distro for kickstart and I'm not off to a great start. Perhaps this is just something simple that I've missed that someone could chime in on. When I PXE boot with an IDE VM in VMware Workstation, I get the error: "An error occurred trying to format myvg/rootvol. This problem is serious, and the install cannot continue." When I PXE boot with a SCSI VM in VMware Workstation, I get the error: "Could not allocate requested partitions: Partitioning failed: Could not allocate partitions as primary partitions. Not enough space left to create partition for /boot." Here is the partitioning details from Spacewalk > Systems > Kickstart > Profiles > CentOS-5-2. I'm not sure where this is stored in file. partition /boot --fstype=ext3 --size=200 partition swap --size=1000 --maxsize=2000 partition pv.01 --size=1000 --grow volgroup myvg pv.01 logvol / --vgname=myvg --name=rootvol --size=1000 --grow -Corey Garst From tom at ng23.net Tue May 12 13:06:27 2009 From: tom at ng23.net (Tom Brown) Date: Tue, 12 May 2009 14:06:27 +0100 Subject: timezone on RHEL5.3 Message-ID: <4A097453.5000309@ng23.net> In my kickstart i set my language and timezone to be lang en_US.UTF-8 langsupport --default=en_US.UTF-8 en_US.UTF-8 timezone --utc Europe/London The build goes fine however on the built system the timezone is BST - any clue as to why? thanks From terryb at gg.specsavers.com Tue May 12 13:03:50 2009 From: terryb at gg.specsavers.com (Terry Black) Date: Tue, 12 May 2009 14:03:50 +0100 Subject: timezone on RHEL5.3 Message-ID: <1475007237.8197271242133430394.JavaMail.root@strife.gg.specsavers.com> The timezone specified (Europe/London) automatically changes between Greenwich Mean Time (GMT) for winter months, and British Summer Time (BST) for summer months. The dates of the switch are end-of-March and end-of-October. The --utc switch says your hardware clock will be set to and maintained as UTC, which is the same time as GMT. Terry ----- Original Message ----- From: Tom Brown Sent: Tue, 12/5/2009 14:06 To: kickstart-list at redhat.com Subject: timezone on RHEL5.3 In my kickstart i set my language and timezone to be lang en_US.UTF-8 langsupport --default=en_US.UTF-8 en_US.UTF-8 timezone --utc Europe/London The build goes fine however on the built system the timezone is BST - any clue as to why? thanks _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list ----------------------------------------- NOTICE: This message contains privileged and confidential information intended only for the addressee. If you have received this message in error you must not disseminate, copy or take action on it; please notify postmaster at specsavers.com Opinions expressed in this message are those of the sender and do not necessarily represent those of Specsavers. Although this e-mail and any attachments are believed to be virus free, e-mail communications are not 100% secure and Specsavers makes no warranty that this message is secure or virus free. All references to Specsavers mean Specsavers Optical Group Limited or any member of the Specsavers Group of Companies. Nothing in this transmission shall or shall be deemed to constitute an offer or acceptance of an offer or otherwise have the effect of forming a contract by electronic communication. Your name and address may be stored to facilitate communications. From tom at ng23.net Tue May 12 13:33:59 2009 From: tom at ng23.net (Tom Brown) Date: Tue, 12 May 2009 14:33:59 +0100 Subject: timezone on RHEL5.3 In-Reply-To: <1475007237.8197271242133430394.JavaMail.root@strife.gg.specsavers.com> References: <1475007237.8197271242133430394.JavaMail.root@strife.gg.specsavers.com> Message-ID: <4A097AC7.6020408@ng23.net> > The timezone specified (Europe/London) automatically changes between Greenwich Mean Time (GMT) for winter months, and British Summer Time (BST) for summer months. The dates of the switch are end-of-March and end-of-October. The --utc switch says your hardware clock will be set to and maintained as UTC, which is the same time as GMT. > > thanks for that - so i guess i want Etc/UTC not Europe/London From bjs at redhat.com Tue May 12 16:33:32 2009 From: bjs at redhat.com (Bryan J Smith) Date: Tue, 12 May 2009 12:33:32 -0400 Subject: timezone on RHEL5.3 -- see BZ#481617 / KB DOC#15687 In-Reply-To: <4A097453.5000309@ng23.net> References: <4A097453.5000309@ng23.net> Message-ID: <1242146012.4032.27.camel@localhost.localdomain> On Tue, 2009-05-12 at 14:06 +0100, Tom Brown wrote: > In my kickstart i set my language and timezone to be > lang en_US.UTF-8 > langsupport --default=en_US.UTF-8 en_US.UTF-8 > timezone --utc Europe/London > The build goes fine however on the built system the timezone is BST - > any clue as to why? On Tue, 2009-05-12 at 14:06 +0100, Tom Brown wrote: > In my kickstart i set my language and timezone to be > > lang en_US.UTF-8 > langsupport --default=en_US.UTF-8 en_US.UTF-8 > timezone --utc Europe/London > > The build goes fine however on the built system the timezone is BST - > any clue as to why? Just beware that the Anaconda that shipped in RHEL 5.3 _fails_ to include several timezones, such as Etc/UTC, so it may not set the timezone correctly. See BZ#481617 for the issue: https://bugzilla.redhat.com/show_bug.cgi?id=481617 And see KB DOC#15687 for a work-around: http://kbase.redhat.com/faq/docs/DOC-15687 NOTE: You _can_ modify your stage2.img (compressed CPIO archive, IIRC) in your kickstart tree to add the necessary Zoneinfo files (e.g., from /usr/share/zoneinfo). However, on Spacewalk / RHN Satellite, I found that updates (at least from RHN) can remove any modified stage2.img with the original, losing those changes. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From bjs at redhat.com Tue May 12 16:37:01 2009 From: bjs at redhat.com (Bryan J Smith) Date: Tue, 12 May 2009 12:37:01 -0400 Subject: timezone on RHEL5.3 -- see BZ#481617 / KB DOC#15687 In-Reply-To: <4A097453.5000309@ng23.net> References: <4A097453.5000309@ng23.net> Message-ID: <1242146221.4032.30.camel@localhost.localdomain> [ Sorry, forgot to quote the correct portion, so it makes more sense. ] On Tue, 2009-05-12 at 14:06 +0100, Tom Brown wrote: > In my kickstart i set my language and timezone to be > lang en_US.UTF-8 > langsupport --default=en_US.UTF-8 en_US.UTF-8 > timezone --utc Europe/London > The build goes fine however on the built system the timezone is BST - > any clue as to why? On Tue, 2009-05-12 at 14:03 +0100, Terry Black wrote: > The timezone specified (Europe/London) automatically changes between > Greenwich Mean Time (GMT) for winter months, and British Summer Time > (BST) for summer months. The dates of the switch are end-of-March and > end-of-October. The --utc switch says your hardware clock will be set > to and maintained as UTC, which is the same time as GMT. On Tue, 2009-05-12 at 14:33 +0100, Tom Brown wrote: > thanks for that - so i guess i want Etc/UTC not Europe/London Just beware that the Anaconda that shipped in RHEL 5.3 _fails_ to include several timezones, such as Etc/UTC, so it may not set the timezone correctly. See BZ#481617 for the issue: https://bugzilla.redhat.com/show_bug.cgi?id=481617 And see KB DOC#15687 for a work-around: http://kbase.redhat.com/faq/docs/DOC-15687 NOTE: You _can_ modify your stage2.img (compressed CPIO archive, IIRC) in your kickstart tree to add the necessary Zoneinfo files (e.g., from /usr/share/zoneinfo). However, on Spacewalk / RHN Satellite, I found that updates (at least from RHN) can remove any modified stage2.img with the original, losing those changes. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From lunixer at gmail.com Tue May 12 18:41:45 2009 From: lunixer at gmail.com (Aldo Foot) Date: Tue, 12 May 2009 11:41:45 -0700 Subject: what is the meaning of LVM id in ks.cfg Message-ID: <3d22fc520905121141v2be61ec1va7576f361f0fa350@mail.gmail.com> Looking at this article: http://kbase.redhat.com/faq/docs/DOC-5511 What is the meaning or purpose of the "01" in the lines part pv.01 --size=1 --grow volgroup vg_root pv.01 Is it an arbitrary number to give an id to the VG? In my system the lines read (ks.cfg created by anaconda): part pv.18 --size=1 --grow volgroup myVG - -pesize=8192 pv.18 In some other example I see: part pv.6 --size=1 --grow volgroup someVG- -pesize=32768 root pv.6 I curious because one may want to use a ks.cfg in a brand new disk, which may be physically different and have a different partition layout. TIA, ~af From katzj at redhat.com Tue May 12 18:58:54 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 12 May 2009 14:58:54 -0400 Subject: what is the meaning of LVM id in ks.cfg In-Reply-To: <3d22fc520905121141v2be61ec1va7576f361f0fa350@mail.gmail.com> References: <3d22fc520905121141v2be61ec1va7576f361f0fa350@mail.gmail.com> Message-ID: <20090512185851.GA65719@redhat.com> On Tuesday, May 12 2009, Aldo Foot said: > Looking at this article: http://kbase.redhat.com/faq/docs/DOC-5511 > > What is the meaning or purpose of the "01" in the lines > part pv.01 --size=1 --grow > volgroup vg_root pv.01 > Is it an arbitrary number to give an id to the VG? Yes, it's purely an id for mapping the VG to a specific PV. Which becomes needed as you have multiple volume groups Cheers, Jeremy From lunixer at gmail.com Tue May 12 21:44:48 2009 From: lunixer at gmail.com (Aldo Foot) Date: Tue, 12 May 2009 14:44:48 -0700 Subject: what is the meaning of LVM id in ks.cfg In-Reply-To: <20090512185851.GA65719@redhat.com> References: <3d22fc520905121141v2be61ec1va7576f361f0fa350@mail.gmail.com> <20090512185851.GA65719@redhat.com> Message-ID: <3d22fc520905121444l7b6d2a3btf8266f904ec7f9c9@mail.gmail.com> On Tue, May 12, 2009 at 11:58 AM, Jeremy Katz wrote: > On Tuesday, May 12 2009, Aldo Foot said: >> Looking at this article: ?http://kbase.redhat.com/faq/docs/DOC-5511 >> >> What is the meaning or purpose of the "01" in the lines >> ? ? ?part pv.01 --size=1 --grow >> ? ? ?volgroup vg_root pv.01 >> Is it an arbitrary number to give an id to the VG? > > Yes, it's purely an id for mapping the VG to a specific PV. ?Which > becomes needed as you have multiple volume groups Thanks for replying. This small detail is not documented anywhere I look. There is no reference to it by the output of the LVM commands either. So, is this something used only during the time kickstart is running? All LMV examples on kickstart that I've seen involved only one physical disk. Now, say that I have three HDDs and I have this in the ks.cfg: part pv.11 - -size=100 - -ondisk=hda part pv.12 - -size=200 - -ondisk=hdb part pv.13 - -size=300 - -ondisk=hdc What would be the correct syntax to create the Volume Group? I'm thinking maybe volgroup bigVG - -pesize=789 pv.1113 with the "pv.1113" pointing to what's specified in the previous part commands showing the range 11 through 13. Is this accurate? ~af From tony.chamberlain at lemko.com Wed May 13 14:18:49 2009 From: tony.chamberlain at lemko.com (tony.chamberlain at lemko.com) Date: Wed, 13 May 2009 14:18:49 +0000 Subject: network driver CentOD 4.5 Message-ID: I installed a Dell machine. When I do the neat (network configuration) to configure the ethernet interface, none is listed. That is OK. I simply downloaded linux-3.92n.zip, untarred, did a make, make install and modprobe and then added the network. Problem: You have to do this after installation. So if I have a Dell kickstart file on, say, 192.168.5.15/dell-ks.cfg I can't specify at installation linux ks=http://192.168.5.15/dell-ks.cfg becuase there is no dhcp since there is no network driver, which has to be installed after Linux installation. There should be some way I can install the network driver or somehow tell anaconda to use it when it is doing Linux install, but I do not know how. Is there? From jlaska at redhat.com Wed May 13 15:54:36 2009 From: jlaska at redhat.com (James Laska) Date: Wed, 13 May 2009 11:54:36 -0400 Subject: what is the meaning of LVM id in ks.cfg In-Reply-To: <3d22fc520905121444l7b6d2a3btf8266f904ec7f9c9@mail.gmail.com> References: <3d22fc520905121141v2be61ec1va7576f361f0fa350@mail.gmail.com> <20090512185851.GA65719@redhat.com> <3d22fc520905121444l7b6d2a3btf8266f904ec7f9c9@mail.gmail.com> Message-ID: <1242230076.2583.12.camel@flatline.devel.redhat.com> On Tue, 2009-05-12 at 14:44 -0700, Aldo Foot wrote: > On Tue, May 12, 2009 at 11:58 AM, Jeremy Katz wrote: > > On Tuesday, May 12 2009, Aldo Foot said: > >> Looking at this article: http://kbase.redhat.com/faq/docs/DOC-5511 > >> > >> What is the meaning or purpose of the "01" in the lines > >> part pv.01 --size=1 --grow > >> volgroup vg_root pv.01 > >> Is it an arbitrary number to give an id to the VG? > > > > Yes, it's purely an id for mapping the VG to a specific PV. Which > > becomes needed as you have multiple volume groups > > Thanks for replying. > > This small detail is not documented anywhere I look. There is no > reference to it by the output of the LVM commands either. So, is this > something used only during the time kickstart is running? > > All LMV examples on kickstart that I've seen involved only one physical > disk. > Now, say that I have three HDDs and I have this in the ks.cfg: > part pv.11 - -size=100 - -ondisk=hda > part pv.12 - -size=200 - -ondisk=hdb > part pv.13 - -size=300 - -ondisk=hdc > What would be the correct syntax to create the Volume Group? > I'm thinking maybe > volgroup bigVG - -pesize=789 pv.1113 > with the "pv.1113" pointing to what's specified in the previous part commands > showing the range 11 through 13. Is this accurate? In the example you note, to create a volume group of the 3 partitions you would do: volgroup bigVG --pesize=789 pv.11 pv.12 pv.13 For additional information on the volgroup kickstart command, refer to http://fedoraproject.org/wiki/Anaconda/Kickstart. Thanks, James -- ========================================== James Laska -- jlaska at redhat.com Quality Engineering -- Red Hat, Inc. ========================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From lunixer at gmail.com Wed May 13 17:17:16 2009 From: lunixer at gmail.com (Aldo Foot) Date: Wed, 13 May 2009 10:17:16 -0700 Subject: what is the meaning of LVM id in ks.cfg In-Reply-To: <1242230076.2583.12.camel@flatline.devel.redhat.com> References: <3d22fc520905121141v2be61ec1va7576f361f0fa350@mail.gmail.com> <20090512185851.GA65719@redhat.com> <3d22fc520905121444l7b6d2a3btf8266f904ec7f9c9@mail.gmail.com> <1242230076.2583.12.camel@flatline.devel.redhat.com> Message-ID: <3d22fc520905131017v30ed8e03wf449502f0c6235f2@mail.gmail.com> On Wed, May 13, 2009 at 8:54 AM, James Laska wrote: > On Tue, 2009-05-12 at 14:44 -0700, Aldo Foot wrote: >> On Tue, May 12, 2009 at 11:58 AM, Jeremy Katz wrote: >> > On Tuesday, May 12 2009, Aldo Foot said: >> >> Looking at this article: ?http://kbase.redhat.com/faq/docs/DOC-5511 >> >> >> >> What is the meaning or purpose of the "01" in the lines >> >> ? ? ?part pv.01 --size=1 --grow >> >> ? ? ?volgroup vg_root pv.01 >> >> Is it an arbitrary number to give an id to the VG? >> > >> > Yes, it's purely an id for mapping the VG to a specific PV. ?Which >> > becomes needed as you have multiple volume groups >> >> Thanks for replying. >> >> This small detail is not documented anywhere I look. There is no >> reference to it by the output of the LVM commands either. So, is this >> something used only during the time kickstart is running? >> >> All LMV examples on kickstart that I've seen involved only one physical >> disk. >> Now, say that I have three HDDs and I have this in the ks.cfg: >> ? ? ? part pv.11 - -size=100 - -ondisk=hda >> ? ? ? part pv.12 - -size=200 - -ondisk=hdb >> ? ? ? part pv.13 - -size=300 - -ondisk=hdc >> What would be the correct syntax to create the Volume Group? >> I'm thinking maybe >> ? ? ? volgroup bigVG - -pesize=789 pv.1113 >> with the "pv.1113" pointing to what's specified in the previous part commands >> showing the range 11 through 13. Is this accurate? > > In the example you note, to create a volume group of the 3 partitions > you would do: > > volgroup bigVG --pesize=789 pv.11 pv.12 pv.13 > > For additional information on the volgroup kickstart command, refer to > http://fedoraproject.org/wiki/Anaconda/Kickstart. > > Thanks, > James It makes sense. I went to the link and read the doc and saw that the same syntax is used to setup raids. I had seen the doc, but didn't occur to me to use "pv.11 pv.12 pv.13". Thank you very much for the tips. ~af From swygue at rodhouse.org Wed May 20 14:29:15 2009 From: swygue at rodhouse.org (Rodrique Heron) Date: Wed, 20 May 2009 10:29:15 -0400 Subject: What does --pesize=32768 means? Message-ID: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> A Jr. Admin ask me today the meaning of --pesize in the kickstart config and I realized I really don't know what it means, and why I am I using it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From skvidal at fedoraproject.org Wed May 20 14:31:00 2009 From: skvidal at fedoraproject.org (Seth Vidal) Date: Wed, 20 May 2009 10:31:00 -0400 (EDT) Subject: What does --pesize=32768 means? In-Reply-To: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> References: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> Message-ID: On Wed, 20 May 2009, Rodrique Heron wrote: > A Jr. Admin ask me today the meaning of --pesize in the kickstart config and I realized I really don't know what it > means, and why I am I using it. Physical Element Size See the vgcreate man page or just google it. -sv From bjs at redhat.com Wed May 20 14:36:51 2009 From: bjs at redhat.com (Bryan J Smith) Date: Wed, 20 May 2009 10:36:51 -0400 Subject: What does --pesize=32768 means? In-Reply-To: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> References: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> Message-ID: <1242830211.16384.331.camel@localhost.localdomain> On Wed, 2009-05-20 at 10:29 -0400, Rodrique Heron wrote: > A Jr. Admin ask me today the meaning of --pesize in the kickstart > config and I realized I really don't know what it means, and why I am > I using it. Physical Extents (PE) are 32KiB: http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html "--pesize= ? Set the size of the physical extents" -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From bjs at redhat.com Wed May 20 14:40:15 2009 From: bjs at redhat.com (Bryan J Smith) Date: Wed, 20 May 2009 10:40:15 -0400 Subject: What does --pesize=32768 means? In-Reply-To: <1242830211.16384.331.camel@localhost.localdomain> References: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> <1242830211.16384.331.camel@localhost.localdomain> Message-ID: <1242830415.16384.334.camel@localhost.localdomain> On Wed, 2009-05-20 at 10:36 -0400, Bryan J Smith wrote: > Physical Extents (PE) are 32KiB: > http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html > "--pesize= ? Set the size of the physical extents" Or is that in sectors? So 32768 would actually be 16MiB (assuming 512 bytes/sector)? The Kickstart manual isn't clear on that. -- Bryan P.S. Am I correct in assuming that the 65534 number of extents limit per logical volume (LV) is a 32-bit limitation? Or it is absolute (64-bit too)? -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From swygue at rodhouse.org Wed May 20 14:50:10 2009 From: swygue at rodhouse.org (Rodrique Heron) Date: Wed, 20 May 2009 10:50:10 -0400 Subject: What does --pesize=32768 means? In-Reply-To: <1242830415.16384.334.camel@localhost.localdomain> References: <1a5f1a2d0905200729p3922b684if852bcfc354ae920@mail.gmail.com> <1242830211.16384.331.camel@localhost.localdomain> <1242830415.16384.334.camel@localhost.localdomain> Message-ID: <1a5f1a2d0905200750w773fa34at13e92112f7fb95f3@mail.gmail.com> On Wed, May 20, 2009 at 10:40 AM, Bryan J Smith wrote: > On Wed, 2009-05-20 at 10:36 -0400, Bryan J Smith wrote: > > Physical Extents (PE) are 32KiB: > > > http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html > > "--pesize= ? Set the size of the physical extents" > > Or is that in sectors? > So 32768 would actually be 16MiB (assuming 512 bytes/sector)? > The Kickstart manual isn't clear on that. > > -- Bryan > > P.S. Am I correct in assuming that the 65534 number of extents limit > per logical volume (LV) is a 32-bit limitation? Or it is absolute > (64-bit too)? Thanks Bryan, this was the answer I was looking for. I should have asked the question a better way. I know that pesize means physical extents, but I wasn't sure where the 32768 number came from. If its indeed in 512 bytes, then it makes perfect sense. Thanks again -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernasconi.pablo at gmail.com Fri May 22 18:58:25 2009 From: bernasconi.pablo at gmail.com (Pablo Bernasconi) Date: Fri, 22 May 2009 15:58:25 -0300 Subject: tar.gz installation Message-ID: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> Hi everyone, I ve just subscribed to the list. I have little experience in doing kickstart files and I have a problem to solve. I need to install a blabla.tar.gz by the kickstart file. Anyone could help me??? How do I move the tar.gz file to the system so then in the %post section (I supouse) do: tar -xvzf blabla.tar.gz ./configure make make install Thank you very much!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From chip.shabazian at bankofamerica.com Fri May 22 19:07:13 2009 From: chip.shabazian at bankofamerica.com (Shabazian, Chip) Date: Fri, 22 May 2009 12:07:13 -0700 Subject: tar.gz installation In-Reply-To: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> References: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> Message-ID: If the system is up on the network, you can use wget to copy the tar.gz file to the system, then run your install. Alternatively, you can always package your .tar.gz file into an RPM. That would be the best way to go. Chip From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Pablo Bernasconi Sent: Friday, May 22, 2009 11:58 AM To: kickstart-list at redhat.com Subject: tar.gz installation Hi everyone, I ve just subscribed to the list. I have little experience in doing kickstart files and I have a problem to solve. I need to install a blabla.tar.gz by the kickstart file. Anyone could help me??? How do I move the tar.gz file to the system so then in the %post section (I supouse) do: tar -xvzf blabla.tar.gz ./configure make make install Thank you very much!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjs at redhat.com Fri May 22 19:54:14 2009 From: bjs at redhat.com (Bryan J Smith) Date: Fri, 22 May 2009 15:54:14 -0400 Subject: tar.gz installation In-Reply-To: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> References: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> Message-ID: <1243022054.4102.13.camel@localhost.localdomain> On Fri, 2009-05-22 at 15:58 -0300, Pablo Bernasconi wrote: > Hi everyone, > I ve just subscribed to the list. I have little experience in doing > kickstart files and I have a problem to solve. > I need to install a blabla.tar.gz by the kickstart file. Anyone could > help me??? > How do I move the tar.gz file to the system so then in the %post > section (I supouse) do: > tar -xvzf blabla.tar.gz > ./configure > make > make install > Thank you very much!!! Three mechanisms: 1. Create a real RPM out of the tarball, so it's under RPM management 2. Stuff the tarball in a simple RPM (files only) so it's installed to the system already, ready-to-be-extracted 3. Put the tarball on a HTTP server, then do a "curl -O http://" to fetch it during %post #1 and #3 are the most common. I wouldn't recommend #2, it's probably just better to do #1 (or #3 if you're not going to do it right). If you have Spacewalk / RHN Satellite Server, the /pub URL on the server itself is available (/var/www/html/pub). You can also use a configuration channel to push down any required post-installation and/or configuration files/scripts for it. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From mrose at n-able.com Fri May 22 19:57:27 2009 From: mrose at n-able.com (Matt Rose) Date: Fri, 22 May 2009 15:57:27 -0400 Subject: tar.gz installation In-Reply-To: <1243022054.4102.13.camel@localhost.localdomain> References: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> <1243022054.4102.13.camel@localhost.localdomain> Message-ID: <4A1703A7.3050306@n-able.com> Bryan J Smith wrote: > On Fri, 2009-05-22 at 15:58 -0300, Pablo Bernasconi wrote: > >> Hi everyone, >> I ve just subscribed to the list. I have little experience in doing >> kickstart files and I have a problem to solve. >> I need to install a blabla.tar.gz by the kickstart file. Anyone could >> help me??? >> How do I move the tar.gz file to the system so then in the %post >> section (I supouse) do: >> tar -xvzf blabla.tar.gz >> ./configure >> make >> make install >> Thank you very much!!! >> > > Three mechanisms: > > 1. Create a real RPM out of the tarball, so it's under RPM management > > Do yourself a favour, and use this method. If this is something you're going to want to install on more than one server, make an RPM out of it. It's really not hard, and you'll save yourself so many headaches in the long run. Matt > > > -- > Bryan J Smith Senior Consultant Red Hat GPS SE US > mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) > mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) > -------------------------------------------------------- > You already know Red Hat as the entity dedicated to 100% > no-IP-strings-attached, community software development. > But do you know where CIOs rate Red Hat versus other > software and services firms for their own, direct needs? > It's no comparison: http://www.redhat.com/promo/vendor/ > > _______________________________________________ > 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 bjs at redhat.com Fri May 22 20:08:52 2009 From: bjs at redhat.com (Bryan J Smith) Date: Fri, 22 May 2009 16:08:52 -0400 Subject: tar.gz installation In-Reply-To: <4A1703A7.3050306@n-able.com> References: <272d5daf0905221158v71743510k56213ca65c2294c3@mail.gmail.com> <1243022054.4102.13.camel@localhost.localdomain> <4A1703A7.3050306@n-able.com> Message-ID: <1243022932.4102.27.camel@localhost.localdomain> On Fri, 2009-05-22 at 15:57 -0400, Matt Rose wrote: > Do yourself a favour, and use this method. If this is something > you're going to want to install on more than one server, make an RPM > out of it. It's really not hard, and you'll save yourself so many > headaches in the long run. And submit your work to at least RPMForge, if it's a publicly available tarball. Also look there if someone already has one. If it's just data, then there's little excuse not to use RPM to package it, possibly leverage a configuration management system for recipes to help manage it. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From bernasconi.pablo at gmail.com Sat May 23 18:07:22 2009 From: bernasconi.pablo at gmail.com (Pablo Bernasconi) Date: Sat, 23 May 2009 15:07:22 -0300 Subject: tar.gz installation Message-ID: <272d5daf0905231107v70e61ccdhba89f7d1eee07267@mail.gmail.com> So I have to do an rpm with the tar.gz inside, but the only thing that the rpm has to do is to uncompress the tar.gz to a local directory, and then in the post script I do: ./configure make make install etc ???? This is the "nice" way?? Thank you!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjs at redhat.com Sat May 23 18:15:13 2009 From: bjs at redhat.com (Bryan J Smith) Date: Sat, 23 May 2009 14:15:13 -0400 Subject: tar.gz installation In-Reply-To: <272d5daf0905231107v70e61ccdhba89f7d1eee07267@mail.gmail.com> References: <272d5daf0905231107v70e61ccdhba89f7d1eee07267@mail.gmail.com> Message-ID: <1243102513.4102.78.camel@localhost.localdomain> On Sat, 2009-05-23 at 15:07 -0300, Pablo Bernasconi wrote: > So I have to do an rpm with the tar.gz inside, but the only thing that > the rpm has to do is to uncompress the tar.gz to a local directory, > and then in the post script I do: > ./configure > make > make install > etc > ???? > This is the "nice" way?? No, that was the #2 I was talking about, and it's not recommended. Instead, do #1 -- build a real RPM. Alternatively, #3, just have the %post download from a URL via curl, but this is not RPM. A SPEC file has source, configure and build sections and it what is used to create RPMs -- both a source RPM and usable, binary RPMs. Dude, here's the deal -- what is the program? It may already have a SPEC file out at RPMForge. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From debian at herakles.homelinux.org Sun May 24 10:07:21 2009 From: debian at herakles.homelinux.org (John Summerfield) Date: Sun, 24 May 2009 18:07:21 +0800 Subject: tar.gz installation In-Reply-To: <272d5daf0905231107v70e61ccdhba89f7d1eee07267@mail.gmail.com> References: <272d5daf0905231107v70e61ccdhba89f7d1eee07267@mail.gmail.com> Message-ID: <4A191C59.5030605@herakles.homelinux.org> Pablo Bernasconi wrote: > So I have to do an rpm with the tar.gz inside, but the only thing that the > rpm has to do is to uncompress the tar.gz to a local directory, and then in > the post script I do: > > ./configure > make > make install > etc > > ???? > > This is the "nice" way?? No, The proper way is to get all the files under rpm management. To do that, you build once (for each architecture), then install the rpm. The best way to build it is to use the rpmbuild command. For a reasonably simple example to follow, download the fetchmail source rpm and learn how that's built. By creating an rpm, you avoid the need to have all the build tools and libraries installed on each target machine, and save the time it takes to build it each time. Since you're using kickstart, I expect you have a reasonable number to install. If you don't want to rejig the install media (I wouldn't), then installing the rpm in the kickstart %post section is reasonable. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) From bernasconi.pablo at gmail.com Sun May 24 22:22:23 2009 From: bernasconi.pablo at gmail.com (Pablo Bernasconi) Date: Sun, 24 May 2009 19:22:23 -0300 Subject: tar.gz installation Message-ID: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> Sorry, I thinked that I said the name of the program. I have to install Fedora with Asterisk and all of its components. I know that there is an Asterisk 1.6.0.5 and Asterisk 1.6.1.rc1 rpm version. I have watch the spec files, and because Asterisk has to many dependencies, I thaught it was easier to install it by the %post script. I have to install the 1.6.0.6 version... Thank you!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjs at redhat.com Sun May 24 22:46:49 2009 From: bjs at redhat.com (Bryan J Smith) Date: Sun, 24 May 2009 18:46:49 -0400 Subject: tar.gz installation In-Reply-To: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> References: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> Message-ID: <1243205209.4102.99.camel@localhost.localdomain> On Sun, 2009-05-24 at 19:22 -0300, Pablo Bernasconi wrote: > Sorry, I thinked that I said the name of the program. > I have to install Fedora with Asterisk and all of its components. > I know that there is an Asterisk 1.6.0.5 and Asterisk 1.6.1.rc1 rpm > version. > I have watch the spec files, and because Asterisk has to many > dependencies, I thaught it was easier to install it by the %post > script. The more complex the software, the more reason it should be RPM packaged for sheer management reasons. Asterisk is a perfect example. Especially if you are deploying it en masse via a kickstart. Otherwise, when you go to upgrade, you'll really hate life. ;) > I have to install the 1.6.0.6 version... Here's a concept. Download the SRPMS (.src.rpm) of the Asterisk 1.6.0.5 version, install it**, do the minimal edits to the SPECS/asterisk.spec** file for it to point to 1.6.0.6, plop the Asterisk 1.6.0.6 tarball into SOURCES/**, and give it a try. I'm sorry, it's _so_easy_ to rebuild for a simple revision/patch-level change when the SPEC file already exists. Learn how to do this. -- Bryan **NOTE: By default, it will install to /usr/src/redhat. You can change this behavior with a .rpmmacros file and the %topdir directive, so you can build elsewhere (including as a regular user instead of root). Take the time to learn basic RPM building, especially when you already have a SPEC file that is virtually "ready-to-use." That makes it extremely easy. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From debian at herakles.homelinux.org Tue May 26 01:31:14 2009 From: debian at herakles.homelinux.org (John Summerfield) Date: Tue, 26 May 2009 09:31:14 +0800 Subject: tar.gz installation In-Reply-To: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> References: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> Message-ID: <4A1B4662.2040305@herakles.homelinux.org> Pablo Bernasconi wrote: > Sorry, I thinked that I said the name of the program. > I have to install Fedora with Asterisk and all of its components. > I know that there is an Asterisk 1.6.0.5 and Asterisk 1.6.1.rc1 rpm version. > > I have watch the spec files, and because Asterisk has to many dependencies, If those dependencies are not met, it's unlikely to work at all. Properly built, an rpm will specify those dependencies and ensure that they are met. st -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) From mikejennings at gmail.com Tue May 26 05:02:01 2009 From: mikejennings at gmail.com (Mike Jennings) Date: Tue, 26 May 2009 00:02:01 -0500 Subject: tar.gz installation In-Reply-To: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> References: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> Message-ID: On May 24, 2009, at 5:22 PM, Pablo Bernasconi wrote: > Sorry, I thinked that I said the name of the program. > I have to install Fedora with Asterisk and all of its components. > I know that there is an Asterisk 1.6.0.5 and Asterisk 1.6.1.rc1 rpm > version. > I have watch the spec files, and because Asterisk has to many > dependencies, I thaught it was easier to install it by the %post > script. > > I have to install the 1.6.0.6 version... > > Thank you!! > _____________________________________________ I believe dags repo has everything you need for astericks. You'll just need to add his repo into your kickstart file then put astericks in the packages list. Dag.wieers.com. As I recall. From bjs at redhat.com Tue May 26 10:07:50 2009 From: bjs at redhat.com (Bryan J Smith) Date: Tue, 26 May 2009 06:07:50 -0400 Subject: tar.gz installation In-Reply-To: <4A1B4662.2040305@herakles.homelinux.org> References: <272d5daf0905241522u4e634be9i96d6360f4241a595@mail.gmail.com> <4A1B4662.2040305@herakles.homelinux.org> Message-ID: <1243332470.4102.161.camel@localhost.localdomain> On Tue, 2009-05-26 at 09:31 +0800, John Summerfield wrote: > If those dependencies are not met, it's unlikely to work at all. > Properly built, an rpm will specify those dependencies and ensure that > they are met. Correct. Remember, we're kickstarting many systems here. So we do want the original poster to recognize the value in doing it proper. On Tue, 2009-05-26 at 00:02 -0500, Mike Jennings wrote: > I believe dags repo has everything you need for astericks. You'll just > need to add his repo into your kickstart file then put astericks in > the packages list. > Dag.wieers.com. As I recall. I would _never_ recommend directly tapping a 3rd party repository in a network, and especially not a corporate one using kickstarts. I would at least create an internal repository of the 3rd party repository. That will greatly reduce Internet bandwidth requirements, as well as control what versions you are upgrading to (I won't common on DAG's release model). This should also be done for official Fedora releases itself as well. More anal -- i.e., this is what I have always done in my professional career -- I would selectively rebuild RPMs into my own repository. As an independent consultant prior, it meant I wasn't liable for redistribution of possibly questionable licensed packages. I don't think asterisk itself is one, but one has to be careful with some of the codec and other options. I'd fetch the software and build from SPEC file on-site at the customer, and only at the customer's request. I.e., the liability is on the customer, not myself. If I'm merely redistributing 3rd party packages, then there could be other liabilities on myself, especially now given who I work for. Just considerations, both technical and legal. -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/ From bernasconi.pablo at gmail.com Fri May 29 20:26:03 2009 From: bernasconi.pablo at gmail.com (Pablo Bernasconi) Date: Fri, 29 May 2009 17:26:03 -0300 Subject: THE WAY to copy files from the DVD to the computer??? Message-ID: <272d5daf0905291326v557147cek717396aecbd5116d@mail.gmail.com> Hi, I?m doing a *Fedora 10* distro, and in the %post section I need to copy some files (tar.gz, .conf, .php, etc) to the disk, so then I can make stuff with it... Which is THE WAY to mount the Cd-ROM and then copy some files?????? Thank you very much!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From chip.shabazian at bankofamerica.com Fri May 29 20:53:23 2009 From: chip.shabazian at bankofamerica.com (Shabazian, Chip) Date: Fri, 29 May 2009 13:53:23 -0700 Subject: THE WAY to copy files from the DVD to the computer??? In-Reply-To: <272d5daf0905291326v557147cek717396aecbd5116d@mail.gmail.com> References: <272d5daf0905291326v557147cek717396aecbd5116d@mail.gmail.com> Message-ID: If you are installing from CD, it's already mounted. Just do your stuff in the post using --no-chroot From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Pablo Bernasconi Sent: Friday, May 29, 2009 1:26 PM To: kickstart-list at redhat.com Subject: THE WAY to copy files from the DVD to the computer??? Hi, I?m doing a Fedora 10 distro, and in the %post section I need to copy some files (tar.gz, .conf, .php, etc) to the disk, so then I can make stuff with it... Which is THE WAY to mount the Cd-ROM and then copy some files?????? Thank you very much!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernasconi.pablo at gmail.com Fri May 29 22:21:57 2009 From: bernasconi.pablo at gmail.com (Pablo Bernasconi) Date: Fri, 29 May 2009 19:21:57 -0300 Subject: THE WAY to copy files from the DVD to the computer??? Message-ID: <272d5daf0905291521p7a949049s7f7b4f0195a69d99@mail.gmail.com> But how do I copy the files to the computer??? cp
/usr/src/ ???? where is the cd-rom mounted?? Thank you very much!! - *From*: "Shabazian, Chip" - *To*: Discussion list about Kickstart - *Subject*: RE: THE WAY to copy files from the DVD to the computer??? - *Date*: Fri, 29 May 2009 13:53:23 -0700 ------------------------------ If you are installing from CD, it?s already mounted. Just do your stuff in the post using --no-chroot *From:* kickstart-list-bounces redhat com [mailto:kickstart-list-bouncesredhat com] *On Behalf Of *Pablo Bernasconi *Sent:* Friday, May 29, 2009 1:26 PM *To:* kickstart-list redhat com *Subject:* THE WAY to copy files from the DVD to the computer??? Hi, I?m doing a *Fedora 10* distro, and in the %post section I need to copy some files (tar.gz, .conf, .php, etc) to the disk, so then I can make stuff with it... Which is THE WAY to mount the Cd-ROM and then copy some files?????? Thank you very much!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From chip.shabazian at bankofamerica.com Fri May 29 23:37:28 2009 From: chip.shabazian at bankofamerica.com (Shabazian, Chip) Date: Fri, 29 May 2009 16:37:28 -0700 Subject: THE WAY to copy files from the DVD to the computer??? In-Reply-To: <272d5daf0905291521p7a949049s7f7b4f0195a69d99@mail.gmail.com> References: <272d5daf0905291521p7a949049s7f7b4f0195a69d99@mail.gmail.com> Message-ID: Make this your %post: %post --no-chroot sleep 9999999 Then when the kickstart gets to the %post, it will just sit there. Open a terminal (alt-f2) and you'll see where both the cd and filesystem is mounted. You should then manually do your steps to make sure they work, and if so, put them in your kickstart. From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Pablo Bernasconi Sent: Friday, May 29, 2009 3:22 PM To: kickstart-list at redhat.com Subject: Re: THE WAY to copy files from the DVD to the computer??? But how do I copy the files to the computer??? cp /usr/src/ ???? where is the cd-rom mounted?? Thank you very much!! * From: "Shabazian, Chip" * To: Discussion list about Kickstart * Subject: RE: THE WAY to copy files from the DVD to the computer??? * Date: Fri, 29 May 2009 13:53:23 -0700 ________________________________ If you are installing from CD, it's already mounted. Just do your stuff in the post using --no-chroot From: kickstart-list-bounces redhat com [mailto:kickstart-list-bounces redhat com] On Behalf Of Pablo Bernasconi Sent: Friday, May 29, 2009 1:26 PM To: kickstart-list redhat com Subject: THE WAY to copy files from the DVD to the computer??? Hi, I?m doing a Fedora 10 distro, and in the %post section I need to copy some files (tar.gz, .conf, .php, etc) to the disk, so then I can make stuff with it... Which is THE WAY to mount the Cd-ROM and then copy some files?????? Thank you very much!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjs at redhat.com Fri May 29 23:53:49 2009 From: bjs at redhat.com (Bryan J Smith) Date: Fri, 29 May 2009 19:53:49 -0400 Subject: THE WAY to copy files from the DVD to the computer??? In-Reply-To: <272d5daf0905291326v557147cek717396aecbd5116d@mail.gmail.com> References: <272d5daf0905291326v557147cek717396aecbd5116d@mail.gmail.com> Message-ID: <1243641229.4581.121.camel@localhost.localdomain> On Fri, 2009-05-29 at 17:26 -0300, Pablo Bernasconi wrote: > Hi, > I?m doing a Fedora 10 distro, and in the %post section I need to copy > some files (tar.gz, .conf, .php, etc) to the disk, so then I can make > stuff with it... > Which is THE WAY to mount the Cd-ROM and then copy some files?????? > Thank you very much!!! On Fri, 2009-05-29 at 13:53 -0700, Shabazian, Chip wrote: > If you are installing from CD, it?s already mounted. Just do your > stuff in the post using --no-chroot On Fri, 2009-05-29 at 19:21 -0300, Pablo Bernasconi wrote: > But how do I copy the files to the computer??? > cp /usr/src/ ???? > where is the cd-rom mounted?? > Thank you very much!! E.g., # Post section: no chroot %post --nochroot # cd to new root (/) cd /mnt/sysimage # copy file from root of installation tree to new install cp /mnt/source/file /mnt/sysimage/file # Post section: chroot (/mnt/sysimage) %post # cd to new root (/) cd / # do commands under chroot (blah)... -- Bryan J Smith Senior Consultant Red Hat GPS SE US mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (non-RH/ext to Blackberry) -------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/