how to get serial console set up at install time

Issues related to applications and software problems and general support
Post Reply
kauer
Posts: 16
Joined: 2020/05/03 07:47:30

how to get serial console set up at install time

Post by kauer » 2020/06/14 12:33:06

Not sure if this is a KVM question or not.

I know how to get a serial console working once I have some other access to the virtual - add console=ttyS0 to the kernel line in grub.

But how do I get that added to the kernel line in grub at install time? Without having to retrofit it?

It looks like it can be done with virt-install, but is there any way to add args permanently to the kernel line with a normal install, such as from inside the Centos8 installation program?

Or, more specifically, any way to to get a normal install to come up with serial console access ready to go?

Regards. K.

User avatar
TrevorH
Forum Moderator
Posts: 29149
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how to get serial console set up at install time

Post by TrevorH » 2020/06/14 12:42:30

You can edit the grub kernel command line when it boots from the DVD too.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

kauer
Posts: 16
Joined: 2020/05/03 07:47:30

Re: how to get serial console set up at install time

Post by kauer » 2020/06/14 12:58:43

Changes made to that line at boot time don't stick. Or do they? They don't seem to, but maybe I'm doing it wrong, I'm very new to Centos8).

I'm looking for a way to not have to go back in and make changes.

Thanks, K.

User avatar
TrevorH
Forum Moderator
Posts: 29149
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how to get serial console set up at install time

Post by TrevorH » 2020/06/14 18:12:01

They take effect for the duration of the install only. If you want the same changes on the installed system then you have to make them again.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 8 - General Support”