kernel update fails when kernels from other distributions are installed in shared /boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Jaunty |
Won't Fix
|
Medium
|
Unassigned |
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.
Cannot find /lib/modules/
update-initramfs: failed for /boot/initrd.
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.
tags: | added: patch-needswork |
Changed in initramfs-tools (Ubuntu Jaunty): | |
status: | Confirmed → Won't Fix |
This also happend to me during a test upgrade when for some reason the /vmlinuz and /initrd links were wrong.