man-pages/man8/update-initramfs.8.html
2021-03-31 01:06:50 +01:00

156 lines
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of UPDATE-INITRAMFS</TITLE>
</HEAD><BODY>
<H1>UPDATE-INITRAMFS</H1>
Section: System Administration (8)<BR>Updated: 2014/10/16<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<P>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
update-initramfs - generate an initramfs image
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>update-initramfs</B>
{<B>-c</B>|<B>-d</B>|<B>-u</B>}
[<B>-k</B>
<I>version</I>]
[<B>-v</B>]
[<B>-b</B>
<I>directory</I>]
<BR>
<B>update-initramfs</B> <B>-h</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<B>update-initramfs</B>
script manages your initramfs images on your local box.
It keeps track of the existing initramfs archives in /boot.
There are three modes of operation create, update or delete.
You must at least specify one of those modes.
<P>
The initramfs is a gzipped cpio archive.
At boot time, the kernel unpacks that archive into RAM disk, mounts and
uses it as initial root file system. All finding of the root device
happens in this early userspace.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-k </B><I> version<DD>
Set the specific kernel version for whom the initramfs will be generated.
For example the output of uname -r for your currently running kernel.
This argument is optional for update. The default is the latest kernel version.
<P>
The use of &quot;all&quot; for the
version</I>
string specifies that
<B>update-initramfs</B>
should operate on all installed kernel versions (with <B>-c</B>), or
on all installed kernel versions that already have an initramfs
(with <B>-d</B> or <B>-u</B>).
<P>
<DT id="2"><B>-c<DD>
This mode creates a new initramfs.
<P>
<DT id="3">-u<DD>
This mode updates an existing initramfs.
<P>
<DT id="4">-d<DD>
This mode deletes an existing initramfs.
<P>
<DT id="5">-v<DD>
This option increases the amount of information you are given during
the chosen action.
<P>
<DT id="6">-b </B><I> directory<DD>
Set an different bootdir for the image creation.
<P>
<DT id="7"></I><B>-h</B>, <B>--help</B><DD>
Print a short help page describing the available options in
<B>update-initramfs.</B>
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
Update the initramfs of the newest kernel:
<P>
<P>
<B>update-initramfs -u</B>
<P>
<P>
Create the initramfs for a specific kernel:
<P>
<P>
<B>update-initramfs -c -k 2.6.18-1-686</B>
<P>
<A NAME="lbAG">&nbsp;</A>
<H2>FILES</H2>
/etc/initramfs-tools/update-initramfs.conf
<P>
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
The initramfs-tools are written by Maximilian Attems &lt;<A HREF="mailto:maks@debian.org">maks@debian.org</A>&gt;,
Jeff Bailey &lt;<A HREF="mailto:jbailey@raspberryginger.com">jbailey@raspberryginger.com</A>&gt; and numerous others.
<P>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<I><A HREF="/cgi-bin/man/man2html?5+initramfs.conf">initramfs.conf</A></I>(5),
<I><A HREF="/cgi-bin/man/man2html?7+initramfs-tools">initramfs-tools</A></I>(7),
<I><A HREF="/cgi-bin/man/man2html?8+mkinitramfs">mkinitramfs</A></I>(8),
<I><A HREF="/cgi-bin/man/man2html?8+lsinitramfs">lsinitramfs</A></I>(8).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="12"><A HREF="#lbAF">EXAMPLES</A><DD>
<DT id="13"><A HREF="#lbAG">FILES</A><DD>
<DT id="14"><A HREF="#lbAH">AUTHOR</A><DD>
<DT id="15"><A HREF="#lbAI">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:18 GMT, March 31, 2021
</BODY>
</HTML>