akibu
09-13-2001, 09:35 AM
Last night somebody (well, it was me) accidently unplugged my linux box (running R/hat 7.1) while it was still running. When I next booted it up it seemed to do the e2fsck filesystem check and then continued normally - untill I saw it was checking swap space.
Then there was a call to INIT and it turned to run level 5, before resuming the rest of the boot up procedures. When the login prompt appeard - after a few seconds a system message appeared saying it was moving to run level 3 - then does some more boot up stuff; starting from just after the swap checking. It then halts at xfs(?) and a simple carrige return brings back the login. So the file system is corrupted right? I boot in to single user and do esfsck with the offset obtained from dumpe2fs - and it fixes several problems in the /, the /usr, and /var (my three partitions) file systems - but the problem remains at boot up. Is it likely there is a problem in swap? Any suggestions how to fix this? I do seem to have some data loss such as hostname but everything else seems ok. (I only installed r/hat about 3/4 days ago)
Thank you for reading this very long winded post.
akibu
Then there was a call to INIT and it turned to run level 5, before resuming the rest of the boot up procedures. When the login prompt appeard - after a few seconds a system message appeared saying it was moving to run level 3 - then does some more boot up stuff; starting from just after the swap checking. It then halts at xfs(?) and a simple carrige return brings back the login. So the file system is corrupted right? I boot in to single user and do esfsck with the offset obtained from dumpe2fs - and it fixes several problems in the /, the /usr, and /var (my three partitions) file systems - but the problem remains at boot up. Is it likely there is a problem in swap? Any suggestions how to fix this? I do seem to have some data loss such as hostname but everything else seems ok. (I only installed r/hat about 3/4 days ago)
Thank you for reading this very long winded post.
akibu