Zum Inhalt springen

Update-initramfs: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
'''update-initramfs'''
'''update-initramfs''' - generate an initramfs image


== Beschreibung ==
== Beschreibung ==
The  update-initramfs  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.


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.
== Installation ==
== Installation ==
<syntaxhighlight lang="bash" highlight="1" line>
<syntaxhighlight lang="bash" highlight="1" line>
Zeile 8: Zeile 10:


== Aufruf ==
== Aufruf ==
<syntaxhighlight lang="bash" highlight="1" line>
<syntaxhighlight lang="bash" highlight="1-2" line>
update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
update-initramfs -h
</syntaxhighlight>
</syntaxhighlight>


Zeile 52: Zeile 56:


; Man-Page  
; Man-Page  
 
# UPDATE-INITRAMFS(8)
; Info-Pages  
; Info-Pages  


Zeile 70: Zeile 74:


= TMP =
= TMP =
UPDATE-INITRAMFS(8)                                    System Administration                                    UPDATE-INITRAMFS(8)
== SYNOPSIS ==
update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
update-initramfs -h
== DESCRIPTION ==
The  update-initramfs  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.
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.
== OPTIONS ==
== OPTIONS ==
-k  version
-k  version
Zeile 108: Zeile 98:
== EXAMPLES ==
== EXAMPLES ==
Update the initramfs of the newest kernel:
Update the initramfs of the newest kernel:
 
update-initramfs -u
update-initramfs -u


Create the initramfs for a specific kernel:
Create the initramfs for a specific kernel:
 
update-initramfs -c -k 2.6.18-1-686
update-initramfs -c -k 2.6.18-1-686


== FILES ==
== FILES ==
/etc/initramfs-tools/update-initramfs.conf
/etc/initramfs-tools/update-initramfs.conf
 
== AUTHOR ==
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, Jeff Bailey <jbailey@raspberryginger.com> and numer‐
ous others.


== SEE ALSO ==
== SEE ALSO ==
initramfs.conf(5), initramfs-tools(7), mkinitramfs(8), lsinitramfs(8).
# initramfs.conf(5)
# initramfs-tools(7)
# mkinitramfs(8)
# lsinitramfs(8)


initramfs-tools                                              2014/10/16                                        UPDATE-INITRAMFS(8)
[[Kategorie:Linux/Befehl]]
[[Kategorie:Linux/Befehl]]

Version vom 21. März 2025, 22:55 Uhr

update-initramfs - generate an initramfs image

Beschreibung

The update-initramfs 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.

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.

Installation

Aufruf

update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
update-initramfs -h

Optionen

Unix GNU Parameter Beschreibung

Parameter

Umgebungsvariablen

Exit-Status

Anwendung

Problembehebung

Konfiguration

Dateien

Datei Beschreibung


Anhang

Siehe auch

Dokumentation

Man-Page
  1. UPDATE-INITRAMFS(8)
Info-Pages

Links

Projekt
Weblinks



TMP

OPTIONS

-k version 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.

The use of "all" for the version string specifies that update-initramfs should operate on all installed kernel ver‐ sions (with -c), or on all installed kernel versions that already have an initramfs (with -d or -u).

-c This mode creates a new initramfs.

-u This mode updates an existing initramfs.

-d This mode deletes an existing initramfs.

-v This option increases the amount of information you are given during the chosen action.

-b directory Set an different bootdir for the image creation.

-h, --help Print a short help page describing the available options in update-initramfs.

EXAMPLES

Update the initramfs of the newest kernel:

update-initramfs -u

Create the initramfs for a specific kernel:

update-initramfs -c -k 2.6.18-1-686

FILES

/etc/initramfs-tools/update-initramfs.conf

SEE ALSO

  1. initramfs.conf(5)
  2. initramfs-tools(7)
  3. mkinitramfs(8)
  4. lsinitramfs(8)