Bug #10912
Tails Installer fails to install on USB stick that has a isohybrid dd'ed to it
100%
Description
We should try to reproduce this and investigate:
https://bugs.freedesktop.org/show_bug.cgi?id=76178
had to dd if=/dev/zero the beginning of the disk to work around it.
I guess this means that the isobybrids we instruct people to make (as an alternative of burning a DVD) makes it so that users then will fail to install
Tails to *that* device, at a later stage, which isn't inconceivable that they
want.
if it matters, it was a pretty large (64 GiB) stick.
if it helps, the relevant part of the code is creator.py:843
that's where the exception was thrown.
Files
Subtasks
Related issues
Related to Tails - |
Resolved | 2013-09-26 | |
Related to Tails - |
Rejected | 2017-09-25 | |
Related to Tails - |
Resolved | 2017-12-09 |
History
#1 Updated by Anonymous 2016-01-12 16:39:37
- Status changed from New to Confirmed
#2 Updated by Anonymous 2016-01-12 16:44:34
- Description updated
#3 Updated by intrigeri 2016-01-13 12:27:14
- Category set to Installation
#4 Updated by Anonymous 2016-11-16 15:40:46
The upstream bug in udisks has not really been fixed, but a better error message has been added by upstream.
From what I understand, the problem is that when a partition is wiped, for example during an upgrade, the partition table still contains information about a iso9660 partition table.
People who experience this will have to reformat their USB stick entirely before being able to use it as a Tails stick.
I’ve not tested this with a real usecase, and I think that instructing users to reformat their stick should be good enough. But it very much looks like this is not a bug in tails-installer itself.
#5 Updated by intrigeri 2016-12-06 16:21:37
u wrote:
> I’ve not tested this with a real usecase, and I think that instructing users to reformat their stick should be good enough.
This would work, at least as a first iteration, and should be pretty cheap.
Another option would be that when this failure mode happens, Tails Installer detects it and wipes the partition table itself (which requires yet another sudo password prompt on Debian/Ubuntu, so let’s not do that unless needed). Not sure if it’s worth the effort.
#6 Updated by intrigeri 2016-12-06 16:22:15
- related to
Feature #6304: Automate the most important bits of the Icedove tests added
#7 Updated by Anonymous 2017-06-14 13:26:01
- Assignee set to intrigeri
Reassigning to the foundations team. I let you decide what to do about that.
#8 Updated by intrigeri 2017-06-14 14:26:09
- Subject changed from Tails-Installer possible bug: udisks fails to format iso9660 usb flash drive to Tails Installer fails to install on USB stick that has a isohybrid dd'ed to it
- Assignee changed from intrigeri to kurono
- QA Check set to Info Needed
So I think the next steps are:
- reproduce the bug on Debian Stretch; I seem to remember that some changes in util-linux might have fixed that problem
- carefully copy the error message
- document the workaround (by pointing to our “reset a Tails USB stick” page) where it matters; ideally, as close as possible to the instructions that may lead to this error, i.e. probably the installation instructions from Debian and Tails; and if that doesn’t work, document it on the Known Issues page
I can do at least the documentation part, but kurono: if you want to handle the first two steps, please do! Do you?
#9 Updated by kurono 2017-06-15 19:21:11
intrigeri wrote:
> So I think the next steps are:
>
> # reproduce the bug on Debian Stretch; I seem to remember that some changes in util-linux might have fixed that problem
> # carefully copy the error message
> # document the workaround (by pointing to our “reset a Tails USB stick” page) where it matters; ideally, as close as possible to the instructions that may lead to this error, i.e. probably the installation instructions from Debian and Tails; and if that doesn’t work, document it on the Known Issues page
>
> I can do at least the documentation part, but kurono: if you want to handle the first two steps, please do! Do you?
ok I will :)
#10 Updated by kurono 2017-07-06 16:57:10
- File 3.png added
- File 4.png added
- Assignee changed from kurono to intrigeri
- QA Check changed from Info Needed to Dev Needed
I have reproduced the error in Debian Stretch, and I got the following error on the Tails Installer:
tails-amd64-3.0.iso selected
Partitioning device /dev/sdb
GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error synchronizing after initial wipe: Timed out waiting for object
Tails installation failed!
udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error synchronizing after initial wipe: Timed out waiting for object (0)
I attach two screenshots from gnome-disk and Tails-installer.
#11 Updated by intrigeri 2017-07-17 16:09:04
- Status changed from Confirmed to In Progress
- Assignee changed from intrigeri to sajolida
- % Done changed from 0 to 10
- QA Check changed from Dev Needed to Info Needed
- Type of work changed from Test to User interface design
Thanks! I wonder if “always wiping the first few MiB of the target stick before installing” would be acceptable. If it is, I think it’s not more work than documenting the workaround. The only downside is that it adds a 3rd sudo password prompt on non-Tails systems. The advantage is that we avoid making our installation path more complex with “if this happens then go to that other page” (I think the IA currently tries to be linear, and avoids encouraging the reader to open additional tabs). I’d like sajolida’s opinion on this one.
#12 Updated by intrigeri 2017-07-17 16:09:32
- blocks
Feature #13424: Core work 2017Q3: User experience added
#13 Updated by sajolida 2017-08-02 11:31:28
- Assignee changed from sajolida to kurono
Adding a 3rd root password prompt is probably better than relying on documentation.
Still, bare with me repeating that these multiple root password prompts are a UX abberation (I’m myself often confused about what’s going on, if something went wrong, if this comes from Tails Installer or something else, etc.). I understand that this is the best we can have right now but please don’t forget it’s quite bad.
kurono: Do you want to work on the code?
#14 Updated by kurono 2017-08-07 07:54:04
- Target version set to Tails_3.5
- QA Check deleted (
Info Needed)
#15 Updated by kurono 2017-09-26 16:17:53
- Feature Branch set to Bug/10912-installer-fails-USB-stick-isohybrid
#16 Updated by sajolida 2017-10-03 07:19:23
- blocked by deleted (
)Feature #13424: Core work 2017Q3: User experience
#17 Updated by sajolida 2017-10-03 07:19:32
- blocks
Feature #14761: Core work 2017Q4 → 2018Q1: User experience added
#18 Updated by sajolida 2017-10-03 07:20:12
- blocked by deleted (
)Feature #14761: Core work 2017Q4 → 2018Q1: User experience
#19 Updated by intrigeri 2017-12-15 06:22:43
- related to
Bug #14724: Make Tails Installer's isohybrid detection code robust added
#20 Updated by intrigeri 2018-01-20 09:08:26
- Target version changed from Tails_3.5 to Tails_3.6
- Type of work changed from User interface design to Code
I’m assuming this can be fixed at the same time as Bug #14724 (possibly a duplicate).
#21 Updated by bertagaz 2018-03-14 11:32:10
- Target version changed from Tails_3.6 to Tails_3.7
#22 Updated by intrigeri 2018-04-10 14:01:26
- related to
Bug #15031: Installing to a device that previously had an hybrid ISO copied to it is fragile added
#23 Updated by bertagaz 2018-05-10 11:09:16
- Target version changed from Tails_3.7 to Tails_3.8
#24 Updated by intrigeri 2018-06-26 16:27:53
- Target version changed from Tails_3.8 to Tails_3.9
#25 Updated by Anonymous 2018-08-18 09:48:56
Not sure what is the current status of this ticket? May someone please clarify?
#26 Updated by intrigeri 2018-08-19 11:45:10
Since Tails Installer is going away on non-Tails system (Feature #15292) and the proposed solution has no known problem on Tails, next step is to implement it.
#27 Updated by kurono 2018-08-22 20:51:37
- Assignee changed from kurono to intrigeri
- QA Check set to Info Needed
intrigeri wrote:
> Since Tails Installer is going away on non-Tails system (Feature #15292) and the proposed solution has no known problem on Tails, next step is to implement it.
Funny thing, I am not able to reproduce this anymore. I thought it was because of resolving Bug #15031, but when I reverted the changes made for that ticket, I cannot reproduce the bug anyway.
#28 Updated by intrigeri 2018-08-23 05:35:17
- Assignee changed from intrigeri to kurono
> Funny thing, I am not able to reproduce this anymore. I thought it was because of resolving Bug #15031, but when I reverted the changes made for that ticket, I cannot reproduce the bug anyway.
Interesting! Did you test this on Debian Stretch or in Tails?
#29 Updated by kurono 2018-08-23 15:33:23
- Assignee changed from kurono to intrigeri
intrigeri wrote:
> > Funny thing, I am not able to reproduce this anymore. I thought it was because of resolving Bug #15031, but when I reverted the changes made for that ticket, I cannot reproduce the bug anyway.
>
> Interesting! Did you test this on Debian Stretch or in Tails?
On Debian Stretch only.
#30 Updated by intrigeri 2018-08-24 05:24:15
- Status changed from In Progress to Resolved
- Assignee changed from intrigeri to mercedes508
Dear help desk, do users still report such problems?
(Indeed, our Scenario: Writing a Tails isohybrid to a USB drive and booting it, then installing Tails on top of it using Tails Installer, and it still boots
test case does not expose Bug #15031 anymore AFAICT.)
#31 Updated by mercedes508 2018-08-29 08:19:46
intrigeri wrote:
> Dear help desk, do users still report such problems?
We haven’t seen reports about this issue recently.
#32 Updated by intrigeri 2018-08-30 04:38:51
- Assignee deleted (
mercedes508) - % Done changed from 10 to 100
- QA Check deleted (
Info Needed)
Thanks! Let’s keep this closed for now then. Let us know if you see new bug reports.