Comments - About XtraDB
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
mysql_install_db disables innodb (xtradb) when installing system tables.
You can simply comment out innodb-specific options, run mysql_install_db and uncomment them back.
Or you can run mysql_install_db with --no-defaults.
Perhaps, if you would've copied over your my.cnf after running mysql_install_db you would've never had this problem at all.