Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
See if you can solve this one ;)

Reply  
Thread Tools
matrim's Avatar
Senior Member with 195 posts.
 
Join Date: Dec 2004
Experience: Little above average
20-Jan-2005, 03:43 PM #1
See if you can solve this one ;)
I've got Redhat 8.0 installed. Recently the filesystem or hard drive got some bad blocks, at least one. Is there a way to bypass the block so it skips this, or delete it or repair it somehow? I run fsck and it fixed/ignored the bad block once or twice, but upon reboot now the error is coming back. Most of the time now it even freezes after checking the filesystem. I'm not sure what to try next. Any ideas?

Is there a way to bypass the force check upon boot?

Last edited by matrim; 20-Jan-2005 at 03:51 PM..
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
20-Jan-2005, 04:41 PM #2
http://www.rt.com/man/badblocks.8.html

Only run this on unmounted disks

It takes a LONG time to run.

It should be installed on your system already. If it is not, it should be on your install disks.
matrim's Avatar
Senior Member with 195 posts.
 
Join Date: Dec 2004
Experience: Little above average
20-Jan-2005, 05:02 PM #3
Hmm, well i know it has bad blocks already, the badblock program will just tell me what i already know. What i need is to find out how to bypass the forced check upon boot, or something I can use when it drops me to the shell other than fsck.

When using e2fsck i get: Bad magic number in super-block while trying to open /dev/hdc

The bad block is 544779.
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
20-Jan-2005, 09:34 PM #4
BadBlocks marks off the bad parts of the disk so that they are not used anymore.
matrim's Avatar
Senior Member with 195 posts.
 
Join Date: Dec 2004
Experience: Little above average
20-Jan-2005, 09:49 PM #5
Ahah! I tried it and it found bad blocks, but then froze hehe. So i'm trying fsck -t ext3 -b 8193 /dev/hdc3 and am going through tons of bad inodes, like hundreds of fixes. Not sure why this occurred. I installed on a good part of the hard drive, and things were going well, it never lost power or crashed...
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
20-Jan-2005, 10:25 PM #6
Sometimes hard drives go bad. I have had to run the badblocks command on my raid twice in the past 4 months.
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
21-Jan-2005, 05:52 AM #7
Save your stuff and get a new hard drive.
lynch
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:35 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.