I got a problem I'm rather new to linux so I don't know much. Once I
didn't exit linux as I should and now when I try to boot it says that my
harddrive "contains a file system with error, check forced". It runs
the check and finds an error "unexpected inconsistency"; RUN fsck
manually. I've tried that but haven't succeeded.
Anyone?
--
Erik
I have had that problem.
Back in 1999 when I had Red Hat v5.2 and just starting Linux I was a
total newbie. When I installed it I screwed up and put everything on
the root file system.
About a month after using Linux and not shutting it down properly (using
the control-alt-delete combination as a user or 'shutdown now' as the
root user) I booted up, and it said "/dev/hda3: UNEXPECTED
INCONSISTENCY: RUN fsck MANUALLY.
As you said, I did, but not much happened.
It would not load Linux, and wouldn't work.
After a month of research I tried it again. I went to the single user
mode as root by entering the command "init s" I then ran the command
"fsck /" It ran it, fixed several file allocation problems, deleted
both (unnecessary) files, and it then worked fine. I fixed it 12/14/99
and it worked until I upgraded to v6.2 in July. I now ALWAYS terminate
my Linux sessions using the three-fingered (control-alt-delete) salute
as a user, and 'shutdown -h now' as root. No more problems.
I love Linux.
Leroy Smith
lc...@lcsc.com
You'll need to make a note of the drive that has the error, then boot from
floppy. If you have an emergency disk(s), use that, otherwise, you might
be able to use a setup disk, depending on the distribution you installed.
Slackware's setup disks will work fine, for example, but Debian's might
present a problem, as it throws you right into an install script, if
memory serves.
Anyway... Once you have booted from floppy, you can run an 'fsck -r' on the
problem drive. If /dev/hda has the error, for example, you would run
'fsck -r /dev/hda'. This will run a check on the drive, and when an error is
found, will ask you for confirmation to correct it. Hopefully, this should
do the job for you. given that the error is not too serious. Once the fsck is
finished, you should be able to reboot to your normal system.
Hope this helps,
Hagbard
> Hi,
> --
> Erik
--
Jesus saves sinners - and redeems them for valuable prizes.
Which hard drive has the error?
How do you run the fsck command?
What reply message do you get after running fsck?
Proper example:
fsck /dev/hda1
answer Y to any questions.
--
David Pace - Free commodity/stock graphing software
and Linux links at http://www.daveware.com