Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with forcefsck
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
piequi
n00b
n00b


Joined: 03 Sep 2007
Posts: 3

PostPosted: Mon Sep 03, 2007 1:00 pm    Post subject: Problem with forcefsck Reply with quote

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
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Mon Sep 03, 2007 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
piequi
n00b
n00b


Joined: 03 Sep 2007
Posts: 3

PostPosted: Mon Sep 03, 2007 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum