[Bug 172465] Re: Can't create initramfs for module-less kernel

Malte Swart launchpad at malteswart.de
Sun Nov 25 21:39:46 UTC 2012


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/172465

Title:
  Can't create initramfs for module-less kernel

Status in “initramfs-tools” package in Ubuntu:
  Incomplete

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.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/172465/+subscriptions




More information about the foundations-bugs mailing list