Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Hard drive installed as /dev/sdb1/, everything on that disk has been already saved onto another hard drive and now I need to empty the disk. When I reconnected the disk to the computer it's contents poped out on a window and I thought "this shouldn't be so different than windows and just selected the folders and deleted. Now if I do df I can still see that the space on the disk is still used and that the disk still has 85% of its space occupied. I already tried dd, but the same thing appears when I do df. If in terminal I cd to the directory where the disk was mounted and do ls, it looks empty. I need to delete the entirety of the data so I can copy other data into this file. What can I do?
Are you sure about "/dev/sdb1" - it is not a whole disk it is one partition. The whole disk would be "/dev/sdb". Do not repartition it if you do not want to lose data from other partitions, if you have any more. Please paste output of
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Download DBAN, burn it to a disk. turn off your PC, disconnect the disk you want to keep safe and leave the disk you want to wipe connected. Reboot with the DBAN disk in the disc drive and wipe the disk following the instructions in the screen. When thats done reconnect the other disk and restart your PC.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.