From Fedora Project Wiki
Description
This is to verify that Anaconda installation works over a serial console and the installed system uses it as well. Because computers with serial ports are very scarce today, this test case will describe testing in a virtualized environment, where we can easily emulate that. However, if you have a bare-metal hardware that support serial connections, you can use it instead.
Setup
- Install a virtualization software that supports serial console emulation. The following instructions are related to
virt-manager
. - Prepare any non-live installation media (anything except
Live.iso
). - Prepare a virtual machine in virt-manager and attach the installation media, but don't start it yet.
How to test
- Start the virtual machine and add
console=ttyS0
boot options to the default boot menu item. Don't boot it yet. - On your host system switch to a terminal and connect to the serial console of your virtual machine:
# virsh console <machine_name>
- Switch back to the virtual machine and boot the installer.
- Proceed with installation.
- After the installation is complete and the system is restarted, make sure you are still connected to the serial console in the terminal and boot the new system.
Expected Results
- The boot messages are printed to the serial console.
- The installer is started in a text mode on the serial console.
- The installer is displayed properly and responds to user input properly.
- The installed system displays GRUB boot menu to the serial console.
- The installed system prints boot messages to the serial console.
- The installed system present a working login prompt to the serial console.
- If this doesn't work, please attach output from
systemctl status serial-getty@ttyS0.service
command and/etc/securetty
file into the bug report.
- If this doesn't work, please attach output from