actually you erase partition with boot data  kernel  initrd  grub config  etc here  not just boot sector if you want to make the server unbootable you can remove grub from mbr  here is bash code which does that 