[Bug 1168115] Re: Ubiquity does not support LUKS in manual partitioning mode

nicholas 1168115 at bugs.launchpad.net
Thu Nov 8 06:57:38 UTC 2018


I don't know what version of Ubuntu I was installing when I first
attempted manual partitioning with LUKS (manually configured), but I
know I've run into this issue with at least 14.04 and 18.04. At the time
that I first had an issue with it, I poked around until I found out what
the problem was and fixed it manually during installation time. Since
then, I recently put together (a script)[https://github.com/nbros652
/LUKS-guided-manual-partitioning] that enables semi-manual partitioning
with LUKS. The goal of my script is not to cover all use cases, but to
make it possible to do manual paritioning with LVM and LUKS. If you know
how to set up logical volumes, it's not difficult to add more partitions
manually. What my script does is configure the boot, EFI (if necessary),
LUKS and LVM (swap and home) partitions with a few prompts for
information from the user. Then it waits for the user to perform
installation on the configured partitions. Once installation is
completely my script finishes everything off by remounting the system,
generating the /etc/crypttab file, chrooting into the installed system
and updating the initramfs.

-- 
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/1168115

Title:
  Ubiquity does not support LUKS in manual partitioning mode

Status in ubiquity package in Ubuntu:
  Triaged

Bug description:
  After installing (daily build) into an existing lvm, no crypttab was
  generated in /etc/

  after installing oneiric versions of cryptsetup it appeared - upgrading to rarings cryptsetup version didn't delete the file and made it usable.
  Installing previous Versions in raring itself didn't bring me the crypttab file, so I guess this is not a daily build problem.
  Couldn't find any info about crypttab being deprecated

  Thank you

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: cryptsetup 2:1.4.3-4ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
  Uname: Linux 3.8.0-17-generic x86_64
  ApportVersion: 2.9.2-0ubuntu6
  Architecture: amd64
  Date: Thu Apr 11 21:33:49 2013
  InstallationDate: Installed on 2013-04-10 (0 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130410)
  MarkForUpload: True
  SourcePackage: cryptsetup
  UpgradeStatus: No upgrade log present (probably fresh install)
  crypttab:
   # <target name>	<source device>		<key file>	<options>
   ray /dev/sda5 none luks,discard

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



More information about the foundations-bugs mailing list