Creating encrypted partitions fails

Bug #1309525 reported by ralphb
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When trying to create a new encrypted physical volume using the Kubuntu Trusty installer, partition creation fails with "An error occurred while creating the keyfile". Alas, no further information is provided.
---
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.340
DistroRelease: Ubuntu 14.04
InstallCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
LiveMediaBuild: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
Package: ubiquity 2.18.7
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Tags: trusty ubiquity-2.18.7 kubuntu
Uname: Linux 3.13.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1309525/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command after experiencing this error with the installer, as it will automatically gather debugging information, in a terminal:

  apport-collect 1309525

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → ubiquity (Ubuntu)
Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
ralphb (dev-endlos) wrote : Casper.txt

apport information

tags: added: apport-collected ubiquity-2.18.7
description: updated
Revision history for this message
ralphb (dev-endlos) wrote : Dependencies.txt

apport information

Revision history for this message
ralphb (dev-endlos) wrote : UbiquityDebug.txt

apport information

Revision history for this message
ralphb (dev-endlos) wrote : UbiquityDm.txt

apport information

Revision history for this message
ralphb (dev-endlos) wrote : UbiquityPartman.txt

apport information

Revision history for this message
ralphb (dev-endlos) wrote : UbiquitySyslog.txt

apport information

Revision history for this message
ralphb (dev-endlos) wrote :

Well, we're talking about installation here ... There were quite a few packages missing to run apport-collect, but eventually it worked.

Changed in ubiquity (Ubuntu):
status: Incomplete → New
Revision history for this message
ralphb (dev-endlos) wrote :

Some additional information about the partitions:

Since I did a successful manual installation in the meantime (i.e., not using the installer for setting up encryption) I now simulated a fresh install by deleting my swap partition /dev/sda7 and trying to create a new encrypted partition using the installer.

All partitions show up as sdbX since I'm booting from a USB stick.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim O'Callaghan (timo-linux) wrote :

I have just discovered i have the same problem. Moving from 13.10 to 14.04

Is there a link i can use to manually make the cryptswap with fixed key?

Revision history for this message
Tomasz Ducin (tomasz-ducin) wrote :

I'm trying to install kubuntu 14.04.01 LTS, amd64 version. I have the same bug: installer throws "An error occurred while creating the keyfile" message. As I'm forced to have encrypted data on my laptop (NDA policy), I have to choose guided installation, which is not useful (makes one great partition).

Revision history for this message
Tim Edwards (tkedwards) wrote :

@Tomasz
Install using the Ubuntu Server CD image, which gets you the text-mode installer which has full support for encrypted partitioning. Then 'apt-get install kubuntu-desktop' to get a fully running desktop system
(since they stopped having separate kernel images for desktop and server there are no noticable differences between normal Ubuntu and Ubuntu Server, except of course that Server has the more flexible text-mode installer)

Revision history for this message
carlos abundis (carlosabundis) wrote :
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.