Install Windows 11 next to Zorin OS in encrypted LVM

I'd like to install Windows in dual-boot alongside my Zorin OS. With the default partitioning, I'm doing fine, but the peculiarity is that my system was installed with the encrypted LVM option. I'd like to know if it's possible to do this, because at the moment, I'm stuck on the Live-CD. I can't resize the main partition with Gparted as if the disk was mounted when it's not.

Thanks in advance for any help

If you were willing to reinstall Zorin OS, it would make your life much easier.
Also, are you looking to install on the same drive or separate drives?

1 Like

I'd like to install them on the same disk. And I'd like to avoid having to do a complete formatting.

I'm a little further along in the process. I couldn't reduce the partition in Gparted because with LVM, a logical volume always shows as complete. You have to "reduce the file system" first. I used to do this from the Live CD command line. Now from Gparted, I have free space in my logical volume, so I should be able to proceed with the reduction. But when I run the operation, I get an error message.

Here are the details:

GParted 1.0.0

configuration --enable-libparted-dmraid --enable-online-resize

libparted 3.3

Device:	/dev/nvme0n1
Modèle :	Force MP510
Numéro de série :	none
Taille de secteur :	512
Secteurs totaux :	468862128
Têtes :	255
Secteurs/pistes :	2
Cylindres :	919337
Table de partitions :	gpt
Partition	Type	Start	End	Drapeaux	Partition Name	Système de fichiers	Étiquette	Point de montage
/dev/nvme0n1p1	Primary	2048	1050623	boot, esp	EFI System Partition	fat32		/boot/efi
/dev/nvme0n1p2	Primary	1050624	4050943			ext4		/boot
/dev/nvme0n1p3	Primary	4050944	468860927			luks		/dev/mapper/nvme0n1p3_crypt

Réduire /dev/nvme0n1p3 de 221.64 Gio à 150.97 Gio  00:00:00    ( ERREUR )
calibrer /dev/nvme0n1p3  00:00:00    ( SUCCÈS )
chemin : /dev/nvme0n1p3 (partition)
début : 4050944
fin : 468860927
taille : 464809984 (221.64 Gio)
chemin de chiffrement : /dev/mapper/nvme0n1p3_crypt
réduire le système de fichiers  00:00:00    ( ERREUR )
lvm pvresize -v --yes --setphysicalvolumesize 158291968K '/dev/mapper/nvme0n1p3_crypt'  00:00:00    ( ERREUR )
0 physical volume(s) resized or updated / 1 physical volume(s) not resized
Archiving volume group "vgzorin" metadata (seqno 4).
WARNING: /dev/mapper/nvme0n1p3_crypt: Pretending size is 316583936 not 464777216 sectors.
Resizing volume "/dev/mapper/nvme0n1p3_crypt" to 316583936 sectors.
Resizing physical volume /dev/mapper/nvme0n1p3_crypt from 56735 to 38645 extents.
/dev/mapper/nvme0n1p3_crypt: cannot resize to 38645 extents as later ones are allocated

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.