LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-30-2003, 04:50 AM   #1
wood
Member
 
Registered: Aug 2003
Posts: 78

Rep: Reputation: 15
Blocking Harddisk bad sector


Do anyone know how to block the harddisk bad sector. or put it aside without using it.
 
Old 09-30-2003, 12:28 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
What is your hardware? SCSI or IDE
What filesystem are you using?
 
Old 09-30-2003, 08:59 PM   #3
wood
Member
 
Registered: Aug 2003
Posts: 78

Original Poster
Rep: Reputation: 15
It is a Western Digital WD13200 IDE Hard Drive. I am using Fat32 system.
 
Old 10-01-2003, 07:01 AM   #4
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
Just run scandisk if you are using win9x, or use the checkdisk utility. It will mark out the bad sectors and they will not be used again. Also, you can try out tools like norton disk doctor, which can detect any problems in your disks and even fix up some of them. (What more can one ask?)
 
Old 10-01-2003, 11:37 PM   #5
wood
Member
 
Registered: Aug 2003
Posts: 78

Original Poster
Rep: Reputation: 15
How about if i format my harddisk again. Will it used the badsector again.
 
Old 10-02-2003, 12:17 AM   #6
SaTaN
Member
 
Registered: Aug 2003
Location: Suprisingly in Heaven
Posts: 223

Rep: Reputation: 32
Nopes bad sector will not be used when you full format the hard-disk

Last edited by SaTaN; 10-02-2003 at 12:18 AM.
 
Old 02-29-2004, 05:33 PM   #7
alley1026ph
LQ Newbie
 
Registered: Feb 2004
Location: 002 prk. pioneer, tipaz tagum city, philippines
Posts: 1

Rep: Reputation: 0
how can i block badsector in my hard disk?
 
Old 03-29-2005, 08:24 PM   #8
Z505
LQ Newbie
 
Registered: Mar 2005
Distribution: Custom Debian and Slack
Posts: 16

Rep: Reputation: 0
I notice people always seem to answer "run scandisk" even on Linux forums. Does anyone know of all the best linux utilities? I can't beleive people recommend using windows to repair hard drives which are running linux.
 
Old 03-30-2005, 08:32 AM   #9
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
if you intend to do a format and still want to have Fat32 back on the disk,you may use MSDOS command : " format drive: /U "
with that "/U" switch ,bad sectors will be ?block?mark?re-allocate?remap?whatever we said?
best done is to boot into MSDOS with WIN98 boot disk
it's kind of a low-level format with that "/U" switch just to have a peace of mind after that
because bad sectors tend to "grow" after a while
do be aware that if your bad sectors are terrible,sometimes by doing a format may render your disk unusable.

Last edited by alred; 03-30-2005 at 08:44 AM.
 
  


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
how can i partition around a bad sector ? nephish Linux - Hardware 13 12-02-2005 09:45 AM
Bad sector woes :S kevingpo Fedora 4 07-07-2005 03:57 AM
bad sector in HDD ??? hitesh_linux Linux - General 2 06-20-2003 04:54 PM
how to check for bad sector nakkaya Linux - General 1 01-16-2003 08:24 PM
Bad Head/Cylinder/Sector? Half_Elf Linux - General 3 03-26-2002 09:28 PM


All times are GMT -5. The time now is 12:04 AM.

Main Menu
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