Skip to content

Instantly share code, notes, and snippets.

@hasherezade
Created April 20, 2016 12:47
Show Gist options
  • Save hasherezade/45d63d8e566e69693738672b455300b9 to your computer and use it in GitHub Desktop.
Save hasherezade/45d63d8e566e69693738672b455300b9 to your computer and use it in GitHub Desktop.
Script to make a bootable CD with your own bootloader
# requires: xorriso
# copy your bootloader as: cdcontent/boot/loader.sys
prog="xorriso -as mkisofs"
$prog -R -J -c boot/bootcat \
-b boot/loader.sys -no-emul-boot -boot-load-size 1 \
-o ./bootable.iso ./cdcontent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment