Hello,
it depends of used bootloader. Mostly it involves editing "boot.ini" file and place Linux kernel image, "Device Tree" file and Linux filesystem image (ziped) on SD card. All process is quite complex, for claryfing i propose to watch this tutorial:
Best regards