Tails Installer tries to install to too small devices
As reported in https://mailman.boum.org/pipermail/tails-dev/2013-September/003627.html, and confirmed later with our automated test suite, when the destination device is too small (e.g. currently 2 GiB is too small), but already has a MBR partition table (in case in matters), Tails Installer still tries to partition it, and obviously fails. And returns “Error: Can’t have a partition outside the disk!”.
Tails Installer should be better at detecting destination devices that are too small.
Ideally, these devices would simply be filtered out and not proposed as
valid destinations when run with the -P
(aka. “Clone and Install”,
aka. self.parent.opts.partition
is true in liveusb/gui.py
. Ideally,
a warning would be displayed in the logging text area for each ignored
device, so that users don’t wonder why their stick does not appear.
Feature Branch: bugfix/8691-and-6538
Related issues
- Related to #9129 (closed)
- Has duplicate #8408 (closed)
Original created by @intrigeri on 6538 (Redmine)