I tested some solutions I found over the internet, but some were too hard and time consuming and some others didn’t work as expected.
The whole idea is to make changes to the .iso image or the image already transferred to a bootable USB stick, in order for grub to send all output to the serial port. I used many tools and many ways to do this and I found a simple solution that suited me. What I did was quite simple.
First, use Rufus (and only Rufus) to transfer the .iso image to your USB stick. Use the default settings and transfer the .iso image.
Then, there are some file changes. All the changes/additions are marked with bold. The position of the changes matters, so be careful. Below are the final files that worked. Continue reading