update-initramfs
Erscheinungsbild
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 |
---|---|---|---|
-k | version | Set the specific kernel version for whom the initramfs will be generated
your currently running kernel
| |
-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 |
Parameter
Umgebungsvariablen
Exit-Status
Anwendung
- Beispiele
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
Konfiguration
Dateien
Datei | Beschreibung |
---|---|
/etc/initramfs-tools/update-initramfs.conf |
Anhang
Siehe auch
- initramfs.conf(5)
- initramfs-tools(7)
- mkinitramfs(8)
- lsinitramfs(8)
Dokumentation
- Man-Page
- UPDATE-INITRAMFS(8)
- Info-Pages
Links
Projekt
Weblinks