How to Add Custom Kernel Modules to the Jetson Installer ISO (R39.2.1)

Hi NVIDIA Team,

I’m customizing the Jetson Installer ISO (R39.2.1) for the Jetson Orin NX.

I added custom kernel modules to /usr/lib/modules/6.8.12-1021-tegra/extra/ inside ubuntu-server-minimal.ubuntu-server.installer.kernel.squashfs,
rebuilt the ISO, and installed Ubuntu using a USB drive created from my customized ISO.

I referred to the following NVIDIA documentation:

However, the custom kernel modules are not present in the target system after installation.
I also checked the two target OS SquashFS images:

  • ubuntu-server-minimal.squashfs
  • ubuntu-server-minimal.ubuntu-server.squashfs

Neither of these SquashFS images contains kernel modules under /usr/lib/modules/.

My questions are:

  1. How are kernel modules installed into the target RootFS during installation?
  2. Which SquashFS or Debian package should I modify to include custom kernel modules?
  3. Is there an officially recommended way to include custom kernel modules in the Installer ISO?

Thank you for your support.

Hi,

This is only used by the live installer and is not copied to the installed system, so the modules you added there are dropped after installation.

To add custom kernel modules, please refer Jetson ISO Customization Guide — NVIDIA Jetson Linux Developer Guide

Thanks

Hi NVIDIA Team,

Thank you for your response.

My goal is to build a custom Jetson Installer ISO using my own RootFS and custom images.

I understand that installer.kernel.squashfs is only used by the live installer.

However, neither of the following Target RootFS images contains NVIDIA kernel modules:

  • ubuntu-server-minimal.squashfs

  • ubuntu-server-minimal.ubuntu-server.squashfs

Where and how are the NVIDIA kernel modules installed into the Target RootFS?

I would like to customize the RootFS directly rather than use the Debian package method.