X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=system-booting.adoc;h=d3d7813acc2d2854110e56cb2b1ef913d5b7cd78;hp=2bd32a60435281ec99556ee7435c2e2a7bb214e7;hb=b26b1d126d0795670a91a628ce209c712134565c;hpb=8152d9b60a0dc160e69da02131a7bd139ecead9d diff --git a/system-booting.adoc b/system-booting.adoc index 2bd32a6..d3d7813 100644 --- a/system-booting.adoc +++ b/system-booting.adoc @@ -120,7 +120,7 @@ initrd /EFI/proxmox/5.0.15-1-pve/initrd.img-5.0.15-1-pve .Manually keeping a kernel bootable Should you wish to add a certain kernel and initrd image to the list of -bootable kernel use `pve-efiboot-tool kernel add`. +bootable kernels use `pve-efiboot-tool kernel add`. For example run the following to add the kernel with ABI version `5.0.15-1-pve` to the list of kernels to keep installed and synced to all ESPs: @@ -149,6 +149,8 @@ selected kernels, for example: pve-efiboot-tool kernel remove 5.0.15-1-pve ---- +NOTE: It's required to run `pve-efiboot-tool refresh` to update all EFI System +Partitions (ESPs) after a manual kernel addition or removal from above. [[sysboot_systemd_boot_setup]] .Setting up a new partition for use as synced ESP @@ -181,19 +183,25 @@ trigger a refresh of all configured ESPs. .Updating the configuration on all ESPs To copy and configure all bootable kernels and keep all ESPs listed in -`/etc/kernel/pve-efiboot-uuids` in sync you just need to run `pve-efiboot-tool -refresh`. -(The equivalent to running `update-grub` on Systems being booted with `grub`). +`/etc/kernel/pve-efiboot-uuids` in sync you just need to run: + +---- + pve-efiboot-tool refresh +---- +(The equivalent to running `update-grub` on systems being booted with `grub`). This is necessary should you make changes to the kernel commandline, or want to -sync all kernels and initrds after regenerating the latter. +sync all kernels and initrds. + +NOTE: Both `update-initramfs` and `apt` (when necessary) will automatically +trigger a refresh. [[sysboot_edit_kernel_cmdline]] Editing the kernel commandline ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can modify the kernel commandline in the following places, depending on the -bootloarder used: +bootloader used: .Grub @@ -204,6 +212,6 @@ The kernel commandline needs to be placed in the variable .Systemd-boot -The kernel commandline needs to be placed as line in `/etc/kernel/cmdline` -Running `/etc/kernel/postinst.d/zz-pve-efiboot` sets it as `option` line for -all config files in `loader/entries/proxmox-*.conf`. +The kernel commandline needs to be placed as one line in `/etc/kernel/cmdline`. +To apply your changes, run `pve-efiboot-tool·refresh`, which sets it as the +`option` line for all config files in `loader/entries/proxmox-*.conf`.