Public bug reported:

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.

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to