LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2016, 05:52 AM   #1
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20 KDE and 19 and Android, Windows 10, KDE Neon, Manjaro, Slackware.
Posts: 990

Rep: Reputation: 37
Eraser wiper software for external HDD with problem?


I have a HDD maybe SSD "WD Elements" and I have a sticky OS on it I want to erase that will not format. I could not get killdisk going. I could not find software in Mint to erase, wipe it. I want to plug the drive into Mint and erase the drive for a fresh start.

Is there any software especially in the Mint repsitory, that does this?
 
Old 09-30-2016, 10:13 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,410
Blog Entries: 13

Rep: Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495
The normal things like fdisk and mkfs do not work for it?
 
Old 09-30-2016, 03:02 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,185

Rep: Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438
I'd just dd out the first few meg of the drive maybe. (if other more easy solutions won't work like above or below)

If you mean sticky, I think you mean some installers refuse to let you write over a linux distro. Not sure why some installers do that. Makes me mad. I have to boot to an installer, use custom disk setup. Remove partitions and then reboot to get clean.

Last edited by jefro; 09-30-2016 at 10:08 PM.
 
Old 09-30-2016, 03:20 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-30
Posts: 5,290

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
gparted ?
 
1 members found this post helpful.
Old 09-30-2016, 10:28 PM   #5
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20 KDE and 19 and Android, Windows 10, KDE Neon, Manjaro, Slackware.
Posts: 990

Original Poster
Rep: Reputation: 37
fdisk and mkfs, I recall the first but never heard of the second, are they in Mint's repository?
 
Old 10-01-2016, 01:17 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,531

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
if this is a older'ish harddrive you might want to zero it out first and then reformat and then run " fsck -c "

Code:
dd of=/dev/zero if=/sd??
the defaults will be fine

Last edited by John VV; 10-01-2016 at 01:19 AM.
 
Old 10-01-2016, 07:06 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,410
Blog Entries: 13

Rep: Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495
Quote:
Originally Posted by Novatian View Post
fdisk and mkfs, I recall the first but never heard of the second, are they in Mint's repository?
In the command line. Type mkfs[TAB] and it will show you the completions. Like mkfs.ext2 is one option. They have help and man pages.
 
Old 10-01-2016, 08:13 AM   #8
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20 KDE and 19 and Android, Windows 10, KDE Neon, Manjaro, Slackware.
Posts: 990

Original Poster
Rep: Reputation: 37
Thanks. By the way is there a command line document?
How do I tell it which drive? And is ext 4 best?

Last edited by Novatian; 10-01-2016 at 08:59 AM.
 
Old 10-10-2016, 01:21 AM   #9
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20 KDE and 19 and Android, Windows 10, KDE Neon, Manjaro, Slackware.
Posts: 990

Original Poster
Rep: Reputation: 37
When I run the terminal command, should the only drive plugged in be the dirty one? It will find the port and drive on it's own?
 
Old 10-10-2016, 02:47 AM   #10
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20 KDE and 19 and Android, Windows 10, KDE Neon, Manjaro, Slackware.
Posts: 990

Original Poster
Rep: Reputation: 37
[root@localhost BM]# mkfs.fat
mkfs.fat 3.0.28 (2015-05-16)
No device specified!
Usage: mkfs.fat [-a][-A][-c][-C][-v][-I][-l bad-block-file][-b backup-boot-sector]
[-m boot-msg-file][-n volume-name][-i volume-id]
[-s sectors-per-cluster][-S logical-sector-size][-f number-of-FATs]
[-h hidden-sectors][-F fat-size][-r root-dir-entries][-R reserved-sectors]
[-M FAT-media-byte][-D drive_number]
[--invariant]
[--help]
/dev/name [blocks]
[root@localhost BM]#
 
Old 10-10-2016, 02:58 PM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-30
Posts: 5,290

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
i think the command needs to be told what device and partition you would like to create a filesystem on.

have you tried using gparted ?
 
Old 10-10-2016, 04:01 PM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
gparted is by far, the easiest method of doing such things.
But which drive?

Code:
sudo lsblk /dev/sd[a-z] -o model,name,size,fstype,uuid,mountpoint
output please?

Last edited by Habitual; 10-10-2016 at 04:02 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will the Parted Magic disk eraser save my external hard drive? cousinlucky Linux - Hardware 3 08-28-2014 01:53 AM
Booting Problem. Windows and ubuntu on internal hdd. Centos on External USB hdd faisal59 Linux - Distributions 1 07-17-2013 08:19 AM
[SOLVED] Installing software to external HDD linuxPCplus Linux - Software 7 02-24-2013 02:33 PM
Recommend CLI software for copying data from dying external HDD? peter3731 Linux - Software 3 09-27-2008 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration