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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
08-04-2002, 05:47 AM
|
#1
|
|
Member
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152
Rep:
|
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.
|
|
|
|
08-04-2002, 06:07 AM
|
#2
|
|
Member
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388
Rep:
|
try "fsck -y"
Regards
|
|
|
|
08-04-2002, 06:22 AM
|
#3
|
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
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
|
|
|
|
08-04-2002, 06:38 AM
|
#4
|
|
Member
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152
Original Poster
Rep:
|
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?
|
|
|
|
08-04-2002, 06:48 AM
|
#5
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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.
|
|
|
|
08-04-2002, 06:59 AM
|
#6
|
|
Member
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388
Rep:
|
I didn't think I needed to tell you this...
fsck -y <partition>
/dev/hda1 for example.
|
|
|
|
08-04-2002, 07:12 AM
|
#7
|
|
Member
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152
Original Poster
Rep:
|
Yes mart the partition got me LOL. And I wouldn't listen to that damn rat when he? she? told me LOL thatnks everyone
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|