Search found 9 matches

by jakev383
2008/03/29 15:04:01
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

Okay, my kid's asleep so I have some time to post this: Here's the link for the patched stage2.img file: http://v2gnu.com/filemgmt/singlefile.php?lid=26 In my kickstart, here's what I have that works (it creates a dir called /var/mystuff and then untar/gzip's the archive file "me.tar.gz" from the in...
by jakev383
2008/03/29 14:25:55
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

For those that are interested, I solved the problem and will post the solution in a little bit. I'm waiting on the stage2.img file to upload to my webserver before I post the instructions and a link to the fixed file. I'll do that later today.
Thanks for all the suggestions!
by jakev383
2008/03/29 03:01:05
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

Well, I ended up changing anaconda and rebuilding stage2.img. Now during my kickstart I can see the file, but still can't complete the task. If I use %post and these commands: mkdir -p $INSTALL_ROOT/var/mystuff touch $INSTALL_ROOT/var/mystuff/test cd $INSTALL_ROOT/var/mystuff tar xzvf /mnt/source/me...
by jakev383
2008/03/28 18:51:00
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

[quote] gerald_clark wrote: Are you sure the CD is hda? It may be hda during the install but change to hdc or something else during %post.[/quote] I'm not positive, no. Using hda worked for Cent4 kickstarts though, so I assumed (I know, U, Me, and all that) that it was the same in Cent5. I did come ...
by jakev383
2008/03/28 17:57:16
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

Sorry, was ahead of myself. I tried both of those mount commands with no success (not together).
I'm still stumped. I'm going to try and watch the background info when installing and see if there's anything useful in there.
by jakev383
2008/03/28 14:56:44
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

Hmm. None of them worked: cp -R /root/me* $INSTALL_ROOT/var/mystuff/me2.tar.gz cp cdrom:/me.tar.gz $INSTALL_ROOT/var/mystuff/ cp -R /me* $INSTALL_ROOT/var/mystuff/ I even tried: mkdir /mnt/source mount /dev/hda /mnt/source mount /tmp/cdrom /mnt/source cp /mnt/source/me.tar.gz $INSTALL_ROOT/var/mystu...
by jakev383
2008/03/28 13:54:45
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

Re: How to copy files from CD in kickstart to installed system?

[quote] gerald_clark wrote: Use %post instead of %post --nochroot. Then you will already be chrooted to the new installation.[/quote] Thanks - that got me the "test" file from the touch command. Can you tell me what the path would be to copy the me.tar.gz from from the root of the CD? I'm trying: cp...
by jakev383
2008/03/28 13:04:27
Forum: CentOS 5 - General Support
Topic: How to copy files from CD in kickstart to installed system?
Replies: 12
Views: 11550

How to copy files from CD in kickstart to installed system?

I'm creating a kickstart file that installs the packages I want. I also need to copy some files from the installation CD to the installed system during the kickstart process. I've tried copying the file (it's only 1) like this: %post --nochroot mkdir /mnt/source mount /dev/hda /mnt/source mount /tmp...
by jakev383
2008/02/25 23:10:45
Forum: CentOS 5 - Miscellaneous Questions
Topic: Changing splash.lss
Replies: 1
Views: 870

Changing splash.lss

Can someone point me in the right direction for changing the splash.lss file? I've created CentOS4 CD's in the past, but the same isolinux/splash.lss file does not work with the new Cent5 schema. Is there a spec listing somewhere that I am missing?
Thanks in advance!