Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
But when I pressed "ctrl + c", it could be skipped.
Then the following screen appeared http://i23.photobucket.com/albums/b3...j/IMG_7522.jpg
At that moment, no matter I pressed what buttons, it always freezed and didn't give response.
But when I pressed "ctrl + c", it could be skipped.
Then the following screen appeared http://i23.photobucket.com/albums/b3...j/IMG_7522.jpg
At that moment, no matter I pressed what buttons, it always freezed and didn't give response.
Can anyone help me?
Thanks!!
Are you sure your harddisk is still working and has not been damaged? It looks as if the kernel is somehow unable to mount the disk. Did you shut down cleanly? I. e. did you reboot by type
reboot
or
shutdown -r now
??
Do you have a rescue disk (the first installation disk) available, and can you boot from that?
If you can boot from a rescue disk, AND access your disk (it should be mounted in /mnt/sysimage after the rescue disk boot) its a good sign - it should mean that your disk is still physically there. Not much you can do there though - if it does work, it might still mean that a vital part of your disk (maybe the partition table?) has been damaged or been corrupted.
If your disk IS, in fact, physcially ok, I think that this might be time to reach for that nifty backup-DVD/CD and reformat and reinstall. Are you maybe running Windows as well on that machine? It is not beyond probability that a Windows virus / worm could damage the harddrive partition table, which will render Windows as well as Linux (or any other operating system) inoperable...
Originally posted by purej Thanks for your reply, rylan76
The server was very slow. I tried "init 6" to restart it but it didn't work.
Then I switched off the power and started it again.
I can boot the server with a rescue disk, so I think the harddisk is fine.
Are there any methods, instead of formatting and reinstalling?
Thanks!!
That switchoff probably was the thing that crippled it - what filing system were you using? If it was ext2 you are out of luck - with older RedHat versions I more than once ended up with an inconsistent filing system after a "hard" shutdown - which neccessitated a complete reformat and reinstall. It is much better to use a journalling filesystem like ext3. If you were, in fact, using ext3 already, you're just out of luck.
As for fixing the problem, you might try to run
fsck
after the rescue disk has booted up and see if you can somehow fix something - no idea how, or where though. Usually it is just better and less effort to just reformat and reinstall. We used to get errors of this type in SCO unix at work as well, and there was -no way- to fix them once they began. It probably requires a Linux systems programmer or somebody who knows the particular filing system from the inside out.
Hope you've got some backups!
Seriously, the only course of action I could advise is to reformat, reinstall, and recover from backups. It will be quicker and waste less time than trying to reconstruct the disk by hand, which is well-nigh impossible IMHO.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.