I am running tests for MBR recovery on Red Hat Linux 7. I tried to intentionally erase the MBR with:
dd if=/dev/random of=/dev/sda bs=1 count=512
I can see with
fdisk -l /dev/sda
that the partition table is damaged but once I reboot, the system boots fine !
how can i manage to really damage the MBR sector?
PS: my installation is RHEL 7 with a separate /boot
partition (/dev/sda1
) and the rest of the system on LVM.