You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected bootiso to work, instead it fails saying it could not find SYSLINUX bios folder, as described above.
Reproduction
Run bootiso on Fedora 34.
Run bootiso -d sdd /home/wes/Downloads/Win10_21H1_English_x64.iso with this ISO
See error log:
$ bootiso -d sdd /home/wes/Downloads/Win10_21H1_English_x64.iso
[sudo] password for wes:
bootiso: Found non-hybrid image; inspecting image for boot capabilities...
find: ‘/usr/lib/syslinux’: No such file or directory
find: ‘/usr/lib/syslinux’: No such file or directory
find: ‘/usr/lib/syslinux’: No such file or directory
bootiso: Could not find a SYSLINUX bios folder containing c32 bios module files on this system. Exiting...
bootiso: See https://github.com/jsamr/bootiso/blob/master/install.md#dependencies
Exit status
Non-zero
Environment:
I do not have neofetch. Providing release information instead.
The best solution would be to use the bios folder only if it exists (which is not the case on Fedora).
As a workaround you can apply the patch used in OpenMandriva:
diff --git a/bootiso b/bootiso
index 494db63..ccd4d13 100755
--- a/bootiso+++ b/bootiso@@ -1325,13 +1325,15 @@ function asrt_checkSyslinuxInstall() {
"Your distribution doesn't ship 'extlinux' with the 'syslinux' package." \
"Please install 'extlinux' and try again."
fi
- st_foundSyslinuxBiosFolder=$(find "$ct_syslinuxLibRoot" -type d -path '*/bios' -print -quit)- st_foundSyslinuxMbrBinary=$(fs_findFileFromPatterns "$ct_syslinuxLibRoot" 'bios/mbr.bin' 'mbr.bin')- if [ -z "$st_foundSyslinuxBiosFolder" ]; then++ st_foundSyslinuxBiosFolder="$ct_syslinuxLibRoot"+ if [ ! -d "$st_foundSyslinuxBiosFolder" ]; then
ps_failAndExit MISSING_DEPENDENCY \
"Could not find a SYSLINUX bios folder containing c32 bios module files on this system."
fi
- if [ -z "$st_foundSyslinuxMbrBinary" ]; then++ st_foundSyslinuxMbrBinary="$ct_syslinuxLibRoot/mbr.bin"+ if [ ! -f "$st_foundSyslinuxMbrBinary" ]; then
ps_failAndExit MISSING_DEPENDENCY "Could not find a SYSLINUX MBR binary on this system."
fi
}
bootiso: v 4.1.1
Category
Describe the bug
bootiso: Could not find a SYSLINUX bios folder containing c32 bios module files on this system. Exiting...
Even when I set the environment variable as suggested here: https://github.com/jsamr/bootiso#distros-tweaks
export BOOTISO_SYSLINUX_LIB_ROOT=/usr/share/syslinux
Expected behavior (for behavioral bugs only)
I expected bootiso to work, instead it fails saying it could not find SYSLINUX bios folder, as described above.
Reproduction
Run bootiso on Fedora 34.
Run
bootiso -d sdd /home/wes/Downloads/Win10_21H1_English_x64.iso
with this ISOSee error log:
Exit status
Non-zero
Environment:
I do not have neofetch. Providing release information instead.
Suggestion fix (optional)
I was able to get it working using the instructions in the comment from this old bug report, here: #29 (comment)
The text was updated successfully, but these errors were encountered: