Created
April 20, 2016 12:47
-
-
Save hasherezade/45d63d8e566e69693738672b455300b9 to your computer and use it in GitHub Desktop.
Script to make a bootable CD with your own bootloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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