Shrink encrypted home partition

Raghav

My current partition setup looks like this

$ sudo df -h Filesystem Size Used Avail Use% Mounted on udev 7.7G 0 7.7G 0% /dev tmpfs 1.6G 2.3M 1.6G 1% /run /dev/mapper/nvme0n1p1_crypt 96G 24G 71G 26% / /dev/nvme0n1p3 1.3G 263M 920M 23% /boot /dev/nvme0n1p2 1.5G 40M 1.4G 3% /boot/efi /dev/mapper/nvme0n1p4_crypt 379G 307G 73G 81% /home

I want to shrink my encrypted home partition by 50Gb and make it as a new partition to install windows

I tried Gparted and googled for the solution that doesn't involve loss of data, but no luck

Please suggest a way without data loss

Thanks in advance

Santiago

I suggest you take a look at this article from Ubuntu Help, is very well explained and no data loss is involved. You said you tried Gparted, please note that in order to "play" with partitions you might be using a Live version of Ubuntu, as Ubuntu won't let you shrink any partitions from the system which is being used. Therefore you are going to need the USB you used for installing Ubuntu, or create one from Startup disk creator which is preinstalled in Ubuntu, you will just need to download the Ubuntu image.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Shrink Root partition and allocate free space to Home partition

From Dev

GParted won't seem to let me shrink an encrypted partition

From Dev

Shrink existing Windows partition to extend Linux home one?

From Dev

How to shrink home partition on a running OS (Ubuntu linux)?

From Dev

How can i move an encrypted home directory to another partition?

From Dev

Encrypted separate home partition with Ubuntu, now moving to CentOS

From Dev

How can I increase size of boot partition, if I have an encrypted home partition?

From Dev

Install Ubuntu 19.10 with encrypted swap/home partitions, specifying manually the swap partition

From Dev

Extending a luks encrypted partition

From Dev

How secure is an encrypted partition?

From Dev

How to create an encrypted partition?

From Dev

Is the swap partition encrypted?

From Dev

How secure is an encrypted partition?

From Dev

How to create an encrypted partition?

From Dev

Is the swap partition encrypted?

From Dev

Extending a luks encrypted partition

From Dev

Is my swap partition encrypted?

From Dev

Change encrypted partition UUID

From Dev

Remove TrueCrypt encrypted partition

From Dev

Mount an encrypted partition

From Dev

Disposable Encrypted Partition

From Dev

Set encrypted home passphrase

From Dev

Set encrypted home passphrase

From Dev

eCryptfs encrypted home - explanation

From Dev

Is my home folder encrypted?

From Dev

Encrypted home folder and email

From Dev

Encrypted home: if system fails

From Dev

Shrink or delete udev partition in Ubuntu?

From Dev

Partition shrink with diskpart does nothing