AlmaLinux 9.4 Installation on a Large Partition (30TB) in Single User Mode
In this article, we will discuss the steps to install AlmaLinux 9.4 on a large partition of 30TB in Single User Mode. This guide assumes that you have already downloaded the AlmaLinux 9.4 ISO image and created boot media.
System Requirements
Before we begin, it is important to ensure that your system meets the minimum requirements for installing AlmaLinux 9.4. Here are the recommended system requirements:
- 64-bit x86_64 processor
- 4GB RAM (8GB recommended for KVM virtualization and other memory-intensive workloads)
- 20GB of free disk space (30TB in our case)
- Bootable media (USB drive or DVD) with AlmaLinux 9.4 ISO image
Installation Steps
Follow these steps to install AlmaLinux 9.4 on a large partition in Single User Mode:
- Insert the boot media with AlmaLinux 9.4 ISO image into your system and boot from it.
- At the boot prompt, press
Tabto edit the boot options. Addinst.singleto the boot options to boot into Single User Mode. The final boot command should look like this:linux inst.stage2=hd:LABEL=ALMALinux-9.4-0 rescue inst.singlePress
Enterto boot into Single User Mode. - Once you are in Single User Mode, mount the root file system:
mount /dev/sda1 /mnt/sysimageReplace
/dev/sda1with the name of your root partition. - Create a new file system on the large partition:
mkfs.ext4 /dev/sdbReplace
/dev/sdbwith the name of your large partition. - Mount the large partition:
mount /dev/sdb /mnt/dataCreate a directory for the root file system:
mkdir /mnt/sysimage/dataMount the root file system on the large partition:
mount --bind /mnt/data /mnt/sysimage/dataChroot into the root file system:
chroot /mnt/sysimageConfigure the network:
nmcli device connect ens33Replace
ens33with the name of your network interface. - Install AlmaLinux 9.4:
dnf -y install @base @coreConfigure the large partition:
lvcreate -L 30T -n data vg_sysFormat the large partition:
mkfs.ext4 /dev/mapper/vg_sys-dataMount the large partition:
mount /dev/mapper/vg_sys-data /dataCreate a directory for the root file system:
mkdir /data/rootMount the root file system on the large partition:
mount --bind /data/root /Create a file system table:
/etc/fstabAdd the following line to the file system table:
/dev/mapper/vg_sys-data / ext4 defaults 0 0Save and exit the file system table.
- Reboot the system:
rebootRemove the boot media and press
Enterto reboot the system.
In this article, we have discussed the steps to install AlmaLinux 9.4 on a large partition of 30TB in Single User Mode. We have also covered the system requirements and the installation steps in detail. We hope that this guide has been helpful in installing AlmaLinux 9.4 on a large partition in Single User Mode.