Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 10-08-09   #1 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Jul 2008
Posts: 248

Rep: 5 jamespheely Unknown
Unique Rep: 4
Trader Rating: 0
Default ubuntu 9.10 - failing hard disk bad sectors error

hey there guys,

im having some strange problem i have just installed ubuntu 9.10 and it is saying my hard disk is failing and there are bad sectors.

is there a program i can use to fix these bad sectors or is there another way around this?

would really appreciate your help

thanks
__________________
System: Intel Core 2 Duo E7200 2.53GHz
CPU
Intel Core 2 Duo E7200 2.53GHz
Motherboard
Gigabyte GA-P35-S3G iP35
Memory
2x2gb kingston ddr2
Graphics Card
NVIDIA GeForce 6200LE 128MB
Hard Drive
Samsung SP2504C ATA
Power Supply
WinPower ATX 450
Case
X-Blade PC Gaming Deluxe Pre-Mod ATX Medium Tower
CPU cooling
Arctic Cooling AC-FRZ-7P Freezer 7 Pro
OS
Windows 7 RC 7100build
jamespheely is offline   Reply With Quote
Old 10-08-09   #2 (permalink)
T D
*cough* Stock *cough*
 
T D's Avatar
 
intel ati

Join Date: May 2009
Location: London
Posts: 803

Rep: 44 T D is acknowledged by some
Unique Rep: 43
Trader Rating: 3
Default

You can use something like windows' chkdsk to close off those bad sectors but I don't think you can repair them.
__________________
Last.fm
Quote:
Originally Posted by Havegooda View Post
Two things will survive a nuclear blast: Cockroaches and AGP.

System: Dual monitors are so win
CPU
E5200
Motherboard
Asus P5PKL-AM
Memory
1x2048mb DDR2-800 CAS5
Graphics Card
Sapphire X1950 Pro 256mb
Hard Drive
Seagate 7200.11 500gb
Sound Card
Asus Xonar DX
Power Supply
Seasonic S12 430W
Case
er...
CPU cooling
Arctic Freezer 7 Pro
GPU cooling
Accelero S1+Silverstone FM121
OS
Windows Server 2008 R2
Monitor
Samsung SM2232BW+Acer AL1714
T D is offline   Reply With Quote
Old 10-08-09   #3 (permalink)
Linux Lobbyist
 
thiussat's Avatar
 
amd nvidia

Join Date: Apr 2008
Location: USA
Posts: 1,213

Rep: 186 thiussat is acknowledged by manythiussat is acknowledged by many
Unique Rep: 130
Trader Rating: 0
Default

You don't need Windows to check a disk for badblocks. Linux comes with a utility called "badblocks" as well as various filesystem tools like fsck.

First thing I would do, if you have a lot of time, is run fsck on the disk (warning this will take a whole day on a modern disk). In order to do this, the disk must be unmounted. So, the best way to do it is boot from the Ubuntu LiveCD and then open a terminal and type:
Code:
sudo fsck -pcfv /dev/sda
Where "sda" = the disk in question.

This command will force automatic bad block checking and it will automatically mark all known bad sectors as bad so that they wont "interfere" in the future. After you boot back into the OS, I would make sure that smartmontools is installed:

Code:
sudo apt-get install smartmontools
You will need to make sure that "SMART' capability is enabled in your BIOS. After you get it installed, then you can run an extended offline test (this will run in the background while the computer is on and you wont even know it is running). To do that:

Code:
sudo smartctl --test=long /dev/sda
And then to see the overall health of the system, you can type:

Code:
sudo smartctl -a /dev/sda
Also, please read the manpages for these programs if you want a more detailed explanation:

Code:
man fsck
man smartmontools
__________________


"I can't bring myself to try Linux Mint because they keep naming the OS after ex-girlfriends or women I've had bad run ins with. Cassandra was a sexual harassing shift manager. And Felicia was a stalker who knew how to turn a good day into a hellish experience in 0-60." -- Anub1s from BBR forums

System: Windows Immune
CPU
X2 4000+ Brisbane@2.8 GHZ
Motherboard
Gigabyte GA-M57SLI-S4
Memory
1x2 GB Corsair XMS2 PC6400
Graphics Card
Geforce 8400GS
Hard Drive
WD5000AAKS 500GB SATA
Sound Card
Soundblaster Live! 5.1
Power Supply
Xclio X14-S4P3 500W
Case
NZXT Lexa Blackline
CPU cooling
Rosewill RCX-Z940-LX (lapped)
OS
Gentoo X86_64
Monitor
Asus VH242 24" 1920x1080p
thiussat is offline   Reply With Quote
Old 10-08-09   #4 (permalink)
PC Gamer
 
legoman786's Avatar
 
intel ati

Join Date: Mar 2006
Location: Tucson, AZ
Posts: 6,726
Blog Entries: 7

Rep: 245 legoman786 is acknowledged by manylegoman786 is acknowledged by manylegoman786 is acknowledged by many
Unique Rep: 198
Trader Rating: 10
Default

Quote:
Originally Posted by thiussat View Post
*snip*
I trust this man for all my Linux problems.

__________________
¿uʍop ǝpısdn ʇı pɐǝɹ noʎ uɐɔ
September 1, 2009 - Never forget.


System: 299,792,458 m/s² x >9000
CPU
E5200
Motherboard
DFI LP DK P45-T2RS PLUS
Memory
2x2GB G.Skill 1066 (5-5-5-15-2T 1.8V)
Graphics Card
Sapphire 4850 512MB
Hard Drive
820GB Total
Sound Card
Audigy eX Plat + ProMedia 2.1
Power Supply
Corsair VX550W
Case
Tagan CS-A+ Seenium RT
CPU cooling
Stock
GPU cooling
VF900
OS
Vista Ultimate x64
Monitor
Viewsonic Graphics G220fb 21" CRT
legoman786 is offline legoman786's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 07:30 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.11476 seconds with 8 queries