---
name: "mkinitramfs-kpkg"
section: "8"
platform: "linux"
package: "initramfs-tools"
version: "0.98.8"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/mkinitramfs-kpkg"
---

# mkinitramfs-kpkg(8)

generates an initramfs image for kernel-package

## NAME

mkinitramfs-kpkg - generates an initramfs image for kernel-package

## SYNOPSIS

**mkinitramfs** \[**-o** *outfile*\] \[*version*\] **mkinitramfs** \[**--supported-host-version=** *hversion*\] \[**--supported-target-version=** *tversion*\]

## DESCRIPTION

The **mkinitramfs-kpkg** script calls **mkinitramfs** as wrapper script for kernel-package. It preservers the old mkinitrd calling conventions. It's usage is not recommended. See **update-initramfs (8)** for an better alternative.

## OPTIONS

- **-o** *outfile*

  *Write the image to* *outfile*.

- **--supported-host-version=***hversion*

  *This option queries if mkinitramfs can create ramdisks on a running kernel of version* *hversion*.

- **--supported-target-version=***tversion*

  *This option queries if mkinitramfs can create ramdisks for kernel version* *tversion*.

## AUTHOR

*mkinitramfs-kpkg is maintained by Maximilian Attems \<maks@debian.org\>.*

## SEE ALSO

[*initramfs.conf*(5)](/initramfs.conf/5.md), [*initramfs-tools*(8)](/initramfs-tools/8.md), [*update-initramfs*(8)](/update-initramfs/8.md).
