RE: Copying files from the cd under %post?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, you cannot do it in a chrooted environment.  If you are using Redhat 7.1
(possibly 7.0?) you can have both a  %post  and a  %post --nochroot
section.  I have never been able to get Redhat 6.2 to do both.  The CD is
mounted under /mnt/source (in the non-chroot env).  You cannot mount it in
two places at once {unless you use the --bind option in mount--which can
only be done on Redhat 7.1}.  You have to use the --nochroot option.  I
tried in 6.2 to --nochroot, and then  chroot /mnt/sysimage  but I could
never get that to work (possibly chroot wasn't available?).

Forrest


> -----Original Message-----
> From: Steve M Bibayoff [mailto:smb23@xxxxxxxxxxxxx]
> Sent: Thursday, July 26, 2001 4:24 PM
> To: kickstart list
> Subject: Copying files from the cd under %post?
> 
> 
> I know this could be done, I just don't want to waste any 
> cd's and time
> to figure out how to do it.
> 
> How do you copy files from the cd in the %post section?
> Do I need to mount the cd first? 
> Could I still be able to do it a chroot'ed enviroment?
> 
> TIA
> 
> Steve
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux