On 08.11.2022 23:12, Pascal Hambourg wrote:
Then you can wipe the boot image in the first 440 bytes of the MBR and
preserve the partition table with
dd if=/dev/zero of=/dev/sda count=1 bs=440
This leaves final 0x55aa signature which may fool BIOS into believing
there still *is* boot code.
IMO it is not worth wiping the core image sectors. They are useless
without the boot image.
Yes, but it is still better to get "no boot device found" from BIOS than
blank screen because boot code attempted to load some garbage and
silently crashed or looped.