During installation error "An error occurred while configuring encrypted" causes data loss
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Briefly:
The ubuntu 20.04 installer writes things to disk before the "security prompt" is issued, and without notifying the user, causing massive data loss.
To reproduce:
- During installation select one volume as "physical volume for encryption" (One that already is a LUKS volume. For example one from an identical install made minutes earlier).
- press "back"
- advance, and select the same volume as physical volume for encryptiona gain
- A popup will appear (which did not appear the first time) "an error occurred while configuring encrypted volumes - the configuration has been aborted"
- Cancel installation
- Realize that changes were written to disk, and the original LUKS volume is now inacessible, and all data is lost, even though you never pressed "continue" and never agreed to write any changes to disk
I first posted this here, but it is clearly reproducible
https:/
This similar report also mentions changes being written to disk before accepting to do so /bugs.launchpad .net/ubuntu/ +source/ systemsettings/ +bug/1761681
https:/