Transfer an offline installation bundle
Move the offline installation bundle (~/rhem-bundle.tar.gz from Preparing an offline installation bundle) from a connected prep host to an air-gapped target.
Procedure
-
Plan transfer capacity. Check bundle size on the prep machine:
du -sh ~/rhem-bundle.tar.gzA full bundle is typically 5–10 GB depending on variant. Size the USB drive or share quota to fit the archive plus checksum files with headroom.
-
Choose a filesystem for USB drives:
- ext4: Linux-native; best performance on Red Hat Enterprise Linux hosts; not readable on Windows or macOS without additional software.
- exFAT: Cross-platform; readable on Linux, Windows, and macOS; supports files larger than 4 GB.
Important Do not use FAT32 when a single archive exceeds 4 GB. FAT32 cannot store files larger than 4 GB. Use exFAT or ext4 instead, or split the transfer across multiple archives.
-
Generate a checksum on the prep machine before transfer:
sha256sum ~/rhem-bundle.tar.gz | tee ~/rhem-bundle.tar.gz.sha256 -
Copy both the archive and the
.sha256file to the target by using your chosen transfer method. -
On the target machine, verify the checksum before you extract or install:
sha256sum -c ~/rhem-bundle.tar.gz.sha256The command must report
OK. If verification fails, re-copy the archive from the prep machine; do not install from a corrupt file. -
Identify the USB device:
Warning Formatting erases all data on the drive. Run
lsblkand confirm the device path before you runmkfsso you do not overwrite the wrong disk.lsblkExample output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 20.0G 0 disk sdb 8:16 1 64.0G 0 disk └─sdb1 8:17 1 64.0G 0 partIn this example, the USB drive partition is
/dev/sdb1. -
On the prep machine, format the USB drive if needed, mount it, and copy the bundle (ext4 example):
sudo mkfs.ext4 -L rhem-offline /dev/sdb1 sudo mkdir -p /mnt/usb sudo mount /dev/sdb1 /mnt/usb cp ~/rhem-bundle.tar.gz ~/rhem-bundle.tar.gz.sha256 /mnt/usb/ sudo umount /mnt/usbFor exFAT, install
exfatprogs(sudo dnf install -y exfatprogs) and runsudo mkfs.exfat -n rhem-offline /dev/sdb1. -
On the target machine, mount the USB drive, copy the bundle, and unmount:
sudo mkdir -p /mnt/usb sudo mount /dev/sdb1 /mnt/usb cp /mnt/usb/rhem-bundle.tar.gz /mnt/usb/rhem-bundle.tar.gz.sha256 ~/ sudo umount /mnt/usb sha256sum -c ~/rhem-bundle.tar.gz.sha256 -
Using a network share or jump host. When a restricted network path exists between prep and target hosts, use
scpor a temporary HTTP server on the prep machine.-
Copy with
scp:scp ~/rhem-bundle.tar.gz ~/rhem-bundle.tar.gz.sha256 <user>@<target_host>:~/ -
Or run a temporary HTTP server on the prep machine:
python3 -m http.server 8080 --directory ~/On the target (when it can reach the prep machine on the internal network):
curl -O http://<prep_host>:8080/rhem-bundle.tar.gz curl -O http://<prep_host>:8080/rhem-bundle.tar.gz.sha256 sha256sum -c rhem-bundle.tar.gz.sha256
Stop the HTTP server on the prep machine when the transfer completes.
-
Copy with