Linux - SoftwareThis 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
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.
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.
For no apparent reason, my box (Dell Dimension 4100, Fedora Core 5) stopped booting yesterday night. I was able to run scandisk, which did not report any problems except 1 4 meg hunk of unused space.
The symptom is that, on boot, the disk grinds away (seek,seek,seek,seek, ... pause..., repeat) for a while and then I'm being thrown into the grub command line interface. No other errors.
I'm no expert on grub, and my own notes are too dang sketchy, but I was able to determine that I have the following partitions:
There's another hard drive in the system from an older computer, but it's irrelevant to this problem. I get exactly the same symptoms when I unplug the ribbon cable.
I dimly recollect setting up hd0,1 as / and hd0,4 as /root. But I could easily be wrong.
I tried briefly to reverse-engineer what grub was trying to do. I did root (hd0,<partition>) to all three partitions, then cat /boot/menu.lst (hoping that that's where the menu file is.)
On (hd0,0) and (hd0,1) I'm getting "File not found." Fair nuff. But when I try "cat /boot/menu.lst" on (hd0,4), I get the (seek,seek,seek,seek, ... pause..., repeat) sounds, then:
Error 18: Selected cylinder exceeds maximum supported by BIOS
So, I have a couple of questions:
1. Can I possibly recover from this situation without wiping everything out?
2. If I can't boot without a total wipeout, is there at least a way to burn some of the files on (hd0,1) to CDROM or to a memory stick?
I sincerely hope that scandisk didnot make any changes to your disk coz while linux will understand windows, for windows linux is unformatted disk space.
Having said that you can reinstall grub and try & boot again (google reinstall grub)
OR
reinstall fedora by choosing upgrade option, that should save your data
OR/AND
use a liveCD version of linux to save your data before you experiment
I forgot to mention, the FC5 install hangs too. Same symptoms after a few install screens. (seek,seek,seek,seek, ... pause..., repeat, but this time infinite, apparently.)
I googled for livecd and found a long list, any suggestions? Sorry for the ignorant questions...
-S.
Last edited by Nathaniel Firet; 11-30-2006 at 08:44 AM.
The symptoms sound like a defective drive. If you have a Knoppix live CD do the following:
Boot from it
Then open command line
su [enter]
smartctl --all /dev/yourharddisk (probably hda)
If the output gives no error messages:
smartctl --test=short /dev/yourharddisk (about 10min)
Then first command again and if there are no errors:
smartctl --test=long /dev/yourharddisk (takes about an hour or more)
Then again first command
If there is some message that says your hard disk is BAD, then backup immediatly and replace drive, if it isn't too late.
What kind of drive is it? Maxtor, IBM?
Last edited by hansalfredche; 11-30-2006 at 09:42 AM.
Update: The disk was indeed scrozzled. 915 or so errors showed up from smartctl. Fortunately, I was able to mount a Gentoo livecd and recover what was important. Then threw another hard drive into the box (Maxtor 160gb 7200rpm, $60 at Staples), reinstalled FC5, and was back on the air in a jiffy.
Thank you for your invaluable help, sn68 and hansalfredche!
- Steve.
P.S. FWIW, the failed disk was an IBM Deskstar, 60 gig, model IC35L060AVER07-0, built May 2001.
An IBM Deathstar. Your's worked longer than most. Together with DTLA series first series of IC35L had serious reliability problems. I had two IBM's too, they both failed ...
No need to say you shouldn't use this drive any more.
BTW: If you think your Maxtor drive is to noisy when accessing, you can tune it down with hdparm (see Hardware Section for solution).
BTW, at the same time I took out a Quantum that had migrated from my LAST tower (circa 1993) and had been running quietly for 13 years without problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.