update-initramfs

SYNOPSIS
       update-initramfs -c|-d|-u [-k version] [-t] [-v] [-b] [-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
        -k  version
              Set  the  specific kernel version for whom the initramfs will be
              generated.  For example the output of uname  -r  for  your  cur-
              rently  running  kernel.   This argument is optional for update.
              The default is the latest kernel version.

              The  use   of   "all"   for   the   version   string   specifies
              update-initramfs  to  execute  the  chosen action for all kernel
              versions, that are already known to update-initramfs.


        -c    This mode creates a new initramfs.


        -u    This mode updates an existing initramfs.


        -d    This mode removes an existing initramfs.


        -t    Allows one to take over an custom initramfs with a newer one.


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


        -b    Set an different bootdir for the image creation.


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


EXAMPLES
       Update the initramfs of the newest kernel:
       /etc/initramfs-tools/update-initramfs.conf


AUTHOR
       The initramfs-tools are written by Maximilian Attems <maks@debian.org>,
       Jeff Bailey <jbailey@raspberryginger.com> and numerous others.


SEE ALSO
        initramfs.conf(5), initramfs-tools(8), mkinitramfs(8).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值