Table of Contents

Isolated Multi-Boot

This is an investigation into pure UEFI isolated multi-boot. Multiple operating systems on an external drive with separate boot managers chainloaded from GRUB.

A few take-home points:

Requirements / basic assumptions

Partitioning

In this section we will create the required ESP and the first partition for Arch Linux.

Secure erase the SSD

First, lets secure erase the SSD. If you trust the vendor then follow along. Else well, don't store anything in the clear before encrypting the device. Also, don't rely on this procedure if the SSD is USB attached.

Partition table, ESP and OS-partition

Write a GUID Partition Table (GPT), ESP partition and first OS-partition to the disk.

Install the GRUB2 boot loader

UEFI Shell, our first boot entry

To test the concept, lets create a simple first entry starting the UEFI Shell. If you want to program your own UEFI binaries see Rodericks Hello World example: http://www.rodsbooks.com/efi-programming/hello.html

Arch linux, the second boot entry

Let's install our next OS onto the external drive. We're going to install a full encrypted Arch linux OS, even /boot will be encrypted! For more information read the Arch Linux installation guide

Debian Stretch (9)

Kali