Ubuntu

Can't create initramfs for module-less kernel

Reported by Jürgen Kreileder on 2007-11-28
6
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

I want to create an initramfs for a kernel without modules (actually without module support) on Gutsy (using initramfs-tool 0.85eubuntu20).

update-initramfs fails because mkinitramfs-kpkg can't handle the missing /lib/modules/<kernel-version> directory.

If I create an empty /lib/modules/<kernel-version> dir, everything works fine. That means, I get a working initramfs without any modules.

(The reason for creating an initramfs for a module-less kernel is that my / is on LVM2. The volume needs to get activated by the initramfs.)

Paolo Sammicheli (xdatap1) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
assignee: nobody → Paolo Sammicheli (xdatap1)
Jürgen Kreileder (jk) wrote :

Still happens on Jaunty.

Paolo Sammicheli (xdatap1) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in initramfs-tools (Ubuntu):
status: Incomplete → Confirmed
assignee: Paolo Sammicheli (xdatap1) → nobody
Thomas Hotz (thotz) wrote :

Is this still an issue for you? Which Ubuntu version do you use? Thank you for telling us!

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Incomplete
Malte Swart (malte.swart) wrote :

I recently built a initramfs without modules on presice.
I got a lot of error output:
grep: /boot/config-3.2.33: No such file or directory
WARNING: missing /lib/modules/3.2.33
Device driver support needs thus be built-in linux image!
WARNING: Couldn't open directory /lib/modules/3.2.33: No such file or directory
FATAL: Could not open /lib/modules/3.2.33/modules.dep.temp for writing: No such file or directory
FATAL: Could not load /lib/modules/3.2.33/modules.dep: No such file or directory
[last line 20+ times more]

but update-initramfs built a working initramfs.
So the FATAL error message is not a fatal one.

Thomas Hotz (thotz) on 2012-11-26
Changed in initramfs-tools (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers