update-initramfs fails for MODULES=dep when root is on nvme device
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Wily |
New
|
Undecided
|
Unassigned | ||
Bug Description
If MODULES=dep is used to create a smaller initramfs, it will fail if the system has its root on NVME device.
# grep ^MODULES /etc/initramfs-
MODULES=dep
# update-initramfs -u
update-initramfs: Generating /boot/initrd.
mkinitramfs: for root /dev/nvme0n1p1 missing nvme /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.
/usr/share/
I will open a bug in Debian as well which has the same issue in Sid.
The upcoming version in experimental changes the logic which may or may not fix the problem.
| Changed in initramfs-tools (Ubuntu): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| assignee: | nobody → Louis Bouchard (louis-bouchard) |
| tags: | added: patch |
| Changed in initramfs-tools (Ubuntu): | |
| status: | Confirmed → In Progress |
| Changed in initramfs-tools (Ubuntu): | |
| assignee: | Louis Bouchard (louis-bouchard) → nobody |

Here is the debdiff for the fix