initramfs-tools: please include separated nfs modules

Bug #1217041 reported by Ryan Tandy on 2013-08-26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)

Bug Description

In newer kernels (>= 3.6) the nfs modules were split up and we have to include nfsv3, nfsv4, and nfs_acl now. This was already fixed in raring in initramfs-tools 0.103ubuntu0.3, but precise with lts-raring kernel is still affected.

Marking those modules for inclusion even on older kernels where they don't exist seems to be safe. initramfs-tools doesn't complain.


We have to manually configure the initramfs to include nfsv3/nfsv4 modules before we can boot from NFS.

It is not possible to boot the 12.04.3 LiveCD from NFS (regression compared to .0/.1/.2).

[Test Case]

With linux-image-generic-lts-raring installed, list the contents of the initramfs and check for nfs related modules:

gunzip -c /boot/initrd.img-3.8.0-* | cpio -t | grep nfs

nfsv3.ko and nfsv4.ko should both be present.

[Regression Potential]

Minimal. The change adds three extra modules to the initramfs, and they are ignored on kernels that don't have them.

Ryan Tandy (rtandy) wrote :
Changed in initramfs-tools (Ubuntu Quantal):
status: New → Invalid
Changed in initramfs-tools (Ubuntu Raring):
status: New → Fix Released
Changed in initramfs-tools (Ubuntu Saucy):
status: New → Fix Released
Changed in initramfs-tools (Ubuntu Precise):
status: New → Confirmed

Hello Ryan, or anyone else affected,

Accepted initramfs-tools into precise-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in initramfs-tools (Ubuntu Precise):
status: Confirmed → Fix Committed
tags: added: verification-needed
Yung Shen (kaxing) wrote :

By generating initrd.lz with initramfs-tools 0.99ubuntu13.2 on stock live image and replace old on pxe server,
Tested and it works.

Detailed Steps:

1. booting system with current stock 12.04.3 image on usb
2. and enable -proposed in software-center-properties then apt-get udpate
3. apt-get install initramfs-tools
4. mkinitramfs -c lzma -o /tmp/initrd.lz `uname -r`
5. unlzma -c -S .lz /tmp/initrd.lz| cpio -t | grep nfs
6. verified that nfs3 and nfs4 are both in initrd.lz

tags: added: verification-done-precise
Ryan Tandy (rtandy) wrote :

Looks good here. Diskless clients are booting with the 3.8 kernel now.

tags: added: verification-done
removed: verification-done-precise verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.99ubuntu13.2

initramfs-tools (0.99ubuntu13.2) precise; urgency=low

  * Add nfsv3, nfsv4 and nfs_acl to the base modules to fix nfs booting with
    newer kernels. (LP: #1217041)
 -- Ryan Tandy <email address hidden> Mon, 26 Aug 2013 10:46:56 -0700

Changed in initramfs-tools (Ubuntu Precise):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Shu Shen (shu-shen) wrote :

This bug fix is not found in the milestone ubuntu-12.04.4.
Shouldn't it be included for 12.04.4 so that the CDs will be able to boot from NFS?

Or maybe it's automatically included as the initramfs package has been released to -updates?
Just want to make sure that the 12.04.4 CD is tested for this fix and will actually boot from NFS.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers