Linux - GeneralThis 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.
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.
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
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