2

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.

dawud
  • 15,504
Kwakou
  • 21

1 Answers1

0

Your dd needs to damage the partitions used on the root partition. The damage on your boot partition can be completely invisible until you try to mount it.

Note that this could be useful to begin your tests though. Try to mount /boot!