From 8e6f183b3fc0e79323c7038bbe58ed89d2bb3c2f Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Sun, 13 Feb 2022 19:56:39 +0100 Subject: [PATCH] mmdebstrap: Install mbr.bin in /boot and keep after installation --- mmdebstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 0b1e869..660569b 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6823,8 +6823,8 @@ 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/EXTLINUX/mbr.bin /mbr.bin : \ - copy-file-to-device /mbr.bin /dev/sda size:440 : rm /mbr.bin : \ + upload /usr/lib/EXTLINUX/mbr.bin /boot/mbr.bin : \ + copy-file-to-device /boot/mbr.bin /dev/sda size:440 : \ extlinux / : copy-in extlinux.conf / : sync : umount / : shutdown $ qemu-system-x86_64 -m 1G -enable-kvm debian-unstable.img $ sudo dd if=debian-unstable.img of=/dev/sdXXX status=progress