]> git.proxmox.com Git - pve-docs.git/commitdiff
efi boot: add note about update-initramfs hooks
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 6 Aug 2019 14:05:00 +0000 (16:05 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 7 Aug 2019 06:23:54 +0000 (08:23 +0200)
and fix "edit kernel command line" to include actual refresh command

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
qm-pci-passthrough.adoc
system-booting.adoc

index d9b842a28f31d30c7a2aa0b47ffc1bba220c2dc5..c1bca7c575e0d7addb0d75c7a4b2d72a586c7eac 100644 (file)
@@ -82,9 +82,6 @@ After changing anything modules related, you need to refresh your
 # update-initramfs -u -k all
 ----
 
 # update-initramfs -u -k all
 ----
 
-If you are using `systemd-boot` make sure to
-xref:sysboot_systemd_boot_refresh[sync the new initramfs to the bootable partitions].
-
 .Finish Configuration
 
 Finally reboot to bring the changes into effect and check that it is indeed
 .Finish Configuration
 
 Finally reboot to bring the changes into effect and check that it is indeed
index fefc9636f7613d2cce853ce2fd3a623afa4f07a7..8400a26e6a0fe7b75646717af656788c103248e6 100644 (file)
@@ -191,7 +191,10 @@ To copy and configure all bootable kernels and keep all ESPs listed in
 (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
 (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
 
 [[sysboot_edit_kernel_cmdline]]
 Editing the kernel commandline
@@ -209,6 +212,6 @@ The kernel commandline needs to be placed in the variable
 
 .Systemd-boot
 
 
 .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`.