insert USB Drive and Mount into system, check with lsblk
Make partition for USB Drive: rht-usb usbmkpart /dev/sdx gpt
Format USB Drive the third partition rht-usb usbformat /dev/sdx3
Recreate cache on foundation0 from foundation0:
[root@foundation0 manifests]# cd /content/manifests/ && ls
RH294-RHEL8.0-1.r2019053010-ILT+RAV-7-en_US.icmf RHCIfoundation-RHEL80-7.r2019052915-ILT-7-en_US.icmf
[root@foundation0 manifests]# rht-usb cachef0 RH294-RHEL8.0-1.r2019053010-ILT+RAV-7-en_US.icmf
[root@foundation0 manifests]# rht-usb cachef0 RHCIfoundation-RHEL80-7.r2019052915-ILT-7-en_US.icmf
Verify checksums of artifacts of all deployed manifests
[root@foundation0 manifests]# rht-usb f0validate
INFO Configuration file: /root/.icrm/config.yml
INFO Validating Manifests in /content/manifests
Verifying manifest file RH294-RHEL8.0-1.r2019053010-ILT+RAV-7-en_US.icmf
Publish date: 2019-05-30 10:29:14
type md5sum artifact-name
----------- ------- -----------------------------------------------
content GOODSUM rhel-8.0-x86_64-dvd.iso
content GOODSUM rhel-8.0-x86_64-additional-20190521.iso
content GOODSUM Ansible-Tower-3.5.0-0-20190521-x86_64.iso
content GOODSUM foundation0-rh294-2.8-1.r2019053009gitb52fffd.noarch.rpm
content GOODSUM rhel-classroom-vda-50G-8.0-20190521.qcow2
content NOCHECK rh294-classroom-8.0-20190524.xml
content GOODSUM rhel3-bastion-vda-10G-8.0-20190521.qcow2
content GOODSUM rhel3-workstation-vda-10G-8.0-20190521.qcow2
content GOODSUM rhel3-server-vda-10G-8.0-20190521.qcow2
content GOODSUM rhel-blankdisk-5G-20190201.qcow2
content GOODSUM rh294-bastion-8.0-20190524.xml
content GOODSUM rh294-workstation-8.0-20190524.xml
content GOODSUM rh294-servera-8.0-20190524.xml
content GOODSUM rh294-serverb-8.0-20190524.xml
content GOODSUM rh294-serverc-8.0-20190524.xml
content GOODSUM rh294-serverd-8.0-20190524.xml
content GOODSUM redhat-training-slides-RH294-RHEL8.0-en-1-20190531.noarch.rpm
content GOODSUM ClassroomSetup-RH294-2.8-1.r2019053009gitb52fffd.txt
source NOCHECK RH294-RHEL8.0-en-1-20190531-IG.pdf
=====================================================================
INFO Manifest RH294-RHEL8.0-1.r2019053010-ILT+RAV-7-en_US.icmf passed.
Verifying manifest file RHCIfoundation-RHEL80-7.r2019052915-ILT-7-en_US.icmf
Publish date: 2019-05-29 15:41:50
type md5sum artifact-name
----------- ------- -----------------------------------------------
content ALREADY rhel-8.0-x86_64-dvd.iso
content GOODSUM foundation-config-8.x-7.r2019052915git14db55b.noarch.rpm
content GOODSUM foundation0-config-8.x-7.r2019052915git14db55b.noarch.rpm
content GOODSUM redhat-survey-7.x-58.0.noarch.rpm
content GOODSUM redhat-training-survey-7-59.4.noarch.rpm
content GOODSUM redhat-training-roster-7-59.1.noarch.rpm
content GOODSUM rhci-foundation-8.0-7.r2019052915gitc76cfec.iso
content GOODSUM rht-usb-8.x-7.r2019052915git14db55b
content GOODSUM rht-usb-7.x-6.r2019052915git14db55b
content GOODSUM ClassroomSetup-8.x-7.r2019052915git14db55b.txt
content GOODSUM ClassroomReset-8.x-7.r2019052915git14db55b.txt
content GOODSUM ClassroomTroubleshooting-8.x-7.r2019052915git14db55b.txt
content GOODSUM ClassPrep-8.x-7.r2019052915git14db55b.txt
=====================================================================
INFO Manifest RHCIfoundation-RHEL80-7.r2019052915-ILT-7-en_US.icmf passed.
INFO f0validate SUCCEEDED
Add (or replace) manifest to USB:
rht-usb usbadd RH294-RHEL8.0-1.r2019053010-ILT+RAV-7-en_US.icmf
rht-usb usbadd RHCIfoundation-RHEL80-7.r2019052915-ILT-7-en_US.icmf
Function to make the USB device bootable: rht-usb usbmkboot
Function to make the USB device bootmenu with icmf list: rht-usb usbmkmenu
Validates the USB device as usable for an install : rht-usb usbvalidate
Now you can boot USB Drive for kinds of environment installation. Good Luck...
Create USB Boot Drive From RH Training System
原文:https://www.cnblogs.com/petersonx/p/14772060.html