Feature #12705
Update the size of the system partition to >= 4 GiB
100%
Description
This is the parent ticket to implement what we’ve discussed on Feature #11627. The plan we settled with is Feature #11627#note-18, i.e.:
- document that a 8 GiB stick is required
- bump the default system partition size for newly installed Tails to 4 GiB on 8 GiB sticks, and to 8 GiB on sticks of 16 GiB or larger
- refuse installing a new Tails on a stick smaller than 8 GiB
- allow upgrading (by cloning) a legacy stick with a smaller (1.5 or 2.5 GiB) system partition when feasible; note that feasibility is a function of the size of data currently present on the source USB stick, and not of the size of its system partition
- provide useful messages when upgrade by cloning is impossible; we can mention the several available options, along with their pros/cons, i.e. “upgrade from ISO” (easier but has to be done every time) and “migrate to a new USB stick with a larger system partition and copy your persistent data” (painful, but then you’re done with it and get incremental upgrades for a while)
- follow-up bonus, if time allows: have Tails Upgrader mention the “migrate to a new USB stick with a larger system partition” too when incremental upgrade is impossible due to a too small system partition; would be nice, but I don’t want to block on that; it can be handled on
Bug #11628.
The corresponding work will be tracked as subtasks.
Subtasks
Feature #12706: Adjust the documentation wrt. updated system partition size | Resolved | 100 |
|||
Feature #12707: Bump the size of the system partition created by Tails Installer | Resolved | 100 |
Related issues
Related to Tails - |
Resolved | 2016-08-10 | |
Related to Tails - |
Rejected | 2016-08-10 | |
Related to Tails - |
Resolved | 2016-08-20 | |
Related to Tails - Feature #5301: Backup system for the Persistence | Confirmed | 2015-01-27 | |
Related to Tails - |
Duplicate | 2017-02-06 | |
Blocks Tails - |
Resolved | 2017-06-29 | |
Blocks Tails - |
Resolved | 2017-09-11 | |
Blocks Tails - |
Resolved | 2017-07-05 |
History
#1 Updated by intrigeri 2017-06-15 06:32:07
- related to
Feature #11627: Consider updating the default system partition's size added
#2 Updated by intrigeri 2017-06-15 06:33:01
- related to
Bug #11628: Error message on not-enough-free-space in Tails Upgrader is confusing added
#3 Updated by intrigeri 2017-06-15 06:33:09
- related to
Feature #11679: Rethink the installation process and upgrade process added
#4 Updated by intrigeri 2017-06-15 06:33:19
- related to Feature #5301: Backup system for the Persistence added
#5 Updated by intrigeri 2017-06-15 06:33:26
- related to
Feature #12214: Document a way to manually backup persistent data added
#6 Updated by intrigeri 2017-06-29 10:24:04
- blocks
Feature #13234: Core work 2017Q3: Foundations Team added
#7 Updated by intrigeri 2017-09-12 09:26:55
- blocks
Bug #14622: Have the Installer detect when "Clone the current Tails" won't fit in the destination partition before deleting anything added
#8 Updated by intrigeri 2017-09-12 10:59:16
- Status changed from Confirmed to In Progress
- Feature Branch set to feature/12705-bump-system-partition-size
#9 Updated by intrigeri 2017-09-13 11:59:21
- Assignee changed from intrigeri to anonym
- QA Check set to Ready for QA
- Feature Branch changed from feature/12705-bump-system-partition-size to feature/12705-bump-system-partition-size, installer:feature/12705-bump-system-partition-size
#10 Updated by intrigeri 2017-09-15 07:20:32
- Assignee changed from anonym to intrigeri
- QA Check changed from Ready for QA to Dev Needed
This was merged into devel already but I forgot one thing. Testing my fix.
#11 Updated by intrigeri 2017-09-15 08:46:09
- Assignee changed from intrigeri to anonym
- QA Check changed from Dev Needed to Ready for QA
Actually I can’t test it, apparently because the test suite has been broken by the merge of Feature #8859:
Scenario: Booting Tails from a USB drive without a persistent partition and creating one # features/usb_install.feature:46
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen # features/step_definitions/snapshots.rb:172
The Dogtail script raised: SearchError: child of [desktop frame | main]: "tails-installer" application (RuntimeError)
./features/support/helpers/dogtail.rb:81:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:95:in `new'
./features/step_definitions/usb.rb:95:in `/^I start Tails Installer$/'
./features/step_definitions/usb.rb:137:in `/^I (install|upgrade) Tails (?:to|on) USB drive "([^"]+)" (by cloning|from an ISO)$/'
./features/step_definitions/snapshots.rb:154:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:152:in `each'
./features/step_definitions/snapshots.rb:152:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ without\ a\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/usb_install.feature:47:in `Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen'
But my last change should be safe (famous last words!) as it “just” does the same as I have already done in a number of other scenarios. So please test & merge it once the test suite is repaired, or reassign to me once it’s repaired if you prefer.
#12 Updated by anonym 2017-09-15 17:46:31
- Assignee changed from anonym to sajolida
intrigeri wrote:
> Actually I can’t test it, apparently because the test suite has been broken by the merge of Feature #8859:
>
> […]
>
> But my last change should be safe (famous last words!) as it “just” does the same as I have already done in a number of other scenarios. So please test & merge it once the test suite is repaired, or reassign to me once it’s repaired if you prefer.
Everything passes now, except things broken for unrelated reasons (Feature #8860).
Reassigning to sajolida who has the only subtask of this ticket.
#13 Updated by intrigeri 2017-09-15 18:59:30
- Assignee changed from sajolida to anonym
anonym wrote:
> Everything passes now, except things broken for unrelated reasons (Feature #8860).
Well, these “things broken for unrelated reasons” are precisely what my commit is about.
#14 Updated by anonym 2017-09-15 19:09:10
- Assignee changed from anonym to sajolida
intrigeri wrote:
> anonym wrote:
> > Everything passes now, except things broken for unrelated reasons (Feature #8860).
>
> Well, these “things broken for unrelated reasons” are precisely what my commit is about.
Merged now!
#15 Updated by anonym 2017-09-15 20:50:12
- Status changed from In Progress to Fix committed
- % Done changed from 75 to 100
Applied in changeset commit:433c1a7b4a7b4e4eeea51b75d330d5aa733e4cfe.
#16 Updated by intrigeri 2017-09-15 21:16:10
- Status changed from Fix committed to In Progress
#17 Updated by sajolida 2017-09-17 17:41:26
- Status changed from In Progress to Fix committed
- QA Check deleted (
Ready for QA)
#18 Updated by sajolida 2017-09-25 09:36:35
- Assignee deleted (
sajolida)
#19 Updated by anonym 2017-09-28 18:39:46
- Status changed from Fix committed to Resolved
#20 Updated by sajolida 2017-10-03 07:22:44
- blocks
Feature #13424: Core work 2017Q3: User experience added
#21 Updated by adamantium 2018-02-19 23:07:59
A suggestion: on a 16gb usb, perhaps 8gb (half the storage) is more than is desirable for the system partition. It might be preferable to set this to 4gb just like for an 8gb stick. Also, is there a manual way to adjust the size of the system partition for those who would like to adjust this?