Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 apolgize for my first posting being a troubleshooting question...
Anyway, today I was doing a little work in KDE 3.2 on Mandrake 10 and it all of a sudden froze. I couldn't get to a terminal, and the system would not respond to connection attempts via SSH. So I just hit the reset button hoping nothing would go wrong.
Upon boot up, it said there was a failure mounting /proc, which really concerned me. It then went into a forced filesystem check and found a lot of problems, resetting a lot of stuff back to 0 and then did an autoreboot.
The next time around it still said /proc failed, so fired up Disc 1 and tried the rescue options. I can't seem to be able to mount my ext3 volumes to run fsck on them. I even took a look at the drive with partition magic *cringe* and it said my volumes were corrupt when I "checked for errors".
Any suggestions on how to fix this problem? Or at least get reinstall the OS without having to reinstall and configure all of my software/settings? For the future, whould you recommend another filesystem besides ext3?
Thanks and Happy Fathers Day out there to all you dads!
One possibility is that there was a hardware problem which caused the initial freeze-up. You may want to power down and re-seat the cables.
Are the drives excessively warm. They may be shutting down if over heated.
You run fsck on unmounted partitions.
/proc is a psuedo-file system, but it is mounted on root. Initially during bootup, the root drive is actually in memory. This is what the initrd file is. If the error occurred before the root directory is chrooted to your root drive, this doesn't sound good at all (like maybe memory problem).
The rescue mode has an lsparts command to list the partitions. Run that and see if the partitions show up.
Select the rescue menu option to mount the partitions on /mnt. If it is successful, cd to /mnt and look around to see if you are still in business.
You can change the root with the 'chroot /mnt' command after that.
Setting up the root $PATH variable and other variables can now be done by rerunning bash as a login shell. '/bin/bash -l'.
After that, if the /bin and /sbin and /usr/sbin directories exist, you should be able to run administrative commands normally. For example, you can run 'vim' and don't need to run 'vim-minimal' instead.
Load in the /etc/lilo.conf file. Make sure it looks ok.
Check the /etc/fstab file.
You can now try mounting the rest of the partitions with the 'mount -a' command.
Re-running lilo at this point might be a good idea. If it fails, you will need to correct the /etc/lilo.conf file or resolve the problem with the partition.
Good Luck! Someone may respond with a more particular answer about the particular error message you received.
Thanks for the responses. I was able to recover the rest of my data and fix the filesystem, but mouting /proc was still a problem. I did an in-place upgrade to see if that would help. There were enough little things wrong that I decided to just do a reinstall, which I didn't mind.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.