Hard Drive Partition

I have 2 partitions that seem to live off my only drive that has kicksecure on. These 2 partitions are 42 GIG each. What are these for? They say they are swap partitions but Ive never seen something like that and can I reallocate them to the main partition?

Could you share the output of sudo fdisk -l so we can see your partition layout?

1 Like

This is what lsblk provided: the 4gig partion is odd? its a boot partion, I have one and that is 500 MB

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 38.8G 0 loop
└─swapfile 254:1 0 38.8G 0 crypt [SWAP]
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 550M 0 part /boot/efi
├─nvme0n1p2 259:2 0 4G 0 part /boot
└─nvme0n1p3 259:3 0 927G 0 part
└─luks-5a57aff4-79d2-47ba-abb0-1a7f1e52ee01
254:0 0 927G 0 crypt /
nvme1n1 259:4 0 931.5G 0 disk

That looks fairly normal.

  • The /boot/efi partition is an EFI System Partition. This is used to store the GRUB bootloader. It is required for the system to be able to boot.
  • The /boot partition is used for storing the kernel, initramfs, and bootloader configuration. It is intentionally separate from the rest of the system in order to allow for more secure drive encryption.
  • Then you have your crypt partition, which contains your root filesystem. That stores the rest of the OS.
  • The 38.8G swap partition isn’t actually a partition, but is a swap file. Kicksecure’s swap-file-creator creates an encrypted volume within a file, and then uses that encrypted volume for swap, thus providing encrypted swap that is secure even if the rest of your system is unencrypted or if your system’s decryption key is ever stolen. It appears that swap-file-creator is making a swapfile based on the size of your system’s RAM, and you have a lot of RAM? How much RAM does this system have?

At any rate, if you don’t want swap at all, I believe you can use sudo systemctl disable swap-file-creator and then reboot.

1 Like

32GIG. I don’t think I need the swap unless I wanted to do like you suggest, (stolenkey)

ty