Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.