How to install a graphical desktop in offline environment for 24.03 LTS SP3

Cannot mount the everything image

The issue has been resolved. Download the required RPM packages for UKUI on a machine with internet access, transfer them to the offline machine, and then install them.

mkdir -p /root/ukui-incremental
cd /root/ukui-incremental

# Download unresolved dependencies for UKUI
dnf download --resolve --downloaddir=. ukui

# Compress the downloaded packages
tar -zcf ukui-incremental.tar.gz ukui-incremental

# Transfer and extract on the offline machine
tar -zxf ukui-incremental.tar.gz
cd ukui-incremental

# Install the packages locally
dnf localinstall *.rpm --nogpgcheck -y

# Set default target to graphical mode
systemctl set-default graphical.target

# Reboot the system
reboot