Bug #8408

Tails Installer should say when a USB stick is too small

Added by goupille 2014-12-08 18:57:15 . Updated 2014-12-09 13:20:13 .

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2014-12-08
Due date:
% Done:

0%

Feature Branch:
Type of work:
Research
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Even if the documentation say that Tails Installer needs at least a 4Go USB stick, when trying to install Tails on a smaller device exit with a cryptic error message instead of just saying that the device is too small.

here is the exact error message :

Exact steps to reproduce the error
—————————————————

dd if=/dev/zero of=/dev/sdb # wait a long time
Run the Tails installer
It fails with the error below:

Actual result and description of the error
—————————————————————

Partitioning device /dev/sdb
Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sdb, start=0, size=2621440000, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Entering MS-DOS parser (offset=0, size=2070937600)
MSDOS_MAGIC found
found partition type 0xee => protective MBR for GPT
Exiting MS-DOS parser
Entering EFI GPT parser
GPT magic found
partition_entry_lba=2
num_entries=128
size_of_entry=128
Leaving EFI GPT parser
EFI GPT partition table detected
containing partition table scheme = 3
got it
got disk
Error: Can’t have a partition outside the disk!
ped_partition_new() failed

LiveUSB creation failed!
Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sdb, start=0, size=2621440000, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Entering MS-DOS parser (offset=0, size=2070937600)
MSDOS_MAGIC found
found partition type 0xee => protective MBR for GPT
Exiting MS-DOS parser
Entering EFI GPT parser
GPT magic found
partition_entry_lba=2
num_entries=128
size_of_entry=128
Leaving EFI GPT parser
EFI GPT partition table detected
containing partition table scheme = 3
got it
got disk
Error: Can’t have a partition outside the disk!
ped_partition_new() failed


Subtasks


Related issues

Is duplicate of Tails - Bug #6538: Tails Installer tries to install to too small devices Resolved 2013-12-26

History

#1 Updated by BitingBird 2014-12-09 13:20:00

  • is duplicate of Bug #6538: Tails Installer tries to install to too small devices added

#2 Updated by BitingBird 2014-12-09 13:20:13

  • Status changed from New to Duplicate