Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-29-2005, 12:52 PM
|
#1
|
Member
Registered: Oct 2004
Location: Chennai, India
Distribution: Slackware 10, Ubuntu, Debian Sarge
Posts: 53
Rep:
|
Bad sectors
My HDD has decided to die on me, after what can plausibly be because of the abuse that I have subjected to it after six months of insane distro installing.
It all started with firefox in Slackware giving up one morning after I left the comp. on overnight to do some simulations. k3b didnt work either. Indeed the whole of kde was in trouble. I tried an fsck, and it gave bad sectors. The bad sectors were identified, and read, and tagged (I dont remember now, it was 10 days ago) with e2fsck -v -something /dev/hda* from the other distro which was ubuntu. Then Ubuntu itself died; something crashed here too.
After several attempts of mucking about with e2fsck, I reinstalled Slackware, unsuccessfully, as the installer failed at some point everytime saying there was a fatal error and it wasnt going to do it for some reason, which I can of course, put down as the rapidly dying hard disk. The e2fsck gave some 0.3% bad sectors, which then increased to 0.4% -in the Slackware partition that is.
I tried the unspeakable windows, and here again, it gave dire warnings and a blue screen, whose content may roughly be summarized as shutting down the system to prevent damage to hardware. It scan disks every time it boots up and cribs about some corrupt file system.
During the useless Slackware installation attempts, it was asked to check for bad sectors. Ubuntu was also tried, but the Ubuntu installer is way to simplistic in that it doesnt have any option to check for bad sectors. Needless to say, the installation failed in the very early stages when it tried to configure apt, which is, as I said, right at the very beginning.
I then tried Debian, which, for all its touted unfriendliness, checked for bad sectors for a long long time (some three quarters of an hour, speaking reasonably conservatively), and installed without any hitches. The stumbling block is that I dont know how to put x in debian, and it has stayed since, and when I go back -I came home for a week- I shall put the kernel headers, or make the symlink and put the official nvidia drivers, but hopefully not, as I want to get back to work and quit wasting more time on this.
But the point want I to ask is, can the HD be saved? My friends in IIT (where I study) insist that Windows has a nice bad sector blocking feature. But I doubt it as the damage has spread universally, and I cant use windows because of religious issues.
In passing, I must mention that a new 80 Gig HD has been purchased. The old one still boots, and the data seems to be okay, but one doesnt know for how long.
|
|
|
01-29-2005, 01:21 PM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
try low level formatiing and zero filling
u can get a bootable CD from
www.ultimatebootcd.com
there is a full and basic version
download it and u will surly like it
i am not in IIT but i tried once )
regards
|
|
|
01-29-2005, 01:44 PM
|
#3
|
Member
Registered: Oct 2004
Location: Chennai, India
Distribution: Slackware 10, Ubuntu, Debian Sarge
Posts: 53
Original Poster
Rep:
|
thanks.
It looks pretty inpressive. I ll try downloading it as soon as I get there (broadband!).
|
|
|
01-29-2005, 02:05 PM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
its wonderfull collection!!
even if u get a failed hdd, the dos navigsator wil try to show ur filesystem and u can save some of ur files
and that virus scanner is also good
regards
|
|
|
All times are GMT -5. The time now is 11:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|