From e9f3ac91934c678ddfb004b9726a75d027997bc8 Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Wed, 20 Jul 2022 20:31:36 +0200 Subject: [PATCH] fix: add archlinux mbr.bin path --- builder.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/builder.go b/builder.go index 3850025..fff3ab7 100644 --- a/builder.go +++ b/builder.go @@ -56,13 +56,13 @@ ff02::3 ip6-allhosts SAY Now booting the kernel from SYSLINUX... LABEL linux KERNEL /boot/vmlinuz-virt - APPEND ro root=UUID=%s rootfstype=ext4 initrd=/boot/initramfs-virt console=ttyS0,115200 + APPEND ro root=UUID=%s rootfstype=ext4 initrd=/boot/initramfs-virt console=ttyS0,115200 ` syslinuxCfgCentOS = `DEFAULT linux SAY Now booting the kernel from SYSLINUX... LABEL linux KERNEL /boot/vmlinuz - APPEND ro root=UUID=%s initrd=/boot/initrd.img net.ifnames=0 console=tty0 console=ttyS0,115200n8 + APPEND ro root=UUID=%s initrd=/boot/initrd.img net.ifnames=0 console=tty0 console=ttyS0,115200n8 ` ) @@ -78,6 +78,8 @@ var ( "/usr/share/syslinux/mbr.bin", // centos path "/usr/share/syslinux/mbr.bin", + // archlinux path + "/usr/lib/syslinux/bios/mbr.bin", } )