The helper script creates an AMD64 Filesystem image, that is based on TinyCore linux distro (http://tinycorelinux.net/). To simply create a bootable image, run
wget https://raw.githubusercontent.com/jayay98/qemu-amd64fs-hello/main/run.sh
chmod +x ./run.sh
./run.sh
To launch the output disk image after creation:
LAUNCH=2 ./run.sh
To launch the QEMU with TinyCore kernel and modified initramdisk:
LAUNCH=1 ./run.sh
For debugging purpose, if you wish to keep all the intermediate files:
CLEAN=0 ./run.sh