Linux
Linux is a family of open-source Unix-like operating systems based on the Linux kernel.

Step 1: Update existing system

yum update -y
reboot

Step 2: Download netinst files

mkdir /boot/newboot
wget https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux -O /boot/newboot/linux
wget https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz -O /boot/newboot/initrd.gz

Step 3: Add GRUB menuentry

/etc/grub.d/40_custom
menuentry "NewBoot" {
set root=(hd0,1)
linux /boot/newboot/linux
initrd /boot/newboot/initrd.gz
}

Step 4: Generate new configuration

grub2-mkconfig -o /boot/grub2/grub.cfg
reboot

(Optional) Encrypt partitions

  • Use Manual partition method
  • Create seperate unencrypted boot partition
  • Set remaining space as physical volume for encryption
  • Encrypt the partition and set up LVM
  • Create swap and root subvolume