Tag: partition

How to store /var on a separate partition

What is the correct way to store /var on a separate partition? First prepare a new partition (e.g. with parted or fdisk and mkfs). For example, let’s create a new partition in fdisk:

then choose n for the new partition and go through configuration steps. choose w at the end to write changes to …

Continue reading

Disk Encryption on CentOS using LUKS Cryptsetup

luks-linux-disk-encryption

LUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption. By providing a standard on-disk-format, it does not only facilitate compatibility among distributions, but also provides secure management of multiple user passwords. In contrast to existing solution, LUKS stores all setup necessary setup information in the partition header, enabling the user to …

Continue reading