WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Syslinux update break tc-install on 32-bit platform  (Read 2636 times)

Online polikuo

  • Hero Member
  • *****
  • Posts: 725
Syslinux update break tc-install on 32-bit platform
« on: November 10, 2016, 11:50:05 PM »
Hi everyone !  :)
I just notice there's an update for syslinux
This could break the "tc-install" extension (chain-load function)

Quote
Since version 5.00, some c32 modules need additional files (libraries) so to work correctly.
http://www.syslinux.org/wiki/index.php?title=Library_modules

"vesamenu.c32" and "chain.c32" are critical for graphical boot menu
Both "vesamenu.c32" and "chain.c32" depend on "libcom32.c32" and "libutil.c32" for syslinux 6.0.3

In the shell:
Code: [Select]
line 358: cp /usr/local/share/syslinux/vesamenu.c32 $BOOTDIR/extlinux/.
line 359: cp /usr/local/share/syslinux/chain.c32 $BOOTDIR/extlinux/.

On 64-bit platform, tc-install64.sh is modified at line 358:
Code: [Select]
cp syslinux/vesamenu.c32 /usr/local/share/syslinux/libcom32.c32 /usr/local/share/syslinux/libutil.c32 $BOOTDIR/extlinux/.
Also note that, in the shell
Code: [Select]
line 376: echo "KERNEL chain.c32" >> $BOOTDIR/extlinux/extlinux.confThe syntax needs to be modified as
Code: [Select]
COM32 chain.c32
To make it simple:
Code: [Select]
cat /usr/local/bin/tc-install.sh | \
sed 's#syslinux/vesamenu.c32#syslinux/vesamenu.c32\ /usr/local/share/syslinux/libcom32.c32\ /usr/local/share/syslinux/libutil.c32#g' | \
sed 's#KERNEL\ chain.c32#COM32\ chain.c32#g' \
> /tmp/new-tc-install.sh

I haven't check the xbase.lst yet
See the "XBASE" variable
« Last Edit: November 11, 2016, 12:03:50 AM by polikuo »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Syslinux update break tc-install on 32-bit platform
« Reply #1 on: November 11, 2016, 03:13:40 AM »
Thanks for pointing this out - updated tc-install posted