GNU bug report logs -
#22588
root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
Previous Next
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Sun, 7 Feb 2016 21:22:02 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #35 received at 22588 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I bumped into this issue yesterday and thanks to the comments here I was
able to run fsck in the end.
As an inexperienced guix user, I would like to add some details which I
believe could be useful to someone else :
I had forgotten I was updating packages and accidentally closed my
laptop, which closed my session. Reopening the session, my computer was
frozen (mouse and keyboard not responding within several minutes). After
manual reboot, I get the following error : /dev/XXX: UNEXPECTED
INCONSISTENCY; RUN fsck MANUALLY.
Within the command prompt bourne@(guile-user) I try fsck.
However, fsck command was not recognized. Eventually, my solution was :
* check the name of the e2fsck folder (in my case it ended with
e2fsck-static-1.47.0) :
cd /gnu/store
ls
* switch to scheme language :
,language scheme
* Copy Mark's solution after adapting to my folder's name :
(use-modules (ice-9 ftw) (srfi srfi-26))
(define dirs (scandir "/gn
u/store" (cut string-suffix?
"e2fsck-static-1.47.0" <>)))
(define e2fsck (string-append "/gnu/store/" (car dirs) "/sbin/e2fsck"))
(system* e2fsck "/dev/XXX")
The command (system* fsck.ext4 "/dev/XXX") did not work for me because
fsck.ext4 was not found.
A question : perhaps the easiest solution (which I only think of right
now) was :
e2fsck "/dev/XXX"
Thanks,
Vilgour
[Message part 2 (text/html, inline)]
[Message part 3 (text/plain, inline)]
[publickey - vilgour@proton.me - 0xC65A06FF.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 129 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.