This is a fork of alpine-make-vm-image
that can run inside WSL2
and a privileged Docker container.
As for now it only supports the -s
option.
alpine-make-vm-image uses qemu-nbd
which requires an NBD
device that is nonexistent in WSL2
.
This fork uses the available loop
device instead to make a bootable Alpine MBR.
Use the wrapper script make-image.sh
in order to create a bootable image:
./make-image [IMAGE_SIZE] [IMAGE_NAME]