The officially official Devuan Forum!

You are not logged in.

#1 2017-11-10 09:02:54

boycottsystemd
Member
Registered: 2017-09-25
Posts: 20

booting Jessie: File system check failed.

...
File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually..
A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot.
...

/var/log/fsck/checkfs

Log of fsck -C -R -A -a 

fsck from util-linux 2.25.2
/dev/sda15 is in use.
e2fsck: Cannot continue, aborting.


fsck exited with status code 8

Does anyone know please how to fix it ?

Offline

#2 2017-11-10 09:32:08

devur
Member
From: københavn
Registered: 2017-05-29
Posts: 22

Re: booting Jessie: File system check failed.

hi, I have found two links to you, which may help you find a solution

https://ubuntuforums.org/showthread.php?t=913941
http://forums.debian.net/viewtopic.php?t=60170


Laptop lenovo
Desktop XFCE 4.10
Os Devuan 1.0

Offline

#3 2017-11-13 10:20:19

boycottsystemd
Member
Registered: 2017-09-25
Posts: 20

Re: booting Jessie: File system check failed.

devur wrote:

hi, I have found two links to you, which may help you find a solution

https://ubuntuforums.org/showthread.php?t=913941
http://forums.debian.net/viewtopic.php?t=60170

Hi, thank you. I've checked disk with

e2fsck -f

and it's ok but I did not find the solution. This problem has appeared immediately after instalation of Devuan - isn't it bug ? It's encrypted disk with home folder.

Offline

#4 2017-12-02 06:56:22

chillfan
Member
Registered: 2016-12-01
Posts: 31

Re: booting Jessie: File system check failed.

Just to clarify, did you create the encrypted volume with the installer?

Offline

#5 2017-12-05 11:29:25

boycottsystemd
Member
Registered: 2017-09-25
Posts: 20

Re: booting Jessie: File system check failed.

Yes if I remember correctly.

(certainty > 99,9 %)

Offline

#6 2017-12-05 17:59:16

fungus
Member
From: Any witch way
Registered: 2017-07-12
Posts: 389
Website

Re: booting Jessie: File system check failed.

Sometimes when you create a partition it leaves 1MB of space (actually it happens because it is less than) between the partition and the next, usually in the beginning.  If you run gparted click on the partition and select check, it realigns the partition so it begins right after the previous one.  I can't remember the manual e2fsck that does this, but it is worth a try if this is the problem.

Offline

#7 2017-12-05 21:50:13

fsmithred
Administrator
Registered: 2016-11-25
Posts: 471

Re: booting Jessie: File system check failed.

If /dev/sda15 contains an encrypted filesystem, then fsck should not be trying to check it. Instead, it should be checking the decrypted filesystem, which would be /dev/mapper/sda15_crypt or some other label.

What's in your /etc/fstab and your /etc/crypttab?
What's the output of blkid?
Is devuan the only operating system on the computer?

Offline

#8 2017-12-06 03:34:48

chillfan
Member
Registered: 2016-12-01
Posts: 31

Re: booting Jessie: File system check failed.

boycottsystemd wrote:

Yes if I remember correctly.

(certainty > 99,9 %)

The installer menus make it look complicated, so it's easy to make a mistake there.

Be sure to post /etc/crypttab and /etc/fstab as mentioned. You can just login with your root password at the maintenence shell and do cat /etc/crypttab and cat /etc/fstab.

Last edited by chillfan (2017-12-06 03:46:49)

Offline

#9 2017-12-11 10:28:42

boycottsystemd
Member
Registered: 2017-09-25
Posts: 20

Re: booting Jessie: File system check failed.

fsmithred wrote:

If /dev/sda15 contains an encrypted filesystem, then fsck should not be trying to check it. Instead, it should be checking the decrypted filesystem, which would be /dev/mapper/sda15_crypt or some other label.

What's in your /etc/fstab and your /etc/crypttab?
What's the output of blkid?
Is devuan the only operating system on the computer?

I've tried new installation (multiboot again) and same problem has appeared. It was solved by some changes in files you've mentioned.

Offline

Board footer