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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.