-
-
Notifications
You must be signed in to change notification settings - Fork 89
Bootiso: Could not find a SYSLINUX bios folder containing c32 bios module files on this system. #29
Description
Bootiso fails to run on Fedora 27 system with syslinux packages installed.
[root@fedora27 ~]# ~user/bin/bootiso /local/win10/Win10_1803_English_x64.iso
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...
[root@fedora27 ~]# rpm -qa | grep syslinux
syslinux-6.04-0.7.fc27.x86_64
syslinux-extlinux-6.04-0.7.fc27.x86_64
syslinux-nonlinux-6.04-0.7.fc27.noarch
syslinux-extlinux-nonlinux-6.04-0.7.fc27.noarch
Script checks the presence of folder /usr/lib/syslinux/bios and file mbr.bin in bios sub-folder. Folder /usr/lib/syslinux doesn't exist in the file system. Package syslinux-nonlinux-6.04-0.7.fc27.noarch has *.c32 and *.bin files installed in /usr/shares/syslinux/
As a workaround folder /usr/lib/syslinux/bios can be created manually and synced with /usr/shares/syslinux/
[root@fedora27 ~]# rpm -ql syslinux-nonlinux
/usr/share/syslinux/altmbr.bin
/usr/share/syslinux/altmbr_c.bin
/usr/share/syslinux/altmbr_f.bin
/usr/share/syslinux/cat.c32
/usr/share/syslinux/chain.c32
/usr/share/syslinux/cmd.c32
...
[root@fedora27 ~]# find / -type f -name "mbr.bin"
/usr/share/syslinux/mbr.bin
[root@fedora27 ~]# mkdir -p /usr/lib/syslinux/bios
[root@fedora27 ~]# rsync -av /usr/share/syslinux/ /usr/lib/syslinux/bios/
[root@fedora27 ~]# ~user/bin/bootiso /local/win10/Win10_1803_English_x64.iso
bootiso: Found non-hybrid ISO; inspecting ISO for boot capabilities...
bootiso: UEFI boot check validated. Your USB will work with UEFI boot.
bootiso: Partition label automatically set to 'CCCOMA_X64F'.
You can explicitly set label with '-L, --label' option.
bootiso: Listing drives available in your system:
NAME MODEL VENDOR SIZE TRAN HOTPLUG SERIAL
sdf USB Flash 7.6G usb 1
bootiso: Autoselecting 'sdf' (only USB device candidate)
bootiso: The selected device '/dev/sdf' is connected through USB.
bootiso: Created ISO mount point at '/mnt/iso.0TL'.
bootiso: About to wipe out the content of device '/dev/sdf'.
Are you sure you want to proceed? (y/n)>y
bootiso: Erasing contents of '/dev/sdf'
...
bootiso: Created USB device mount point at '/mnt/usb.1Wb'
bootiso: Copying files from ISO to USB device with 'rsync'
bootiso: Synchronizing writes on device '/dev/sdf'
bootiso: Took 870 seconds to perform [install-auto] action.
bootiso: ISO succesfully unmounted (/mnt/iso.0TL).
bootiso: USB device partition succesfully unmounted.
bootiso: USB device succesfully ejected.
You can safely remove it!