943,789 Members | Top Members by Rank

Ad:
Apr 6th, 2004
0

linux wont boot after Freeze

Expand Post »
Hi All,
my redhat 8.0 box froze up yesterday leaving me no chose but to powerdown. now it wont boot. it getts going but then starts doing file system checks and drops me in to a recovery shell so i can run fsck and e2fsck.

is there a way i can kick this box back in to life without the full re-install?

any ideas will be great.

spikes
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003
Apr 6th, 2004
0

Re: linux wont boot after Freeze

Are you running fsck/e2fsck?
Reputation Points: 87
Solved Threads: 12
Posting Whiz in Training
i686-linux is offline Offline
208 posts
since Mar 2004
Apr 6th, 2004
0

Re: linux wont boot after Freeze

i'm trying to but i'm not really sure how to use them properly, never had to before

any advice?

spikes
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003
Apr 6th, 2004
0

Re: linux wont boot after Freeze

Running the fsck command is pretty straightforward; you can run it on one partition/filesystem at a time, or have fsck automatically walk its way through all filesystems listed in /etc/fstab. The latter should happen if you simply issue the command itself (with no options/arguments). To specify a partition, just do, for example:

fdisk /dev/hda1

Read the fsck man page for a full description.

You might also want to boot into rescue mode from your installation CD and run fsck from there; it might be a bit safer.
DMR
Team Colleague
Reputation Points: 221
Solved Threads: 369
Wombat At Large
DMR is offline Offline
6,439 posts
since Dec 2003
Apr 6th, 2004
0

Re: linux wont boot after Freeze

Take a close look at your startup. Probably you'll see a moment on the boot process will ask for run a fsck/e2fsck. But you'll have just a seconds to say Yes.

Good luck
Reputation Points: 10
Solved Threads: 2
Light Poster
Eduardo is offline Offline
30 posts
since Nov 2003
Apr 6th, 2004
0

Re: linux wont boot after Freeze

Quote originally posted by spikes ...
My redhat 8.0 box froze up yesterday leaving me no chose but to powerdown. now it wont boot. it getts going but then starts doing file system checks and drops me in to a recovery shell so i can run fsck and e2fsck.

is there a way i can kick this box back in to life without the full re-install?
Use Knoppix. See my sig.
Team Colleague
Reputation Points: 149
Solved Threads: 45
Practically a Posting Shark
TallCool1 is offline Offline
865 posts
since May 2003
Apr 7th, 2004
0

Re: linux wont boot after Freeze

cheers people,
from boot or mannualy when i run the fsck/e2fsck command i get "/: unexpected inconsystency; run fsck mannualy" then it drops me into a shell. to be honest i think its just time for a re-install, i just didnt want to have to rebuild my databases.

any thorughts or comments note em down allways usfull for next time.

Cheers

spikes
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003
Apr 7th, 2004
0

Re: linux wont boot after Freeze

Well What do you know,
Gave it one more shot using fsck on each partision and its all cleared up. back on line and working, well a few minor personality defects but noting i cant straiten out.

cheers for your help

spikes
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003
Apr 7th, 2004
0

Re: linux wont boot after Freeze

Insert Redhat binary install CD-ROM
Boot from CD (You may have to change BIOS settings)
At the boot: prompt, type linux rescue. You are then asked to chose an installation method.
Instead of install, choose the Upgrade option but don't add any new packages. It will eventually prompt you to make a boot floppy.
<LI>Boot from the boot floppy and mount your hard drive. i.e.: mount /dev/hda4 /hda4
You can use fdisk as shown above to investigate your drives and partitions.
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004
Apr 7th, 2004
0

Re: linux wont boot after Freeze

Quote originally posted by spikes ...
Well What do you know,
Gave it one more shot using fsck on each partision and its all cleared up.
Glad you got it sorted out without having to reinstall.
DMR
Team Colleague
Reputation Points: 221
Solved Threads: 369
Wombat At Large
DMR is offline Offline
6,439 posts
since Dec 2003

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: J.A.M.D.
Next Thread in Linux Applications and Software Forum Timeline: Press Release





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC