[Bug 1917424] Re: LVM2 hook not executable; causes update-initramfs to miss adding lvm2 binaries

Paul Goins 1917424 at bugs.launchpad.net
Tue Mar 2 07:27:42 UTC 2021


Also, for completeness:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Hirsute

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
2.03.11-2ubuntu2

3) What you expected to happen
To be able to build a working initramfs to boot Ubuntu after upgrade.

4) What happened instead
initramfs was missing the lvm2 binary and did not pick up my LVs after I decrypted the partition which hosted them.

-- 
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