[Bug 1917424] Re: LVM2 hook not executable; causes update-initramfs to miss adding lvm2 binaries
Daniel van Vugt
1917424 at bugs.launchpad.net
Thu Mar 4 07:29:32 UTC 2021
*** This bug is a duplicate of bug 1915579 ***
https://bugs.launchpad.net/bugs/1915579
** This bug has been marked a duplicate of bug 1916032
/usr/share/initramfs-tools/hooks/lvm2 does not have executable bit set
** This bug is no longer a duplicate of bug 1916032
/usr/share/initramfs-tools/hooks/lvm2 does not have executable bit set
** This bug has been marked a duplicate of bug 1915579
version 2.03.11-2ubuntu1 breaks initramfs
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1917424
Title:
LVM2 hook not executable; causes update-initramfs to miss adding lvm2
binaries
Status in lvm2 package in Ubuntu:
New
Bug description:
I did an upgrade from Groovy to Hirsute today, but the upgrade did not
go well.
I run an encrypted LVM for my root Ubuntu partition. My grub did not
get updated properly at upgrade time, but via a USB startup disk for
Hirsute I was able to repair this myself. However, I spent hours
trying to get grub to detect my LVs.
Ultimately, I found the problem: /usr/share/initramfs-tools/hooks/lvm2
in the lvm2_2.03.11-2ubuntu2_amd64.deb package lacks an executable
flag. Running update-initramfs verbosely highlighted that the hook
was not getting fired for this reason.
Upon adding the executable flag to the file, I was able to use a
chroot to re-build the initramfs and get my system to boot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1917424/+subscriptions
More information about the foundations-bugs
mailing list