Red Hat Bugzilla – Bug 8018
No local and remote filesystem access during kickstart %post installation
Last modified: 2015-01-07 18:40:19 EST
Why is it I am not able to access previouly mounted file systems (local and
nfs) during the %post phase of a kick start installation?
The 2nd virtual terminal's bash prompt (alt + F2) has access to these file
systems during the entire install. Any reference to /mnt/source and
/mnt/sysimage fail during the %post phase but work great in the 2nd virtual
terminal. What is required for me to access these file systems?
Does the %post phase have the same root directory or has a chroot occurred?
Created attachment 47 [details]
Kickstart config file
If a chroot has occurred It has happened unbeknownst to me. Here is my ks.cfg
%post happens in a chrooted environment, chroot /mnt/sysimage I believe. Your
system is now found at /.
If you need a non-chrooted environment for %post (but be careful!), use
My instructor Dax has also set me straight on this. It would be nice if this was
in the docs though.
The kickstart process will actually be documented quite well in the next
release, so look forward to that.