🖥️ Step-by-Step: Setting Up Partitions in AlmaLinux

1. Boot Into AlmaLinux Installation

  • Download the latest AlmaLinux ISO.
  • Boot from USB/DVD and select “Install AlmaLinux”.

2. Select Installation Destination

  • On the “Installation Summary” screen, click “Installation Destination.”
  • Choose your disk.
  • Under “Storage Configuration”, select “Custom” and click “Done.”

📁 3. Create Partitions (Recommended Layout)

Click “Click here to create them automatically” or use manual creation:

Mount PointSizeFile SystemNotes
/boot1 GBext4Required for boot files
/20 GBxfsMain root filesystem
/var10–30 GBxfsLogs, package cache, mail, etc.
/tmp2–5 GBxfsTemp files
/homeOptionalxfs/ext4Only needed if multiple users
swap2–4 GBswap2x RAM if <4GB RAM

💡 Tip: You can create a separate /data partition if your server stores lots of files.


⚙️ 4. Configure LVM (Optional but Recommended)

  • Use LVM for each partition (except /boot) to allow resizing later.
  • Click “Modify” on each partition and select LVM.

🔐 5. Set Bootloader and Confirm

  • Make sure the bootloader is set to the correct disk (usually /dev/sda).
  • Click “Done”, then “Accept Changes” when prompted.

6. Finish Installation

  • Set root password, create user, and complete setup.
  • Reboot when done.

✅ Post-Install (CLI Check)

After boot, you can confirm partitions using:

lsblk
df -h

By admin