summaryrefslogtreecommitdiff
path: root/man/systemd-boot.xml
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-10-04 15:01:39 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-11-16 12:52:58 +0100
commit941d418d19397bd20c570729877a5dfa37d762b2 (patch)
tree162bfd868bb80289f098ede386e1870845bab972 /man/systemd-boot.xml
parent8fec4f95be7a323410f9853b6773c810ba6c7152 (diff)
downloadsystemd-941d418d19397bd20c570729877a5dfa37d762b2.tar.gz
systemd-boot man page: add section for virtual machines
Diffstat (limited to 'man/systemd-boot.xml')
-rw-r--r--man/systemd-boot.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/systemd-boot.xml b/man/systemd-boot.xml
index 0eee532f90..57b66803fa 100644
--- a/man/systemd-boot.xml
+++ b/man/systemd-boot.xml
@@ -526,6 +526,23 @@
</refsect1>
<refsect1>
+ <title>Using systemd-boot in virtual machines.</title>
+
+ <para>When using qemu with OVMF (UEFI Firmware for virtual machines) the <option>-kernel</option> switch
+ works not only for linux kernels, but for any EFI binary, including sd-boot and unified linux
+ kernels. Example command line for loading sd-boot on x64:</para>
+
+ <para>
+ <command>qemu-system-x86_64 <replaceable>[ ... ]</replaceable>
+ -kernel /usr/lib/systemd/boot/efi/systemd-bootx64.efi</command>
+ </para>
+
+ <para>systemd-boot will detect that it was started directly instead of being loaded from ESP and will
+ search for the ESP in that case, taking into account boot order information from the hypervisor (if
+ available).</para>
+ </refsect1>
+
+ <refsect1>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>bootctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,