I dded the hard drive with zeros as a simple way to clear out the sensitive data (yes, I'm aware there are better ways, but it was fast and easy). I am now attempting to install Ubuntu Server 12.04, but I run into an issue when I get to installing GRUB.

I issue grub-install /dev/sda and get a fatal error back.

My question is, are the two things related or "happy" coincidences?

If the two are related, is there a good way to solve the issue?


The command

grub-install /dev/sda

attempts to install GRUB in the Master Boot Record (MBR) of /dev/sda.

The problem is: A freshly zeroed hard drive doesn't have an MBR!

To create an MS-DOS partition table / MBR, use the following command:

parted /dev/sda mklabel msdos
  • Doh! Thanks. Let me verify this works and the vote is yours. – Dan Mar 31 '13 at 4:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.