New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Need some help with AlmaLinux GUI install
So, I prefer installing AlmaLinux via netboot or the iso and use the GUI to set it up.
I end up doing Full Disk Encryption with LUKS.
Recently got a storage box which has both ssd (for OS around 20gb) and hdd (for storage).
During the install, usually I would select Automatic partitioning and call it a day with a single Disk.
Now if I select automatic, it creates a root partition of let's say 70gb which is overlapping between the small ssd and hdd. It is probably an issue I feel?
So, how does one go about ensuring that the root, boot are on the ssd while the remaining is under hdd... Will maintaining luks for full disk encryption.
Thanks!


Comments
@plumberg
Disclaimer -
This is from MS Co-Pilot
To ensure that the root and boot partitions are on the SSD while the remaining storage is on the HDD, and maintaining LUKS for full disk encryption, you can follow these steps:
Step 1: Identify Your Drives
sh lsblksh sudo fdisk -lStep 2: Partition the Drives
Create partitions on the SSD:
fdiskorparted./) and a small boot partition (/boot)./(20GB) and/boot(1GB).Create partitions on the HDD:
Step 3: Install AlmaLinux
/) to the SSD./boot) to the SSD.Step 4: Set Up LUKS Encryption
sh sudo dnf install -y cryptsetupInitialize LUKS on the SSD partitions:
Replace
/dev/sdX1and/dev/sdX2with the correct device identifiers for the root and boot partitions.Open the encrypted partitions:
sh sudo mkfs.ext4 /dev/mapper/root sudo mkfs.ext4 /dev/mapper/bootsh sudo mount /dev/mapper/root /mnt sudo mount /dev/mapper/boot /mnt/bootStep 5: Complete the Installation
/and/boot.Step 6: Update
/etc/fstab/etc/fstabto ensure the encrypted partitions are mounted automatically at boot:sh echo "/dev/mapper/root / ext4 defaults 0 0" >> /etc/fstab echo "/dev/mapper/boot /boot ext4 defaults 0 0" >> /etc/fstabStep 7: Reboot
By following these steps, you can ensure that your root and boot partitions are on the SSD, while the remaining storage is on the HDD, all while maintaining LUKS for full disk encryption.