During installation, how to wipe out first 1MB of a bad disk to clear out the partition table/MBR?

Solution Verified - Updated -

Issue

  • There is a disk /dev/sda which contains some partitions and its required to wipe out the complete partition table as this machine needs to get re-installed.
  • How to make sure that disk contains no partition table and make it a raw disk for installation?

Environment

  • Red Hat Enterprise Linux 5, 6, and 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content