(With a little configuration, Trisquel can be made USB multiboot with GLIM)

Trisquel is by default not supported by GLIM. So, this tutorial provides you support for Trisquel 8.0 "Flidas" for both Regular and Mini editions. In case you don't know, Trisquel is fully free software GNU/Linux distro that is user friendly based on Ubuntu. I publish this in 1 October 2019 so in the future GLIM may be changed to support Trisquel by default.

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

On multibooting: Multisystem | GLIM | MultibootUSB | Aguslr's MBUSB | For openSUSE

Summary


  • Edit configurations
  • Insert icon file
  • Test

Before and After


By default, Trisquel ISO does not appear on GLIM bootloader but Ubuntu ISOs do appear. See below, it's none.
After editing the configuration, Trisquel appears. See below, it shows its logo and name.

 

1. Configurations


For configuring, what we need to do is only to create a new inc-trisquel.cfg plain text file and edit the existed grub.cfg file. Particularly for grub.cfg below, simply copy-paste the code here between ubuntu and xubuntu sections there. All located in [USB]/boot/grub/ directory. See last screenshot to place them correctly.

inc-trisquel.cfg:
# Trisquel
for isofile in $isopath/trisquel/trisquel*.iso; do
  if [ ! -e "$isofile" ]; then break; fi
  regexp \
    --set 1:isoname \
    --set 2:version \
    --set 3:variant \
    --set 4:arch \
    "^${isopath}/trisquel/(trisquel-([^-]+)-(.+)_([^-]+)\.iso)\$" "${isofile}"

menuentry "Try Trisquel without installing ${version} ${arch} ${variant}" "${isofile}" "${isoname}" --class trisquel {
        bootoptions="boot=casper iso-scan/filename=$isofile  splash quiet"
        set isofile=$2
        set isoname=$3
        loopback loop $isofile
        linux (loop)/casper/vmlinuz $bootoptions
        initrd (loop)/casper/initrd
      }

menuentry "Install Trisquel" {
        bootoptions="iso-scan/filename=$iso_path boot=casper splash quiet noprompt only-ubiquity --"
        set isofile=$2
        set isoname=$3
        loopback loop $isofile
        linux (loop)/casper/vmlinuz $bootoptions
        initrd (loop)/casper/initrd
      }
done

grub.cfg:
for isofile in ${isopath}/trisquel/trisquel*.iso; do
  if [ -e "$isofile" ]; then
    menuentry "Trisquel >" --class trisquel {
      configfile "${prefix}/inc-trisquel.cfg"
    }
    break
  fi
done 

Screenshot:


 
Files placement along with other files seen in file manager:


2. Icon


Place a Trisquel icon with file name trisquel.png to [USB]/boot/grub/themes/invader/icons/. Correct placement should appear like below in file manager. Feel free to download the Trisquel icon below.

Trisquel logo PNG 48x48 

Trisquel logo PNG 32x32

 
Trisquel logo PNG 24x24

Logo source in SVG here.



Testing


Restart your computer with USB booting option enabled. Then you should see GLIM bootloader showing Trisquel among other OSes. Happy sharing!


This article is licensed under CC BY-SA 3.0.


, , , , , ,