Operating System - Linux
1831277 Members
2699 Online
110022 Solutions
New Discussion

chroot error during install...

 
K.C. Chan
Trusted Contributor

chroot error during install...

all,
using redhat kickstart to install redhat9. This is command in kickstart config file which has the error:
%post
chroot /mnt/sysimage
The error is: "chroot: cannot change root directory to /mnt/sysimage: no such file or directory", I have check by going into alt+f2 and running the command manually while the post install is taking place. chroot command works. I don't know why it failed after %post? does any one have any idea? Thanks.


Reputation of a thousand years can be determined by the conduct of an hour
1 REPLY 1
K.C. Chan
Trusted Contributor

Re: chroot error during install...

all, Please ignore this post. After RTFM, it turns out that by default it's already in chroot mode.
Reputation of a thousand years can be determined by the conduct of an hour