Set Up Installation Source

This guide will walk you through obtaining the installation source for your desired OS. This includes the OS kernel and initramfs along with any required packages for your OS installation. You will mount the source into your bootstrap host, at /mnt/iso so that you can copy any files needed by your HTTP/TFTP server later on.

Note

This guide will operate on your bootstrap host since this will act as HTTP/TFTP server later on.

What You’ll Need

Procedure

  1. Go to your management environment and connect to your bootstrap host:

    root@rok-tools:~# ssh root@<IP>

    Replace <IP> with the IP address of your bootstrap host, for example:

    root@rok-tools:~# ssh root@192.168.2.10
  2. Specify the URL for the latest ISO. Choose one of the following options based on your desired OS.

    root@host:~# export OS_URL=http://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.5-x86_64-minimal.iso
  3. Download the latest ISO. Choose one of the following options based on your desired OS.

    root@host:~# curl -# -O ${OS_URL?} ######################################################################## 100.0%

    Troubleshooting

    404 Not Found

    IF you see a 404 error, it means a newer release is available. Use your browser to visit http://download.rockylinux.org/pub/rocky/8/isos/x86_64/ and obtain the URL of the latest minimal ISO.

  4. Mount the ISO under /mnt/iso. Choose one of the following options based on your desired OS.

    root@host:~# mkdir -p /mnt/iso root@host:~# ISO=$(basename ${OS_URL?}) root@host:~# mount ${ISO} /mnt/iso mount: /dev/loop0 is write-protected, mounting read-only

Verify

  1. Ensure that your installation source has the expected contents. Choose one of the following options based on your desired OS.

    root@host:~# find /mnt/iso -maxdepth 1 /mnt/iso /mnt/iso/.discinfo /mnt/iso/.treeinfo /mnt/iso/BaseOS ...

Summary

You have obtained the installation source for your desired OS.

What’s Next

The next step is to configure your HTTP server so that it serves the installation source and the OS configuration files.