LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-21-2006, 02:39 AM   #1
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
low-level format


How can I run a low-level format? I don't know the shell command for formatting, and can't find it in the man pages.
 
Old 01-21-2006, 02:51 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Unnecessary on modern disks, damaging even. To blank your hdd, simply use the dd command to write zero blocks.
 
Old 01-21-2006, 08:00 AM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Even the dd is unnecessary unless you are giving the disk away and don't want any data to be recovered.
If you want to use the disk for something else yourself, just use fdisk to erase all the partitions, create new ones as you see fit, then put filesystems on them.
 
Old 01-21-2006, 08:20 AM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Is your disk SCSI? In this case use software built in the SCSI controller. See your controller's manual for details. CTRL+A is common for entering to Adaptec setup.
 
Old 01-21-2006, 08:31 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
The formatting command is mkfs---and several variants. Start with man mkfs.

But, what do you mean by "low-level"? Do you need to wipe all traces of data?

I don't understand one respondent's comment that low-level format could be damaging. Disks wear out, suffer hard crashes, etc. but has anyone seen one fail because it had too many reads and writes??
 
Old 01-21-2006, 09:04 AM   #6
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Important data are stored during low-level format. Like sector layout, servo data, etc. Since IDE disks have built-in controllers (unlike SCSI) there is no need to re-write this kind of information. Even more, it is possible to destroy an IDE disk if something goes wrong.
 
Old 01-21-2006, 10:21 AM   #7
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
I think there's some confusion between low-level formatting and zero-filling.

http://www.pcguide.com/ref/hdd/geom/...ilities-c.html
 
Old 01-22-2006, 04:52 PM   #8
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Original Poster
Rep: Reputation: 30
Thanks for the help, I got the problem fixed and my computer is up and running
again.
 
  


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
Low-level format under Linux with an AHA-1522 rcase5 Linux - Hardware 2 04-12-2005 03:33 PM
Low Level format a Compact Flash ? K@rl` Linux - Hardware 4 09-07-2004 09:05 AM
How do I low-level format a SCSI drive on Aurora Sparc Linux v1.0? JustinCase Linux - Hardware 3 03-03-2004 12:22 AM
Windows partition has bad sectors. Will 'dd' work in place of low level format? gkneller Linux - Software 5 02-27-2004 12:35 AM
Perform low level format of a floppy disk in C juby Programming 4 01-09-2003 08:47 PM


All times are GMT -5. The time now is 01:46 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration