mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-04-30 04:44:51 +00:00
efi boot: add note about update-initramfs hooks
and fix "edit kernel command line" to include actual refresh command Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
60598f4ce3
commit
0aebb0d9fc
@ -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
|
.Finish Configuration
|
||||||
|
|
||||||
Finally reboot to bring the changes into effect and check that it is indeed
|
Finally reboot to bring the changes into effect and check that it is indeed
|
||||||
|
@ -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`).
|
(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
|
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]]
|
[[sysboot_edit_kernel_cmdline]]
|
||||||
Editing the kernel commandline
|
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`
|
The kernel commandline needs to be placed as one line in `/etc/kernel/cmdline`.
|
||||||
Running `/etc/kernel/postinst.d/zz-pve-efiboot` sets it as `option` line for
|
To apply your changes, run `pve-efiboot-tool·refresh`, which sets it as the
|
||||||
all config files in `loader/entries/proxmox-*.conf`.
|
`option` line for all config files in `loader/entries/proxmox-*.conf`.
|
||||||
|
Loading…
Reference in New Issue
Block a user