Making multiboot ISO with Grub2

xfce-multiboot

We will make Xfce Multiboot ISO 32-bit edition with Grub2.

Xfce distributions

We will download several 32-bit Xfce editions:

Then, we will check if the ISO image are authentic via md5sum records that are downloaded from the above mentioned links.

Structure

In “/home/username/” we will make folder “multiboot”, so that the path looks like this:

/home/username/multiboot/

In folder “multiboot” we will make folder “grub2”, so that the path looks like this:

/home/username/multiboot/grub2/

In folder “grub2” we will make folders “boot” and “images”, so that the paths looks like this:

/home/username/multiboot/grub2/boot/
/home/username/multiboot/grub2/images/

In folder “boot” we will make folder “grub”, so that the path looks like this:

/home/username/multiboot/grub2/boot/grub/

Run text editor (in my case it is gEdit), create new document and paste in it this text:

# GRUB2 Menu by Linux AIO team, website: www.linuxaio.net, contact: info@linuxaio.net
# for tutorial 'How to made Multiboot ISO - Grub2' http://goo.gl/KUFHvI
set timeout=30
set default=0
menuentry "Xubuntu 15.04" {
loopback loop /images/xubuntu-15.04-desktop-i386.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/images/xubuntu-15.04-desktop-i386.iso noeject noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Linux Mint 17.1 Xfce" {
loopback loop /images/linuxmint-17.1-xfce-32bit.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/images/linuxmint-17.1-xfce-32bit.iso noeject noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
menuentry "Linux Lite 2.4" {
loopback loop /images/linux-lite-2.4-32bit.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/images/linux-lite-2.4-32bit.iso noeject noprompt quiet splash --
initrd (loop)/casper/initrd.gz
}
menuentry "Voyager 14.04.04" {
loopback loop /images/Voyager-14.04.04-i386.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/images/Voyager-14.04.04-i386.iso noeject noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}

then save it in folder “grub” and name it “grub.cfg”, so that the path looks like this:

/home/username/multiboot/grub2/boot/grub/grub.cfg

ISO images “xubuntu-15.04-desktop-i386.iso”, “linuxmint-17.1-xfce-32bit.iso”, “linux-lite-2.4-32bit.iso” and “Voyager-14.04.04-i386.iso” move to folder “images”, so that the paths looks like this:

/home/username/multiboot/grub2/images/linux-lite-2.4-32bit.iso
/home/username/multiboot/grub2/images/linuxmint-17.1-xfce-32bit.iso
/home/username/multiboot/grub2/images/Voyager-14.04.04-i386.iso
/home/username/multiboot/grub2/images/xubuntu-15.04-desktop-i386.iso

Than we will install xorriso. Run Terminal and type:

sudo apt-get install xorriso

Making LiveISO

In Terminal we will type path to folder “grub2”:

cd /home/username/multiboot/

then type command for creating LiveISO:

grub-mkrescue -o xfce-multiboot-201505-32bit.iso grub2

After some time, LiveISO image “xfce-multiboot-201505-32bit.iso” will be created and stored in “/home/username/multiboot/”.

Test LiveISO

We will test LiveISO image “xfce-multiboot-201505-32bit.iso” in VirtualBox to discover if there are any errors and to correct them.

MD5SUM

If LiveISO image “xfce-multiboot-201505-32bit.iso” works ok we will make MD5SUM file. Run terminal and type path to folder where is stored LiveISO image “xfce-multiboot-201505-32bit.iso”:

cd /home/username/multiboot/

then type command for creating MD5SUM file:

md5sum xfce-multiboot-201505-32bit.iso > xfce-multiboot-201505-32bit.iso.md5

After some time, MD5SUM file “xfce-multiboot-201505-32bit.iso.md5” will be created and stored in “/home/username/multiboot/”.

Torrent

Next step is creating torrent for LiveISO image “xfce-multiboot-201505-32bit.iso”.

Run BitTorrent client (in my case it is qBittorrent), go to meni “Tools -> Torrent Creation Tool”. In new opened window click on “Add file”, browse to folder where is LiveISO image “xfce-multiboot-201505-32bit.iso”, and it is “/home/username/multiboot/”, click on/select LiveISO image “xfce-multiboot-201505-32bit.iso” and then click on “Open”.

In field “Tracker URLs” paste this text:

udp://tracker.openbittorrent.com:80/announce
udp://open.demonii.com:1337/announce
udp://tracker.publicbt.com:80/announce
udp://tracker.istole.it:80/announce
udp://tracker.leechers-paradise.org:6969/announce
udp://tracker.coppersurfer.tk:6969/announce

Then click on “Create and save…”. Browse to folder where we will stored torrent, and it is “/home/username/multiboot/”, and name it torrent with “xfce-multiboot-201505-32bit.iso.torrent”.

After some time, torrent file “xfce-multiboot-201505-32bit.iso.torrent” will be created and stored ih “/home/username/multiboot/”.

Sharing

Now we can LiveISO image “xfce-multiboot-201505-32bit.iso”, MD5SUM file “xfce-multiboot-201505-32bit.iso.md5” and torrent torrent “xfce-multiboot-201505-32bit.iso.torrent” upload to some host and share download links.

Also, we can burn LiveISO image “xfce-multiboot-201505-32bit.iso” on DVD.

Download

Xfce Multiboot 201505 ISO 32-bit you can download right now:

Xfce Multiboot ISO

Notes

For Xfce Multiboot ISO we used original untouched ISO’s without any customization, as you can see through this short tutorial.

In path “/home/username/multiboot/” instread of “username” you must enter your username.

When you work with some others distributions you must do some changes in “grub.cfg” file.

Source

Translation from serbian: Kako napraviti Multiboot ISO – Grub2.