*** This bug is a duplicate of bug 1871154 *** https://bugs.launchpad.net/bugs/1871154
This particular bug has already been reported and is a duplicate of bug #1871154, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find. ** This bug has been marked a duplicate of bug 1871154 Error message displayed during boot (mountroot hook, premount) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1878378 Title: add_mountroot_fail_hook uses wrong target name Status in initramfs-tools package in Ubuntu: New Bug description: Upon boot of a system that uses LVM2 you get the message: ln: /tmp/mountroot-fail-hooks.d//scripts/init-premount/lvm2: No such file or directory This is because the script /usr/share/initramfs-tools/scripts/init- premount/lvm2 uses the add_mountroot_fail_hook function from /usr/share/initramfs-tools/scripts/functions (which is sources right before), but this function contains a bug that takes the full path of the source script instead of the given argument as name for the target. Version of Ubuntu: 20.04 LTS Version of initramfs-tools: 0.136ubuntu6 For a live installation, this may be fixed with (all on one line): sudo sed -i 's,\(ln -s "\$0" /tmp/mountroot-fail- hooks\.d/\)"\$0",\1"\$1",' /usr/share/initramfs- tools/scripts/functions && sudo update-initramfs -u and verified by checking that this message now disappears on next boot: sudo journalctl -b | grep mountroot-fail-hooks A proposed patch for the source distribution is attached. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1878378/+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