Cannot choose sd card as target device when using tails installer. Tails assistant page mentions sd card installation, however instructions only show usb install.
This is ugly and not recommended.
For this example the following assumptions are made:
- The sd-card will be
/dev/mmcblk0and the USB installation target
- The sd-card is larger than the usb device, if this is not the case see the note at the bottom.
- Both devices are large enough to hold a full Tails install (>=3.5GB).
With that said, the following steps should allow you to boot tails on a device that otherwise presents problems from the Tails installer.
Follow the tails installer up to the point of creating the intermediary Tails USB.
When you reach step to boot the intermediary Tails USB, use
More Optionson the greeter and set a password to enable root access.
Proceed with installing Tails into
/dev/sdb, once the installation is complete do not reboot.
/dev/sdbUSB device and choose the cog icon at the top of the window, then select
Create Disk Image..., choose where to store the image (somewhere with appropriate storage space available, if the ramdisk doesn't suffice) and click
Start Creating.... Allow the process to complete.
Diskschoose the cog icon and select
Restore Disk Image...and select the image created in the last step and click
Start Restoring.... Allow the process to complete.
Open up a terminal and type
sudo gdisk /dev/mmcblk0and use your root password you setup in step 2. At the new prompt (which should read
Command (? for help):) type
xand press return ("
extra functionality (experts only)") then type
relocate backup data structures to the end of the disk") then type
write table to disk and exit") and confirm writing the changes.
- This step is necessary in cases where the USB is a different size from the sd-card, it fixes the GPT partition sizes.
Disks, select the FAT partition named
/dev/mmcblk0device it click the "play" (
▶) button. Go to
Tails(which should have appeared near the
Computeroption) from the top bar and navigate to the
syslinuxfolder. Under that folder edit the
live.cfgfile, there will be two lines in the file starting with
append initrd=...from those lines remove the
live-media=removableoption only and save the file then repeat the process for
- This allows the boot process to use a device not identified as a removable device as the boot device.
Go back to
Disksand under the
/dev/mmcblk0device select the FAT partition labeled
Tailsclick the "stop" (
You should now be able to boot Tails from the sd-card, receive incremental updates and setup encrypted persistence if required.
If the USB is larger than the SD card, replace step 5 and 6 with the following commands:
sudo dd if=/dev/sdb of=/dev/mmcblk0 bs=512to copy what can be written from one device to the other then
sudo syncto ensure the kernel write buffers have been cleared and written to the device.
You will likely need to repeat step 8 and 9 after each upgrade since the syslinux configs will be replaced. Alternatively you can opt to remove the
live-media=removableoption during boot by pressing tab at the boot menu and manually deleting that one option only and pressing return.