LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Search this Thread
Old 08-04-2002, 05:47 AM   #1
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Rep: Reputation: 30
My Box Crashed


Hate to say this but I think my box may be screwed unless I can get some help. I was in gnome running Webmin trying to start my apache server when I realized I had to go into the module configurator. Upon this My box locked up I could do nothing, so I did the usual called it a piece of *&%$, got another pepsi and said oh well lets turn off the power feed the rat, that is now my live in partner(should charge rent), get another snickers and power back up. OH OH upon power up I get the message that the system is going to drop me into a shell Upon root password(dug my feet from the ground to get password) and I should run fsck manually without options -a and/or -p. OK I get into the shell, here is were I am stuck I get into the shell and I don't know what to do, so like anyone wanting to learn I do what would obviously would be next, I use my best guess-a-mate. So at the prompt I get

(Repair Filesystem) #1
and I say yes
(Repair Filesystem) #1 yes
but it says I am an idiot bash does not have a yes command(wonder if it really means that)
ok so I think hmmm it did give me a clue so at the prompt I type
(Repair Filesystem) #1 fsck
But now I get
Parallizing fsck version numbers other words blah blah blah(the rat could not translate well)

well i keep rebooting and repeating this process(I know the rat is laughing at me on the inside)

Now if I have to reformat the drive and reinstall linux that is not bad except that I have to reinstall a redhat 6.0 or SuSe 2.4? Not sure have to read the disk again. Which I really don't have a problem with that. My problem is the sofware I have downloaded like MySQL 4.0 and some others which take forever for me to download since I am on a 56k dial up.

So over I would like some help if it is available.

BTW I was just kidding about the Rat.
 
Old 08-04-2002, 06:07 AM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
try "fsck -y"

Regards
 
Old 08-04-2002, 06:22 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
This happened many times while i was using ext2, if the computer is shut down incorrectly (in my case it was power outages) i have to fsck all the filesystems from the root shell, so do as suggested:
fsck -y (or fsck --help and see what options might be useful)
and then fsck -options <partition>
for example fsck -y /dev/hdb3 and of course you will put your own partition numbers insted of hdb3, and check all your partitions that way, then it should work upon next reboot if i remember correctly.
In the future Linux installations, choose ext3 or ReiserFS as filesystem, and since they are journaling filesysistems these things will not happen any more.
Hope that helps
-NSKL
 
Old 08-04-2002, 06:38 AM   #4
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
Ok I have tried the suggestions but it does not looc like fsck is doing anything. when I give the fsck -y command all I get back is

Paralellizing fsck version numbers (date)
when I type

fsck -help or --help I get the same thing as above.

The rat says it is not a good thing and I should get some sleep and he will fix it. I am not trusting him

Could I get some more advice?
 
Old 08-04-2002, 06:48 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The rat? lol

After a very quick glance over the man page, you could try 'fsck -a' but it's said to be used with 'caution'.

http://man.linuxquestions.org/index....ction=0&type=2 Just to point you to what I am reading right now.

Last edited by MasterC; 08-04-2002 at 06:50 AM.
 
Old 08-04-2002, 06:59 AM   #6
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
I didn't think I needed to tell you this...

fsck -y <partition>

/dev/hda1 for example.
 
Old 08-04-2002, 07:12 AM   #7
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
Yes mart the partition got me LOL. And I wouldn't listen to that damn rat when he? she? told me LOL thatnks everyone
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 07:58 PM
Slack box crashed seven times in last 24 hours jgams Linux - General 15 02-27-2005 11:56 PM
mozilla crashed my box tacca Linux - Software 2 10-24-2004 03:36 PM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM
My RH 7.3 box went crashed satimis Linux - Software 1 08-11-2003 12:25 AM


All times are GMT -5. The time now is 12:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration