michaelzolliker / TAILS-OSX

Contains instructions and scripts to create a TAILS live cd that will boot on OSX without any additional software installed (no REFIT, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TAILS OSX

Following this guide you will be able to create a TAILS image that will work on OSX without requiring any REFIT or bootloader modifications to the target system.

Dependencies

In order to create a TAILS disk image for OSX you will need the following dependencies:

The easiest way to install these is with homebrew:

brew install git gpg

If you want to build the EFI bootloader yourself you will also need:

Setup TAILS OSX

git clone https://github.com/hellais/TAILS-OSX.git
cd TAILS-OSX

Create the EFI bootloader (optional)

You can build the EFI bootloader directly from Mac OSX (given you have installed vagrant and virtualbox) by running:

vagrant up

This is basically running this command from inside a linux box:

grub2-mkimage -d /usr/lib/grub2-efi/x86_64-efi/ -o BOOTX64.efi \
-O x86_64-efi --prefix /efi/boot part_gpt part_msdos lvm fat ext2 \
chain boot configfile normal minicmd linux reboot halt search \
gfxterm gfxmenu efi_gop efi_uga video loadbios gzio video_bochs \
video_cirrus echo true loadenv

Build the image

./create-image.sh

You will be asked to select a volume that will be formatted and will contain the TAILS live cd.

The script will then proceed to fetch TAILS, verify the signature, mount the iso, move some files in the ISO over to the USB disk and then configure grub properly.

Once you have finished this you will have a usb disk you can boot by holding down the alt-option key at startup.

References

Mainly inspired by:

Misc links:

About

Contains instructions and scripts to create a TAILS live cd that will boot on OSX without any additional software installed (no REFIT, etc.)