LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-19-2003, 04:55 PM   #1
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Rep: Reputation: 15
fixing bad blocks/sectors


so think ill have to fix my bad sectors/blocks before i can do anything like install rh9 again. so does formatting fix bad blocks/sectors? if not, how can i fix that? i believe that that is my problem now. i cannot run mskf -c from boot disk or without it.

i have an 80 gig HD, approx. 30 on the linux/ext3 partition, and the rest on the shared windows/linux fat32 partition. if there's a way to fix my ext3 partition without getting rid of the shared partition that would be cool, so let me know.
 
Old 07-19-2003, 09:53 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
do a low level format (will erase all contents of the drive). but that is not guaranteed to fix those bad sectors. some older machines (pentium -r/-s era) comes with BIOS loaded with low level formatting utility. heh - a 1GB hdd would take looooong hours to be formatted.

get a new drive. hdd nowadays come cheap. i suggest that you get two drives (40GB each would be nice) so you don't have to worry about losing your other OS when something goes wrong with the other one.
 
Old 07-19-2003, 10:23 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
you need the sector remapping tool that comes from
the manufacturer of the drive. most make them. some
delete the contents of the drive and some don't. names
are like maxllf and wddiag.
drives comes with extra sectors on them for the purpose
of remapping bad areas. generic low level formatters
rarely do anything, and the drive just ignores the
commands and does a sort of a normal format.
the low level formatter from the manufacturer will mark
the sectors bad permanently, and thats what you want.

another option is patitioning in a way that skips the
bad areas. that takes some trial and error, or a little
math.
 
Old 07-19-2003, 11:01 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
You should look at your HD manufacturor's support site for a DOS based floppy which is used to install your hard drive. This floppy will also probably have a low level format program which will assign bad blocks to spare blocks.

In addition to your HD problems you have been having consistent problems with your CD-ROM. It is possible that the problem is your IDE controller. You can check out this possibility by swapping the HD and CD-ROM to another machine and by swapping a known good HD and CD to your problem machine. Does the problem follow the HD and CD to the other machine or does the problem stay with the IDE controller?
 
  


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
View bad sectors or blocks on harddrive gward Linux - Hardware 1 05-06-2005 11:54 PM
Bad sectors tuxombie Linux - Hardware 3 01-29-2005 02:05 PM
bad sectors on harddrive Lindquist Linux - Hardware 1 01-28-2004 05:41 PM
Fixing Bad Blocks PionexUser Linux - Newbie 1 07-19-2003 05:00 AM
Bad sectors blystovski Linux - Software 1 10-17-2001 01:18 PM

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

All times are GMT -5. The time now is 11:44 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