From 97e6981ddc4e878f28fce911f617344a9871692f Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Sun, 13 Feb 2022 17:49:45 +0100 Subject: [PATCH] mmdebstrap: Read extlinux's MBR from /usr/lib/EXTLINUX `/usr/lib/SYSLINUX` is not available if only `extlinux` is installed. --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 614dd44..0b1e869 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6823,7 +6823,7 @@ Create a bootable USB Stick that boots into a full Debian desktop: set-label /dev/sda1 rootfs : \ mkfs ext4 /dev/sda1 : mount /dev/sda1 / : \ tar-in debian-unstable.tar / xattrs:true : \ - upload /usr/lib/SYSLINUX/mbr.bin /mbr.bin : \ + upload /usr/lib/EXTLINUX/mbr.bin /mbr.bin : \ copy-file-to-device /mbr.bin /dev/sda size:440 : rm /mbr.bin : \ extlinux / : copy-in extlinux.conf / : sync : umount / : shutdown $ qemu-system-x86_64 -m 1G -enable-kvm debian-unstable.img