Package: extlinux Version: 3:6.04~git20190206.bf6db5b4+dfsg1-3 Severity: normal X-Debbugs-Cc: j...@joshtriplett.org
I'd like to use extlinux as part of building a bootable disk image, without requiring root. Given a directory of files, I can build an ext4 image containing those files using the `-d` option to `mkfs.ext4`. However, I haven't found any way to get extlinux to write its files to a directory while writing its boot sector to the disk image file. Running `extlinux --device disk.img --install target/boot` results in an error message `path target/boot doesn't match device disk.img`. I'd like to bypass that error, and get extlinux to write `ldlinux.*` to `target/boot` while writing the corresponding boot track to `disk.img`. That's the last missing component to being able to set up extlinux for a disk image entirely as non-root. -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages extlinux depends on: ii libc6 2.31-3 Versions of packages extlinux recommends: ii syslinux-common 3:6.04~git20190206.bf6db5b4+dfsg1-3 extlinux suggests no packages. -- no debconf information