Since I’ve been playing with my AutoYAST setup for the last few days, working out the kinks (for example SLES10 not being able to install into the MBR), I needed a way to zap the MBR (as in remove grub to see whether or not the installation would install a new loader). So after quickly googling, I found this:
1 |
dd if=/dev/zero of=/dev/hda bs=512 count=1 |
That actually does the trick. The loader as well as the partition table are gone after wards!
One thought to “Reset Master Boot Record (MBR)”