guye1296 / alpine-make-vm-image

Make customized Alpine Linux disk image for virtual machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alpine-make-mbr

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.

Why

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.

Usage

Use the wrapper script make-image.sh in order to create a bootable image:

./make-image [IMAGE_SIZE] [IMAGE_NAME]

About

Make customized Alpine Linux disk image for virtual machines

License:MIT License


Languages

Language:Shell 98.3%Language:Dockerfile 1.2%Language:Makefile 0.6%