Package: wimtools
Version: 1.11.0-1
Severity: normal

Dear Maintainer,


While trying to create a WinPE boot image via 
        mkwinpeimg --waik-dir=/mnt /tmp/foo.img
image creation failed with the following messages:
# mkwinpeimg  --waik-dir=/mnt /tmp/foo.img
:: Copying primary boot files from the Windows Automated Installation Kit 
(/mnt, X86)                                                 [DONE]
:: Extracting boot.wim from "/mnt/WinPE.cab"                                    
                                                      [DONE]
:: Making disk image "/tmp/foo.img"                                             
                                                      [BUSY] 
/usr/lib/syslinux/chain.c32: No such file or directory
                                                                                
                                                      [FAIL]

After applying the obvious workaround
        ln -sf /usr/lib/syslinux/modules/bios/chain.c32 
/usr/lib/syslinux/chain.c32
things worked fine:
# mkwinpeimg  --waik-dir=/mnt /tmp/foo.img
:: Copying primary boot files from the Windows Automated Installation Kit 
(/mnt, X86)                                                 [DONE]
:: Extracting boot.wim from "/mnt/WinPE.cab"                                    
                                                      [DONE]
:: Making disk image "/tmp/foo.img"                                             
                                                      [DONE]
The image (/tmp/foo.img) is 127905792 bytes.


A fix would probably be to set $syslinuxdir in /usr/bin/mkwinpeimg line 488
appropriately.

I do not know if this bug also exists in upstream wimlib or syslinux.


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.2 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages wimtools depends on:
ii  libc6     2.24-10
ii  libwim15  1.11.0-1

wimtools recommends no packages.

Versions of packages wimtools suggests:
ii  cabextract   1.6-1+b1
ii  genisoimage  9:1.1.11-3+b2
ii  mtools       4.0.18-2+b1
ii  syslinux     3:6.03+dfsg-14.1

-- no debconf information

Reply via email to