LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-01-2008, 11:36 AM   #1
nocif
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
anaconda kickstart problem


Hi there,

I am trying to customize a Linux distrib based on CentOS 5. I have created a kickstart config file and added some folders to the ISO.

What I want to do is that after the install is finished I get the added folders in the ISO to get copied to my new installed system. For that I added a %post --nochroot section to the kickstart script where I try to mount again the cdrom and get the files copied :
%post --nochroot
mount /dev/cdrom /mnt/source
cp -R /mnt/source/MyFolder /mnt/sysimage/root
umount /dev/cdrom

But after the install I don't find the folder I have copied. I am assuming that I have messed something in the mount.
Does anybody know to which folder is the cdrom mounted during installation (if it is mounted somewhere by anaconda) or the name of the device to mount.

Thanks to all,
Nacef
 
Old 02-15-2008, 12:49 PM   #2
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
hmmm, did you ever get this issue solved?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
anaconda-ks.cfg problem on RHEL5 matrol Red Hat 0 12-09-2007 03:02 AM
Strange problem loading Anaconda bluetxxth Fedora 9 09-29-2007 09:14 AM
Revisor/Anaconda Problem? MikeyCarter Fedora 0 07-22-2007 09:34 AM
anaconda kickstart zkillz Fedora - Installation 0 11-07-2006 07:22 PM
Fedora Anaconda Problem froZenX Linux - Newbie 3 11-21-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration