LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-30-2005, 02:53 AM   #1
purej
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Rep: Reputation: 0
Freeze when rebooting


My linux server (Fedora) was very slow, so I tried to reboot it

But when it restarted, the following screen appeared
http://i23.photobucket.com/albums/b3...j/IMG_7521.jpg
It freezed at the screen and didn't go ahead.

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!!
 
Old 11-30-2005, 03:50 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Re: Freeze when rebooting

Quote:
Originally posted by purej
My linux server (Fedora) was very slow, so I tried to reboot it

But when it restarted, the following screen appeared
http://i23.photobucket.com/albums/b3...j/IMG_7521.jpg
It freezed at the screen and didn't go ahead.

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...

Regards,
 
Old 11-30-2005, 09:05 PM   #3
purej
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Original Poster
Rep: Reputation: 0
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!!
 
Old 12-01-2005, 01:33 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Quote:
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rebooting spuppett Linux - Newbie 3 04-11-2004 04:21 PM
rebooting into a different OS apberzerk Linux - General 2 02-04-2004 07:42 AM
Need help rebooting SynnerST Slackware 5 10-29-2003 10:21 AM
Need help on install....Keeps rebooting itself!! rlsanders Linux - Software 0 08-09-2002 12:13 AM
rebooting to a cd lot2learn Linux - Software 6 07-19-2001 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration