Feature #5564

palimpsest: do not make Tails USB unbootable

Added by Tails 2013-07-18 07:42:51 . Updated 2013-07-19 01:51:55 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Creating or deleting a second partition using udisks resets the first partition’s attributes.

Normal output is:

$ sgdisk /dev/sdb --attributes=1:show
1:2:1 (legacy BIOS bootable)
1:60:1 (read-only)
1:62:1 (hidden)
1:63:1 (do not automount)

After creating a second partition, the output is empty.

As documented on the syslinux wiki, trying to boot such a broken stick results in the Missing OS message and no boot.

tails-persistence-setup, that creates the persistence partition, workarounds this, but we must report this bug upstream.

This has been reported upstream as Freedesktop 49524.

We have backported the patch to our own parted (as a way to help solving writable system disk: belongs to floppy group in the bugfix/udisks-do-not-make-Tails-USB-unbootable branch. It has been implemented, now done in 0.17.2.


Subtasks


History

#1 Updated by intrigeri 2013-07-19 01:51:55

  • Type of work set to Code

Type of work: Code