set_linked_version in initramfs-tools 0.142ubuntu17 from noble has: ``` linktarget= if [ -e /initrd.img ] && [ -L /initrd.img ]; then linktarget="$(basename "$(readlink /initrd.img)")" fi
if [ -e /boot/initrd.img ] && [ -L /boot/initrd.img ]; then linktarget="$(basename "$(readlink /boot/initrd.img)")" fi ``` ** Changed in: initramfs-tools (Ubuntu) Status: Confirmed => Fix Released -- 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/338563 Title: kernel update fails when kernels from other distributions are installed in shared /boot Status in initramfs-tools package in Ubuntu: Fix Released Status in initramfs-tools source package in Jaunty: Won't Fix Bug description: I have multiple linux distributions installed on my computer with a shared /boot partition. I have had this configuration working for a while now with ubuntu as one of the distributions. With jaunty, updates break the boot process every time there is a kernel update and dselect attempts to regenerate initramfs as it incorrectly selects the image from another distribution rather than the ubuntu image. The error message is as follows: Setting up initramfs-tools (0.92bubuntu21) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-initrd-2.6.27.7-desktop-1mnb.img Cannot find /lib/modules/initrd-2.6.27.7-desktop-1mnb.img update-initramfs: failed for /boot/initrd.img-initrd-2.6.27.7-desktop-1mnb.img dpkg: subprocess post-installation script returned error exit status 1 In this case, deselect is trying to update the initrd image for Mandriva - instead of regenerating the ubuntu image: initrd.img-2.6.28-8-generic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/338563/+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