[pve-devel] applied: [PATCH docs] efi boot: add note about update-initramfs hooks

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Aug 7 08:24:41 CEST 2019


On August 6, 2019 4:05 pm, Stefan Reiter wrote:
> and fix "edit kernel command line" to include actual refresh command
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> Technically a v2 to my previous pve-docs patch, but things have changed quite
> a bit with the update-initramfs hooks.
> 
>  qm-pci-passthrough.adoc |  3 ---
>  system-booting.adoc     | 11 +++++++----
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc
> index d9b842a..c1bca7c 100644
> --- a/qm-pci-passthrough.adoc
> +++ b/qm-pci-passthrough.adoc
> @@ -82,9 +82,6 @@ After changing anything modules related, you need to refresh your
>  # 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
> diff --git a/system-booting.adoc b/system-booting.adoc
> index fefc963..8400a26 100644
> --- a/system-booting.adoc
> +++ b/system-booting.adoc
> @@ -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
> -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
> @@ -209,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`.
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list