You are not logged in.

#1 2013-06-15 16:27:56

rufianw
Member
Registered: 2013-06-15
Posts: 3

[SOLVED] Fail to boot after filesystem upgrade with LVM

I followed the steps here:
https://www.archlinux.org/news/binaries … ervention/

Nevertheless, after a reboot the system didn't boot up because it was not able to mount logical volumes other than / (i.e. /home and /var). This is because now (for a reason I don't know) /dev/mapper/ entries for my logical volumes are missing.

I can workaround boot waiting 90 seconds for the recovery console to appear, giving my root password and typing this:

dmsetup mknodes # create nodes in /dev/mapper
mount -a # mount all entries in fstab
systemctl start multi-user.target # complete boot with graphical environment

Of course, this is painful. I want my system to boot just as fine as it did this morning before the upgrade. Ideas?

Last edited by rufianw (2013-06-15 21:03:41)

Offline

#2 2013-06-15 16:32:11

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Fail to boot after filesystem upgrade with LVM

You're probably missing dmsetup in your initramfs. You should figure out why.

Offline

#3 2013-06-15 16:34:00

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Fail to boot after filesystem upgrade with LVM

To confirm, you can use lsinitcpio.

Offline

#4 2013-06-15 16:43:11

rufianw
Member
Registered: 2013-06-15
Posts: 3

Re: [SOLVED] Fail to boot after filesystem upgrade with LVM

How can I check that?

My `/etc/mkinitcpio.conf` does not contain the word 'dmsetup' nor the ArchLinux wiki told me anything about it there. I have the 'lvm2' hook, though.

`lsinitcpio /boot/initramfs-linux.img |grep dmsetup` returns empty.

Offline

#5 2013-06-15 21:02:32

rufianw
Member
Registered: 2013-06-15
Posts: 3

Re: [SOLVED] Fail to boot after filesystem upgrade with LVM

Just rebuilding the initramfs fixed the issue.

mkinitcpio -p linux

Offline

Board footer

Powered by FluxBB