LinuxQuestions.org
Review your favorite Linux distribution.
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-06-2003, 06:29 AM   #1
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Rep: Reputation: 30
Cool Can linux recognise bad sectors?


My harddisk crashed and after reformat, it has bad sectors, if i installed it with linux again, will linux
knows where are the bad sectors and avoid using them ?
 
Old 07-06-2003, 06:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
yes, running fsck on the drive will scan it for bad blocks normally.
 
Old 07-06-2003, 06:39 AM   #3
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Original Poster
Rep: Reputation: 30
you mean scan it after installation? will it be too late?
 
Old 07-06-2003, 06:53 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
During most distrobutions installs, it offers you an option to scan your disk before completing the install (during the format stage). IF yours doesn't, try using a recovery feature if one is available on your distro's install CD's. From there you should be able to use fsck as Chris noted above.

Cool
 
Old 07-06-2003, 06:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
i'd assume the installer program will have an option to scan before formatting, i think mdk used to when i used to use it.
 
Old 07-06-2003, 02:17 PM   #6
jbstew32
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Posts: 151

Rep: Reputation: 15
yeah they will all allow you to do this (unless it is some oddball distro). In Mandrake i believe you have to use the 'expert' mode for it to give you the option (type expert then enter to boot rather than just hitting enter to install)

Other distros may do the same for the newbie factor, but it should be there. It is a pretty vital option imo.
 
Old 07-07-2003, 04:39 AM   #7
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Original Poster
Rep: Reputation: 30
yes, i did it.
in expert mode, i chose to detect bad sector and reformat it.
now is OK.
 
  


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
Bad Sectors on Linux Partition svoltmer Linux - Newbie 1 08-06-2004 11:45 PM
marking bad sectors in linux joe56 Linux - Software 1 06-14-2004 10:55 PM
How to I check a Linux formated hard drive for bad sectors NewtoLinuxWorld Linux - Hardware 1 02-27-2004 04:46 AM
Can Linux clear bad sectors? buixuanduong Linux - General 1 12-29-2003 10:36 AM
Bad sectors blystovski Linux - Software 1 10-17-2001 01:18 PM


All times are GMT -5. The time now is 05:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration