Is there a Step-By-Step Tutorial for extending the main Qubes LUKS /dev/sda2 partition?

119 views
Skip to first unread message

Que Bees

unread,
Oct 22, 2016, 12:01:09 PM10/22/16
to qubes...@googlegroups.com

I recently upgraded my harddrive (750GB) and cloned over my old harddrive (380GB) which had a default Qubes 3.2 installation on it. Now I'd like to add the unused additional space to the main Qubes partition which appears to be /dev/sda2 and is LUKS encrypted.

What is the most efficient way of accomplishing this, is there an existing tutorial written specifically for Qubes?
 
Is there some sort of Qubes recovery mode I can boot to for this operation? Or should I create an Ubuntu LiveCD and following this guide at https://help.ubuntu.com/community/ResizeEncryptedPartitions:

Boot the desktop, live CD. Use gparted (or any tool) to put unallocated space adjacent, and to the left of your Crypt partition. 
Enlarge the Partition storing the crypt with fdisk. 
Reboot ~ You should always reboot after changing your partition table with fdisk. 
Boot the desktop, live CD. Install & configure the tools (lvm2 and cryptsetup). 
Enlarge the Crypt with cryptsetup. 
Enlarge the (LVM) Physical Volume with pvresize. 
Enlarge the (root) (LVM) Logical Volume with lvresize. 
Enlarge the (root) file system with resize2fs. 
Reboot to your encrypted hard drive. 


Thank you!

Marek Marczykowski-Górecki

unread,
Oct 22, 2016, 4:11:07 PM10/22/16
to Que Bees, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The above list looks good. You can use recovery mode from Qubes
installation disk.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYC8fWAAoJENuP0xzK19cslqIH/R6HeEYqs57PaYiDu/TTx2S0
w4XeRwf9GRNMfBzvUhJpr1pZm8WG7EyMWot2ZW2EW2hj8TbxnyuW9Pu1wg/4YPTh
YvKqiLuITXCrFHKHjYvJMmq/b31oyp3+zEdX8M/V1wQbP37LJCoJT7nPv+XsAVaw
wNob4Q5OpciR2+G0j1v1a9O4qdwt/eP0G5IDk+6eA8nA/kcq/+4aldZFwAW+kPgF
YPeDaNmGMbfLycO8W+5qDa1imjScoSu8OA+AgX7JSRSAtU2KuOo21D5TSAKuVqCu
ed77x/VMEZEV42My1xkKzEs84pPcBTr10DPkCU1fRCB/Zlzl0rJJdgjrdRDuohg=
=Fh5Z
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages