Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to securely delete the hdd using dd because I intend to sell it. Using the buffer will speed up the process. I can't find out the size though:

arno@arno-X55A:~$ hdparm -i /dev/sdb
/dev/sdb: Permission denied
arno@arno-X55A:~$ sudo hdparm -i /dev/sdb
[sudo] password for arno: 

/dev/sdb:
 HDIO_GET_IDENTITY failed: Invalid argument
share|improve this question

1 Answer 1

up vote 1 down vote accepted

To find out, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

sudo hdparm -I /dev/sdb1

Replace sdb1 with your hard drive name

*it has to be an uppercase I

enter image description here

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.