Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Saturday, July 4, 2020 at 14:14

In late 2019 I successfully ship multiboot drives with Zorin OS as one among many operating systems within them. I have made the articles in making them multibootable most notably openSUSE, Deepin, and Slackware, as they were actually not supported by GLIM multiboot maker. However, I forgot that I have not made such article about Zorin as I thought I have. Now I remembered it in 2020 and this is the article you can learn once again to make it bootable like what I am currently doing with my latest Zorin articles. Enjoy!

Get Zorin OS

Download it at

Change inc-zorin.cfg

Create a new file named inc-zorin.cfg in your flash drive's boot/grub/ directory and save code text below.
# Zorin
for isofile in $isopath/zorin/Zorin-*.iso; do
  if [ ! -e "$isofile" ]; then break; fi
  regexp \
    --set 1:isoname \
    --set 2:version \
    --set 3:variant \
    --set 4:arch \
    "^${isopath}/zorin/(Zorin-([^-]+)-([^-]+)-([^-]+)\.iso)\$" "${isofile}"
  menuentry "Zorin OS ${version} ${arch} ${variant}" "${isofile}" "${isoname}" --class zorin {
    set isofile=$2
    set isoname=$3
    echo "Using ${isoname}..."
    loopback loop $isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} quiet splash
    initrd (loop)/casper/initrd.lz4*

Change grub.cfg

Add code lines below into your flash drive's grub.cfg where the image file is located under boot/iso/zorin/ directory and the file name is in Zorin-*.iso format. Remember that it is case sensitive.
for isofile in ${isopath}/zorin/Zorin-*.iso; do
  if [ -e "$isofile" ]; then
    menuentry "Zorin >" --class zorin {
      configfile "${prefix}/inc-zorin.cfg"

Add Zorin icon

Download this small zorin.png and save it into your flash drive's boot/grub/themes/invader/icons/ directory.


Now boot your flash drive and you should see Zorin OS presented to choose along with other operating systems you have in that drive.

This article is licensed under CC BY-SA 3.0.