[Bug 1205397] Re: encrypted install fails because unsafe swap (zram) is detected

Joe joec4204 at rcn.com
Tue Feb 3 15:31:25 UTC 2015


Yes, I ran into this problem again when attempting a install of 14.10
using my (encrypted) 14.04 partitions.  Very frustrating since it takes
5+ minutes per iteration after you quit and try something different.
The problem seems worse -- I tried at least 5 or 6 different variations
before finally being able to complete the install.  Even though I would
run "sudo swapoff --all" (from the terminal, from a virtual console),
I'd still get the error.  I tried deleting my existing partitions and
creating new partitions.

The problem seems worse (or perhaps it's an additional problem) -- there
were several times that I was trying the approach from comment #11 and
not setting mount points until the end, but then the problem was that
after I created one physical volume for encryption, the installer would
hang when I created the second.  (One partition for swap, one for /, in
addition to the unencrypted /boot partition).

In the end, the solution I came up with was to create a partition for
swap but not to use it at all.  (I.e., an install with no swap).  Now
that the install completed, I'll go back and set up that partition to be
swap after the fact.  This will probably be better anyway -- I'll be
able to set it up so that it uses a random key for swap encryption so I
only need to type one passphrase to boot.  (Which is fine since I never
do a hibernate anyway.)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1205397

Title:
  encrypted install fails because unsafe swap (zram) is detected

Status in ubiquity package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1) start installation
  2) choose encrypted
  3) click install now
  4) installation aborts, since an unsafe swap is detected (image in attachment)

  Expected behaviour:
  installation starts after clicking install now

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.10.0-5.15-generic 3.10.2
  Uname: Linux 3.10.0-5-generic i686
  ApportVersion: 2.11-0ubuntu1
  Architecture: i386
  Date: Fri Jul 26 17:46:16 2013
  InstallCmdLine: file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
  InstallationDate: Installed on 2013-07-26 (0 days ago)
  InstallationMedia: Lubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130723.1)
  MarkForUpload: True
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1205397/+subscriptions



More information about the foundations-bugs mailing list