Thank you for the responses to my kickstart query. After some additional searching and testing, I found this link below which provides the answer I needed. http://nixcraft.com/centos-rhel-fedora/13739-how-mount-cdrom-kickstart-post.html Paul ï "Can't is the cancer of happen." - Charlie Sheen On Mar 16, 2011, at 09:52 AM, m.roth@xxxxxxxxx wrote:
Mr. Paul M. Whitney wrote: > I am at my wits end here. I am trying to create a custom RHEL 5.6 build. > At the end of the install in my ks.cfg file I have a section for the post > installation. I am trying to copy a file from the DVD to Root's home > directory. Here is the snippit I have: > > %post --nochroot > > ISO9660_DEV=`dmesg | grep -i iso9660 | head -1 | cut -d\ -f4` > DEV_NAME=${ISO9660_DEV%,} A little complicated there... First, having just put a DVD into my drive, I observed that there is *no* iso9660 line in dmesg until it's mounted. And then, it's from selinux that I get SELinux: initialized (dev hda, type iso9660), uses genfs_contexts Not sure what the cut -d\ -f4 is: is that a space, a tab, or what, after the \? You might want to put df in the ks file, and see what it sees. <snip> mark -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list