Comment 5 for bug 1511964

Revision history for this message
ivano (ivano-coltellacci) wrote :

Hi Kendek,

I confirm that this issue is related with the syslinux package coming with
Unbuntu 15.10 (a.k.a. syslinux_6.03+dfsg-8ubuntu2)

While waiting for the syslinux fix from maintainers, I can propose a patch that installs,
into an alternative directory tree, the syslinux package coming with Unbuntu 15.04
(a.k.a. syslinux_6.03+dfsg-5ubuntu1). The patch creates symbolic links in order to fool SYSTEMBACK,
so it will use this alternative.

Doing that I successfully created a live system which boots on a legacy BIOS PC.

The attached file contains 3 shell scripts.

1/ wget_syslinux_debs.sh
------------------------
This is a simple script that retrieves the syslinux_6.03+dfsg-5ubuntu1 packages from the launchpad
repository, namely :

       a. isolinux_6.03+dfsg-5ubuntu1_all.deb
       b. syslinux_6.03+dfsg-5ubuntu1_amd64.deb
       c. syslinux-common_6.03+dfsg-5ubuntu1_all.deb
       d. syslinux-utils_6.03+dfsg-5ubuntu1_amd64.deb

2/ patch_current_syslinux.sh
----------------------------
This script does the following:

       a. Unpacks the debian packages in /opt/syslinux
       b. Just in case, it bacupks the original syslinux files in /tmp/backup_syslinux-orig.tgz
       c. Renames /usr/bin/<syslinux-files> as /usr/bin/<syslinux-files>.orig, then
          it creates symbolic links versus their respectives /opt/syslinux/usr/bin/<syslinux-files>
       d. Rename /usr/lib/<syslinux-directories> as /usr/lib/<syslinux-directories>.orig, then
          it creates symbolic links versus their respectives /opt/syslinux/usr/lib/<syslinux-directories>

At this point we can execute SYSTEMBACK, to create a live system, and
then to write it to the pendrive.

3/ restore_original_syslinux.sh
-------------------------------
This script does the following:

       a. Restores the originals /usr/bin/<syslinux-files> from the /usr/bin/<syslinux-files>.orig
       b. Restores the originals /usr/lib/<syslinux-directories> from /usr/bin/<syslinux-directories>.orig
       c. Remove the alternative directory tree in /opt/syslinux

NOTE 1 : the scripts 2 and 3 have to be execued with root privileges (sudo)
NOTE 2 : the /tmp/backup_syslinux-orig.tgz is not removed and can be used if something went wrong.

Have fun.

Ivano.