add support for booting xen on x86_64 in dev and make initramfs alpine

This commit is contained in:
2025-10-14 16:21:56 -07:00
parent e90b45f58d
commit ab4745058e
9 changed files with 77 additions and 25 deletions

View File

@@ -8,6 +8,13 @@ chainload.path = "$boot\\EFI\\BOOT\\kernel.efi"
chainload.options = ["console=hvc0"]
chainload.linux-initrd = "$boot\\initramfs"
[actions.chainload-xen]
chainload.path = "$boot\\EFI\\BOOT\\xen.efi"
[entries.xen]
title = "Boot Xen"
actions = ["chainload-xen"]
[entries.kernel]
title = "Boot Linux"
actions = ["chainload-kernel"]

View File

@@ -2,6 +2,6 @@
default=sprout
[sprout]
options=console=hvc0
kernel=\EFI\BOOT\KERNEL.EFI
options=clocksource=tsc smp=on smt=on ioapic_ack=new dom0_vcpus_pin=on spec-ctrl=gds-mit=no noreboot console=com1
kernel=\EFI\BOOT\KERNEL.EFI console=hvc0
ramdisk=\initramfs

View File

@@ -0,0 +1,11 @@
version = 1
[extractors.boot.filesystem-device-match]
has-item = "\\EFI\\BOOT\\xen.efi"
[actions.chainload-xen]
chainload.path = "$boot\\EFI\\BOOT\\xen.efi"
[entries.xen]
title = "Boot Xen"
actions = ["chainload-xen"]