Oh if booting by MBR then write code in a few bytes to do it load sector one and then jump to that code. In sector one, put your original MBR. Of course it will confuse partition utilities if you also dont write the partition table also at the end of this sector but that's also doable. It will still confuse MBR utilities but that's the price for this method.
As for the UEFI idea, disabling secure boot and going that route is interesting but I imagine building a proper UEFI module which will chainload the original UEFI module is no easy task.
Both of these methods although early in the boot process are more difficult than writing the kernel driver.
Of all ideas so far, many are novelty or impractical or lead to certain subtle disfunctions except the kernel driver. If you want a frozen clock not just a reset on boot one, then taking out the battery is the way to go. Soldering an arduino to your mainboard in a good machine or playing with MBR or UEFI loaders or BIOS modding would certainly lead to an article, a video or source code I'd love to see
|