Feature #8556

Make Tails Installer work fine outside of Tails

Added by intrigeri 2015-01-06 13:59:30 . Updated 2015-10-02 17:22:57 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
2015-05-12
Due date:
% Done:

81%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Installer
Deliverable for:

Description

  • add support for “install from ISO”
  • make sure “upgrade from ISO” works outside of Tails
  • create a tails-installer-launcher that only proposes these two options
  • refactor things as needed
  • also ship an amd64 syslinux binary in the ISO, otherwise Tails Installer will only work on 32-bit systems

Subtasks

Feature #9381: Ship an amd64 syslinux binary in the ISO Resolved

100

Bug #9574: Research if Tails Installer can work as non-root outside of Tails Resolved

0

Bug #9594: Tails Installer should work as non-root outside of Tails Resolved

100

Feature #9378: Installer: Add support for "install from ISO" Resolved

100

Feature #9379: Installer: Make sure "upgrade from ISO" works outside of Tails Resolved

100

Feature #9380: Create a tails-installer-launcher Resolved

100


Related issues

Has duplicate Tails - Feature #8865: Implement "Install from ISO" in Tails Installer Duplicate 2015-02-04
Blocked by Tails - Feature #7046: Design scenario and features for a Tails Installer package in Debian Resolved
Blocks Tails - Feature #8557: Have Tails Installer uploaded and accepted into Debian Resolved 2015-01-06
Blocked by Tails - Bug #8455: Have gdisk fixed in Jessie Resolved 2014-12-18

History

#1 Updated by intrigeri 2015-01-06 13:59:45

  • blocked by Feature #7046: Design scenario and features for a Tails Installer package in Debian added

#2 Updated by intrigeri 2015-01-06 14:00:54

  • blocks Feature #8557: Have Tails Installer uploaded and accepted into Debian added

#3 Updated by intrigeri 2015-01-06 14:47:18

  • blocks #8538 added

#4 Updated by Anonymous 2015-02-26 10:49:22

  • blocked by Bug #8274: liveusb-creator's gdisk scripts returns error in Jessie added

#5 Updated by Anonymous 2015-02-26 15:09:13

  • Target version changed from Hardening_M1 to Tails_1.4

#6 Updated by intrigeri 2015-03-05 09:42:20

  • blocks deleted (Bug #8274: liveusb-creator's gdisk scripts returns error in Jessie)

#7 Updated by intrigeri 2015-03-05 09:42:33

  • blocked by Bug #8455: Have gdisk fixed in Jessie added

#8 Updated by intrigeri 2015-05-06 08:31:58

  • Description updated

#9 Updated by Anonymous 2015-05-08 14:26:03

sidenote: I’ve built a test package and tested it on a Debian Jessie. When I click “install” though, the updating process seems to be called and I can’t install from ISO.

#10 Updated by intrigeri 2015-05-08 15:54:16

> sidenote: I’ve built a test package and tested it on a Debian Jessie.

Woohoo, here we go!

> When I click “install” though, the updating process seems to be called and I can’t install from ISO.

I would suggest to tackle this part of this ticket first, then:

> * add support for “install from ISO”

I would start with running liveusb-creator by hand. I would start from the command-line the launcher uses for “Upgrade from ISO”, and add to it whatever option “Clone and Install” uses in order to enable partitioning of the target device. It might be that it’s enough to get “Install from ISO” working, but most likely some code changes will be needed.

By the way, now that you’re on it, please file sub-tickets for each deliverable that’s listed in the ticket’s description.

#11 Updated by Anonymous 2015-05-12 15:07:37

Notes:

Design documentation: https://tails.boum.org/contribute/design/installation/

using liveusb-creator -n -x -v we miss the path to syslinux from the ISO:

/tmp/tmpDcHx2_/syslinux  -d syslinux /dev/sdb1
/bin/sh: 1: /tmp/tmpDcHx2_/syslinux: not found
we need to make sure the syslinux installed on the MBR matches exactly the syslinux modules extracted from the ISO.
you might be hit by the lack of a 64-bit syslinux binary in the ISO, though.

#12 Updated by Anonymous 2015-05-12 20:31:14

  • Target version changed from Tails_1.4 to Tails_1.4.1

#13 Updated by Anonymous 2015-06-10 20:01:05

> we need to make sure the syslinux installed on the MBR matches exactly the syslinux modules extracted from the ISO.
> you might be hit by the lack of a 64-bit syslinux binary in the ISO, though.

That actually concerns only the 64bit version for now, which is handled by Feature #9381

#14 Updated by intrigeri 2015-06-18 09:50:38

  • blocked by Bug #9612: Race condition after creating partition in Tails Installer on Jessie added

#15 Updated by intrigeri 2015-07-08 08:17:11

  • blocks deleted (Bug #9612: Race condition after creating partition in Tails Installer on Jessie)

#16 Updated by intrigeri 2015-07-19 07:34:37

  • Status changed from Confirmed to In Progress

#17 Updated by Anonymous 2015-08-04 07:51:27

  • Target version changed from Tails_1.5 to Tails_1.6

#18 Updated by intrigeri 2015-08-26 04:09:57

I see that the launcher has a link to “documentation”, that’s broken outside of Tails. It would be good to grep for other similar issues.

#19 Updated by Anonymous 2015-09-22 15:02:23

intrigeri wrote:
> I see that the launcher has a link to “documentation”, that’s broken outside of Tails. It would be good to grep for other similar issues.

nice find.
i corrected this in [feature/jessie 930168e].

#20 Updated by Anonymous 2015-09-22 15:10:31

did not find similar issues, but po files need to be uodated with the new strings.

#21 Updated by Anonymous 2015-09-22 15:22:34

  • Target version changed from Tails_1.6 to Tails_1.7

#22 Updated by intrigeri 2015-10-02 15:06:27

I remember we had that encoding bug, that occured only when run in some non-English locales, when some external process failed and output non-ascii chars in its error message. Is that bug tracked somewhere? It’s probably a blocker for uploading to sid, but maybe not for uploading to experimental first.

Anything else remaining to do here, that would be a blocker for the initial upload to sid?

#23 Updated by Anonymous 2015-10-02 15:10:15

intrigeri wrote:
> I remember we had that encoding bug, that occured only when run in some non-English locales, when some external process failed and output non-ascii chars in its error message. Is that bug tracked somewhere? It’s probably a blocker for uploading to sid, but maybe not for uploading to experimental first.

opened a new ticket here: Bug #10327

> Anything else remaining to do here, that would be a blocker for the initial upload to sid?

i think everything else has been resolved. yay!

#24 Updated by Anonymous 2015-10-02 15:10:29

  • Assignee set to intrigeri
  • QA Check set to Ready for QA

#25 Updated by intrigeri 2015-10-02 15:27:48

  • blocked by Bug #10327: Verify and correct eventual encoding bugs in Tails installer added

#26 Updated by intrigeri 2015-10-02 17:20:08

  • blocks deleted (Bug #10327: Verify and correct eventual encoding bugs in Tails installer)

#27 Updated by intrigeri 2015-10-02 17:22:57

  • Status changed from In Progress to Resolved
  • Assignee deleted (intrigeri)
  • QA Check changed from Ready for QA to Pass

Indeed, I don’t see any issue left that’s specific to “outside of Tails”. Closing. Congrats!

#28 Updated by sajolida 2015-10-06 09:43:37

  • has duplicate Feature #8865: Implement "Install from ISO" in Tails Installer added