You are not logged in.
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 )
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
Thanks RicoTux,
You saved my a** with this one. Although there must be a proper way
Offline
Hi
i've tried your solution, but i still get the same error.
do you know another way for fix the problem?
thanks
Offline