SlackwareThis Forum is for the discussion of Slackware 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.
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.
I've been running Slack 10.1 on my laptop for about three months. fsck ran at boot, which is fine because it had booted twenty-odd times without being check. However, up popped an error message saying the filesystem on my hard drive was corrupt!
I followed the instructions it gave and was greeted with page after pages of prompts asking if I wanted to fix a bad block on inode number whatever it was. Not knowing any better, I answer yes to all of the prompts and rebooted. The reboot worked fine and I was able to log into my usual desktop and backup all of my personal files to a 512Mb USB key.
However, what do I do now? Can I continue to use the laptop without doing anything else? Is it likely to fall over again? Would a fresh install be a better idea?
I've been running Slack 10.1 on my laptop for about three months. fsck ran at boot, which is fine because it had booted twenty-odd times without being check. However, up popped an error message saying the filesystem on my hard drive was corrupt!
I followed the instructions it gave and was greeted with page after pages of prompts asking if I wanted to fix a bad block on inode number whatever it was. Not knowing any better, I answer yes to all of the prompts and rebooted. The reboot worked fine and I was able to log into my usual desktop and backup all of my personal files to a 512Mb USB key.
However, what do I do now? Can I continue to use the laptop without doing anything else? Is it likely to fall over again? Would a fresh install be a better idea?
Any advice greatly appreciated.
I think you are fine. Whatever you could have lost you have lost already, and you now have a consistent
state of the filesystem. Definitly doing backups *before* a crash would be preferable in the future ;-)
If fsck is mentioning bad blocks it could be a physical problem. You might try running the badblock checker via fsck. IIRC, the command is something like this:
e2fsck -c -C 0 /dev/hda1
Before you do make sure you've backed up everything you need to. $HOME files, /etc config files, self-created scripts...
If it's just bad files you can probably restore them just by reinstalling the tgz files from the install discs. Mount the disc and cd into each dir one-by-one and do:
installpkg *.tgz
Again, you'll want to have made backups as mentioned above.
@ Michael - actually, I had done a backup a few days before the problem. Not entirely sure why, since I don't have a regular schedule - must have been the ol' spider-sense tingling. But I did it again because I'd tinkered with a few things...
@ dracolich - I'll have a quick read through the man pages before proceeding, I think. It is a fairly old laptop though, so physical problems could be a possibility.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.