You are not logged in.

#1 2011-09-12 22:45:50

RicoTux
Member
Registered: 2011-09-12
Posts: 3

boot lvm fsck.ext4 no such file or directory error

Hi sins my last upgrade my system hangs on boot whit en error saying:

fsck.ext4: No such file or directory while trying to open /dev/mapper/SDA-Arch0

I have /dev/sda encripted true loop-aes(for it's better performance wink)

After some searching i found the file /etc/rc.sysinit runs the fsck program on boot so i edit rc.sysinit and add the following code directly before the fsck part:

mount -n -o remount,rw /
vgscan
vgchange -ay
vgchange --refresh
mount -n -o remount,ro /
sleep 1

Although this has solved the boot error i still have some questions an answered:
What script / program is failing in the first place?
Will my edit be preserved on upgrades?
Hes it something to do whit lvm on a loop device?

Thanks in advans

Offline

#2 2011-09-15 20:40:05

jcornuz
Member
Registered: 2011-04-12
Posts: 11

Re: boot lvm fsck.ext4 no such file or directory error

Thanks RicoTux,

You saved my a** with this one. Although there must be a proper way hmm

Offline

#3 2011-12-11 12:20:41

miky76
Member
From: Italy
Registered: 2011-10-27
Posts: 135

Re: boot lvm fsck.ext4 no such file or directory error

Hi
i've tried your solution, but i still get the same error.

do you know another way for fix the problem?

thanks

Offline

Board footer

Powered by FluxBB