View previous topic :: View next topic |
Author |
Message |
piequi n00b
Joined: 03 Sep 2007 Posts: 3
|
Posted: Mon Sep 03, 2007 1:00 pm Post subject: Problem with forcefsck |
|
|
Dear,
It appears that my hard drive is nearly dying, i encountered several I/O errors with different files for a couple of weeks now. I decided to run at boot time a complete fsck in order to fix what's fixable, waiting for a new HD.
To do so I run "shutdown -rF now" which, as expected, run a full fsck when rebooting.
The command found 3 unconsistencies and asked to run a fsck manually. I did that and fsck fixed them (as it says).
After the errors had been fixed, the system has rebooted and tried to run again fsck; here comes the infinite loop: an error remains on my root partition which cannot be fixed by fsck...
So now I'm stuck with the forced fsck at boot (because of the presence of the /forcefsck file) which never ends successfully.
To fix that, I tried to rerun the shutdown command with the -f parameter but I get "shutdown: /dev/initctl: no such file or directory".
Futhermore, as the filesystem is read-only I cannot manually remove the /forcefsck file...
The pity is that before, I couldn't use some programs because I/O errors but at least I could partionally use my system; now it's completely unusable.
Does someone know how to get off this situation or any idea to get rid of that forced fsck?
Thanks a lot
Marc-Antoine |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Sep 03, 2007 2:44 pm Post subject: |
|
|
try booting with livecd and remove the file _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
piequi n00b
Joined: 03 Sep 2007 Posts: 3
|
Posted: Mon Sep 03, 2007 8:55 pm Post subject: |
|
|
Thanks for the hint!
I actually used the gentoo LiveCD to boot up and then mounted /dev/hda3 in /mnt/gentoo
I could do a "rm /mnt/gentoo/forcefsck" and reboot the system just fine
Thanks a lot for your help |
|
Back to top |
|
|
|