[Touch-packages] [Bug 1917424] Re: LVM2 hook not executable; causes update-initramfs to miss adding lvm2 binaries
*** This bug is a duplicate of bug 1915579 *** https://bugs.launchpad.net/bugs/1915579 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lvm2 (Ubuntu) Status: New => Confirmed -- 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: Confirmed 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
[Touch-packages] [Bug 1917424] Re: LVM2 hook not executable; causes update-initramfs to miss adding lvm2 binaries
*** 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 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
[Touch-packages] [Bug 1917424] Re: LVM2 hook not executable; causes update-initramfs to miss adding lvm2 binaries
To fix a non-booting system: - Boot from live-linux - Mount all file systems of installation to /mnt/ (this depends on your setup) - chroot /mnt/ - chmod 766 /usr/share/initramfs-tools/hooks/lvm2 - update-initramfs -c -k all - reboot -- 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
[Touch-packages] [Bug 1917424] Re: LVM2 hook not executable; causes update-initramfs to miss adding lvm2 binaries
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 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