2

I am having problems using fdisk to clear the partition table of my sd card. The sd card is identified in the /dev folder when inserted into the sd card reader, but when the following command in run:

fdisk /dev/sde

the response in the terminal is:

unable to open sde

I have also tried using sde1, which is the partition on the sd card, and it still failed. How do I fix this?

Michael Mrozek
  • 93,103
  • 40
  • 240
  • 233

1 Answers1

4

Like, Falmarri indicated in his comment, you are not running fdisk as root.

The easiest way to do this, is to run:

$ sudo fdisk <path-to-drive>
Stefan
  • 25,300