This is a simple repo to compare creating a bootable iso image with standard linux utilities, notably genisoimage, and go-diskfs.
To compare, you do the following:
- Clone this repo to get all the files you need.
- Get the necessary binaries for booting and place them in
files/. - Generate an iso image using the standard linux utilities.
- Generate an iso image using go-diskfs.
To keep it simple, all you need to do is:
make generate
This will:
- Get all of the binary dependencies - to run separately,
make deps - Build the go builder - to run separately,
make build - Generate an image
isos/linux.isovia genisoimage - to run separately,make generate-linux - Generate an image
isos/go.isovia the go binary - to run separately,make generate-go
To run either image in qemu:
make run-go
make run-linux