Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Can you include the output of dmesg after attaching your sd card? – echox Oct 19 '10 at 21:54
Are you doing it as root? – Falmarri Oct 19 '10 at 22:28

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>
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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