0

I have a 1000GB hard drive, I just want to install (k)Ubuntu with encryption on the first 100GB of the HD.

however, I only have the option of full disk encryption :

picture why ??

if I choose "custom" or "manual", I can only create partition, but not encrypted...

I looked into how to resize encrypted partition, and as always with linux, it's very long and not user-friendly (and for linux-competent people)

edit : I want the extra space to be used with veracrypt encryption (exFAT or FAT32) so I can use that extra partition on windows and linux.

edit²: I don't want to just encrypt /home, I don't know what kind of private information can be left on the system or elsewhere

Ash
  • 1

2 Answers2

0

I am not aware of a way to do it during the installation process; but, if you are trying to install Ubuntu 18.04, you can encrypt the entire disk and AFTERWARDS use GParted to resize the encrypted partition to the 100 GB you need.

Bionic Beaver comes with GParted 0.30 which can resize LUKS partitions just fine. Support was added in GParted 0.28

https://news.softpedia.com/news/gparted-0-28-0-adds-partial-read-write-support-for-luks-encrypted-filesystems-512943.shtml

GParted has a very nice GUI to handle partitions, and is included in the live-CD. You can use Disks to check the status of your partition before resizing

  1. LUKS partition unlocked

LUKS partition unlocked

  1. Ext4 partition not mounted

Ext4 partition not mounted

  1. No key in front of the encrypted partition

No key in front of the Encrypted partition

  1. Encrypted partition resized

Encrypted partition resized

zasjls
  • 76
0

If I understand right, you want to install Ubuntu unencrypted, and leave space for a VeraCrypt partition.

From what I've found, you need to install VeraCrypt from a third-party source before you can use it. (See Recommended way to use VeraCrypt in Ubuntu.) Therefore, you can't set it up during system installation (or maybe it's possible, but probably more difficult than setting it up after).

I'm not sure what's ultimately causing your confusion, but here are the other relevant details:

  • Ubuntu full-disk encryption uses LUKS, not VeraCrypt.
  • You can resize and create new partitions after system installation, using tools like GParted.
    • You could also use manual partitioning and leave an empty space for the VeraCrypt partition, but if you're not familiar with installing Linux, I would recommend one of the the automatic partitioning options.
wjandrea
  • 14,504