<div dir="ltr">Hello All:<div>Â Â How to execute shell before rootfs mounted on CentOS7.<br></div><div>Â Â On CentOS6, we can modify init shell in initramfs.img to do something we need. But on CentOS7 my beloved init has be changed to systemd and systemd has no shell script.</div></div>