156 lines
3.7 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
update-initramfs - generate an initramfs image
|
|
<P>
|
|
<A NAME="lbAC"> </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"> </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"> </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 "all" 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"> </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"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
/etc/initramfs-tools/update-initramfs.conf
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
The initramfs-tools are written by Maximilian Attems <<A HREF="mailto:maks@debian.org">maks@debian.org</A>>,
|
|
Jeff Bailey <<A HREF="mailto:jbailey@raspberryginger.com">jbailey@raspberryginger.com</A>> and numerous others.
|
|
<P>
|
|
<A NAME="lbAI"> </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"> </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>
|