LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 01: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, 01: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, 07:00 AM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 78
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, 07:20 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

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, 07:31 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 08:04 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 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
Open Source Consulting | Domain Registration