UPDATE-INITRAMFS(8) | System Administration | UPDATE-INITRAMFS(8) |
update-initramfs - generate an initramfs image
update-initramfs {-c|-d|-u} [-k
version] [-v] [-b directory]
update-initramfs -h
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.
The use of "all" for the version string specifies that update-initramfs should operate on all installed kernel versions (with -c), or on all installed kernel versions that already have an initramfs (with -d or -u).
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
/etc/initramfs-tools/update-initramfs.conf
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, Jeff Bailey <jbailey@raspberryginger.com> and numerous others.
initramfs.conf(5), initramfs-tools(7), mkinitramfs(8), lsinitramfs(8).
2014/10/16 | initramfs-tools |