1 Prerequisite: Tails with an amd64 kernel (e.g. from current
4 Tested with grub-efi 2.00-22 from Debian unstable.
6 sudo apt-get install grub-efi-amd64-bin
8 # make the system partition an *EFI System Partition* (ESP)
9 parted "$TAILS_DEVICE" set 1 boot on
65 mkdir -p "$TAILS_MOUNTPOINT"/{boot/grub,EFI/BOOT} && \
66 grub-mkimage --output="$TAILS_MOUNTPOINT"/EFI/BOOT/bootx64.efi \
67 --format x86_64-efi $MODULES
69 cat > "$TAILS_MOUNTPOINT"/boot/grub/grub.cfg <<EOF
70 menuentry Tails --class start {
71 echo $"Loading Tails..."
72 linux /live/vmlinuz2 initrd=/live/initrd2.img boot=live config live-media=removable nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails quiet
73 initrd /live/initrd2.img
77 * boots on ThinkPenguin Royal
78 * boots on Macbook 13-inch Mid-2012 with rEFInd; one has to choose
79 *Fallback boot loader from Tails* in rEFInd, *Boot Linux from Tails*