[pve-devel] [PATCH docs] Improve docs on pve-efiboot-tool

Stefan Reiter s.reiter at proxmox.com
Thu Aug 1 10:46:16 CEST 2019


Add a mention to 'pve-efiboot-tool refresh' in places where
'update-initramfs' is mentioned.

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 local-zfs.adoc          |  5 ++++-
 qm-pci-passthrough.adoc | 18 +++++++++++-------
 system-booting.adoc     |  6 +++---
 3 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/local-zfs.adoc b/local-zfs.adoc
index af330e1..dd447b8 100644
--- a/local-zfs.adoc
+++ b/local-zfs.adoc
@@ -309,7 +309,10 @@ This example setting limits the usage to 8GB.
 If your root file system is ZFS you must update your initramfs every
 time this value changes:
 
- update-initramfs -u
+ update-initramfs -u -k all
+
+If using `systemd-boot` you also need to
+xref:sysboot_systemd_boot_refresh[sync the new initramfs to the bootable partitions]
 ====
 
 
diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc
index d9b842a..9b5c79c 100644
--- a/qm-pci-passthrough.adoc
+++ b/qm-pci-passthrough.adoc
@@ -178,8 +178,9 @@ for passthrough, with
 in a .conf file in */etc/modprobe.d/*.
 
 For both methods you need to
-xref:qm_pci_passthrough_update_initramfs[update the `initramfs`] again and
-reboot after that.
+xref:qm_pci_passthrough_update_initramfs[update the `initramfs`] (and
+xref:sysboot_systemd_boot_refresh[sync the new initramfs to the bootable partitions]
+if necessary) again and reboot after that.
 
 [[qm_pci_passthrough_vm_config]]
 VM Configuration
@@ -250,15 +251,17 @@ Host Configuration
 
 Generally, there are two methods for enabling virtual functions on a device.
 
-* sometimes there is an option for the driver module e.g. for some
+* sometimes there is an option for the driver module, e.g. for some
 Intel drivers
 +
 ----
  max_vfs=4
 ----
 +
-which could be put file with '.conf' ending under */etc/modprobe.d/*.
-(Do not forget to update your initramfs after that)
+can be put in a file with '.conf' ending under */etc/modprobe.d/*.
+Do not forget to xref:qm_pci_passthrough_update_initramfs[update the `initramfs`]
+(including xref:sysboot_systemd_boot_refresh[syncing the new initramfs to the bootable partitions]
+if necessary) after that.
 +
 Please refer to your driver module documentation for the exact
 parameters and options.
@@ -323,8 +326,9 @@ xref:sysboot_edit_kernel_cmdline[Kernel commandline] and add the following param
 ----
 
 After that remember to
-xref:qm_pci_passthrough_update_initramfs[update the `initramfs`],
-and reboot your host.
+xref:qm_pci_passthrough_update_initramfs[update the `initramfs`] (and
+xref:sysboot_systemd_boot_refresh[sync the new initramfs to the bootable partitions]
+if necessary), and reboot your host.
 
 VM Configuration
 ^^^^^^^^^^^^^^^^
diff --git a/system-booting.adoc b/system-booting.adoc
index fefc963..3c66116 100644
--- a/system-booting.adoc
+++ b/system-booting.adoc
@@ -198,7 +198,7 @@ Editing the kernel commandline
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 You can modify the kernel commandline in the following places, depending on the
-bootloarder used:
+bootloader used:
 
 .Grub
 
@@ -209,6 +209,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
+The kernel commandline needs to be placed in `/etc/kernel/cmdline`.
+Running `pve-efiboot-tool refresh` sets it as the `option` line for
 all config files in `loader/entries/proxmox-*.conf`.
-- 
2.20.1





More information about the pve-devel mailing list