The vi binary is missing in the initrd.img of Red Hat Enterprise Linux 9.0
Issue
- The
vi
command cannot work in the initial ram image generated bydracut
. - It happens with
initrd.img
for the installation and theinitramfs-*.img
generated during and after the installation. /usr/bin/vi
is just a wrapper shell script to run/usr/libexec/vi
./usr/bin/vi
is available in the initial ram image, but/usr/libexec/vi
is not.
Environment
Red Hat Enterprise Linux 9.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.