From 516f08648890c69564295dc82d4a87638f1d05a2 Mon Sep 17 00:00:00 2001 From: Subhabrata <70436487+Ironfist69@users.noreply.github.com> Date: Sun, 1 Oct 2023 13:53:38 +0530 Subject: [PATCH] Add systemd-boot configuration guide (#32) --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ee09d3..7955970 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ Disable ***Resizable BAR Support*** in BIOS settings. Cards that support Resizable BAR can cause problems with black screens following driver load if Resizable BAR is enabled in UEFI/BIOS. There doesn't seem to be a large performance penalty for disabling it, so turn it off for now until ReBAR support is available for KVM. ***Set the kernel paramater depending on your CPU.*** \ -For GRUB user, edit grub configuration. + +For GRUB user, edit GRUB configuration | /etc/default/grub | | ----- | | `GRUB_CMDLINE_LINUX_DEFAULT="... intel_iommu=on iommu=pt ..."` | @@ -29,6 +30,15 @@ For GRUB user, edit grub configuration. ```sh grub-mkconfig -o /boot/grub/grub.cfg ``` + +For systemd-boot user, edit this configuration +| /boot/loader/entries/*.conf | +| ----- | +| `options root=UUID=...intel_iommu=on iommu=pt..` | +| OR | +| `options root=UUID=...amd_iommu=on iommu=pt..` | + +Unlike GRUB, systemd-boot doesn't require a separate command to regenerate the configuration. It automatically detects changes Reboot your system for the changes to take effect. ***To verify IOMMU, run the following command.***