I am trying to figure out how to make a bootable USB thumb drive that can install Redhat. My system is an appliance that does not have a CDROM drive. This is for customers, so I cannot require that they purchase a USB CDROM in order to install the software.
I've figured out most of it, but I am stuck.
1. Make the USB drive bootable using syslinux.
2. Copy the RedHat kickstart file into the root of the drive. I edited the file to tell Anaconda to look on the USB drive in a directory called ISO. The installer is able to find the ISO, and it does attempt to run the installer that is located on the ISO. It gets to the point after I enter the passwords, then I get the following error:
Unable to read package metadata. This may be due to a missing
repodata directory. Please ensure that your install tree has
been correctly generated. failure: repodata/repomd.xml from
anaconda: [Errno 256] No more mirrors to try
I've looked in the ISO, and the repodata directory and repomd.xml are there.
How do I figure out where it is looking to find the repodata directory?
I've seen several threads about this, but none seem to have a definitive answer. Most seem to suggest that it is a corrupted ISO download, but I can take the same ISO and burn a CD, and it installs fine.
I found a knowledgebase
article from Redhat that suggests that the directory containing the ISO images also contains a partial unpacked installation tree, but I do not think this is the case because the only file inside the directory is the installation ISO.
Any ideas where to go next?