Skip to content

Instantly share code, notes, and snippets.

@vrosnet
Forked from hasherezade/makecd.sh
Created June 2, 2016 07:36
Show Gist options
  • Save vrosnet/f47c68bd7769330c03d367acafcdbe80 to your computer and use it in GitHub Desktop.
Save vrosnet/f47c68bd7769330c03d367acafcdbe80 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