Based upon https://www.linuxfromscratch.org/lfs/view/stable-systemd/ version 12.2 This set of scripts does not use fdisk or mke2fs, those need to be run and formatted ...
Enable the Linux terminal on any Android device, and you can create or practice your bash scripting on the go.