Booting and Installing Rocky Linux
To use VMM, the ISO image you provide must support the serial console. In this guide, we will download the Rocky Linux ISO, modify the boot line to boot from a serial console and use the text-based installer, and then install Rocky Linux.
Download and verify ISO
$ ftp https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.4-x86_64-minimal.iso $ ftp https://download.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM
$ sha256 Rocky-8.4-x86_64-minimal.iso SHA256 (Rocky-8.4-x86_64-minimal.iso) = 0de5f12eba93e00fefc06cdb0aa4389a0972a4212977362ea18bde46a1a1aa4f $ grep Rocky-8.4-x86_64-minimal.iso CHECKSUM SHA256 (Rocky-8.4-x86_64-minimal.iso) = 0de5f12eba93e00fefc06cdb0aa4389a0972a4212977362ea18bde46a1a1aa4f
The two checksums must match perfectly or else you should stop installation!
Booting the ISO
When presented with the boot menu, press the up arrow key to highlight the first entry, "Install Rocky Linux 8"
Next, hit the TAB key to enable editing of the boot line. After the word "quiet" on the boot line, insert this text:
inst.text console=ttyS0,115200n8
The full boot line should read:
vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Rocky-8-4-x86_x64-dvd quiet inst.text console=ttyS0,115200n8
If desired, feel free to remove the word "quiet" from the boot line to see verbose bootup messages.
After editing the boot line to include the text-based installer and serial console options, hit the Enter key to boot the Rocky Linux installer. Proceed through the text-based installer, selecting numbers in the menu to configure the different install options. Reboot the VM at the end of the install and use your new Rocky Linux VM.