Click to See Complete Forum and Search --> : what do i do now????????


coob
06-23-1999, 01:25 PM
this is the msg i got when boted up the computer...

Checking Root filesystem
/dev/hda5 contains a file system with errors, check forced
/dev/hda5: Inode 139 has Illegal Block(s)

/dev/hda5:UNEXPECTED INCONSISTENCY; RUNfsck MANUALLY.
(i.e. , without -a or -p options)

***An error occurred during the file system check.
***Dropping you to a shell; The system will Reboot
***when you leave the shell

Give Root password for maintenance
(or type Control-D for normal sartup)

please help if you can. i am very new to linux and i dont know what i did hor how to fix it.

thanks
chode

ninjaz
06-25-1999, 02:43 AM
Hey chode, it sounds like you powered off the system without a proper shutdown. You should do something like shutdown -h now or shutdown -r now (halt or reboot, guess which is which. http://discussions.linuxplanet.com//wink.gif

Anyway, regarding the fsck message you're getting, it really is descriptive. It means there are inconsistencies on /dev/hda5 that are beyond simple lingering file entries, etc.

The point is that it wants you to know that something is possibly corrupted and wants your intervention to go ahead and tell it to really clean up the mess the best it can (possibly removing some files in the process) ...

The command is:

fsck -y /dev/hda5

The -y tells it to answer yes for all of the questions about "Fix this one?" "Ok, fix this next one too?" "How about this one?", which can sometimes go on for quite some time.

At an ISP I worked at, one of the employees doing a fsck on the Solaris webserver didn't know about -y, and ended up spending about an hour doing nothing but answering yes to the fsck questions. http://discussions.linuxplanet.com//wink.gif

coob
06-26-1999, 08:26 PM
ninjaz thanks for the reply will do it tonight
your right i found out my girlfriend hit the pc while putting on her shoe...said it restarted so she just turned it off http://discussions.linuxplanet.com//frown.gif

chode