I am just getting started with bootable removable media (DVD, USB, etc) but I have no idea how to make my own. I've reading up on how to make bootable ISOs and this post describes a process by which you extract the boot sector from an already-bootable DVD and inject it into another. However, at no point do you specify what to load once the DVD has booted.
As an initial trial, for example, I wish to run a simple
bash shell from a bootable DVD or USB. How can I go about doing this? My initial thought would be to copy a
bash binary to the media and then follow the above post's instructions for making it bootable. Is this all that is necessary? Surely the boot sector needs to know what to boot AND what format the executable is too? (
PE, etc). Has anyone (reading this) done this kind of thing before?