snippetbashTip
kernel-install — Add and remove kernel and initrd images to and from `/boot`. More information: <https://www.freedesk
Viewed 0 times
commandkernel-installremoveandcliaddkernel
linux
Problem
How to use the
kernel-install command: Add and remove kernel and initrd images to and from /boot. More information: <https://www.freedesktop.org/software/systemd/man/latest/kernel-install.html>.Solution
kernel-install — Add and remove kernel and initrd images to and from /boot. More information: <https://www.freedesktop.org/software/systemd/man/latest/kernel-install.html>.Add kernel and initramfs images to bootloader partition:
sudo kernel-install add {{kernel-version}} {{kernel-image}} {{path/to/initrd-file ...}}Remove kernel from the bootloader partition:
sudo kernel-install remove {{kernel-version}}Show various paths and parameters that have been configured or auto-detected:
sudo kernel-install inspect {{kernel-image}}Code Snippets
Add kernel and initramfs images to bootloader partition
sudo kernel-install add {{kernel-version}} {{kernel-image}} {{path/to/initrd-file ...}}Remove kernel from the bootloader partition
sudo kernel-install remove {{kernel-version}}Show various paths and parameters that have been configured or auto-detected
sudo kernel-install inspect {{kernel-image}}Context
tldr-pages: linux/kernel-install
Revisions (0)
No revisions yet.