Description of problem:
I'm getting following warning about 'serial' option:
dracut-cmdline: Warning: 'serial' is deprecated and has been removed.
dracut-cmdline: Warning: To change the console use 'console=' instead.
which according to https://fedoraproject.org/wiki/Anaconda_Boot_Options is the only way to "Carry over console settings to the installed system"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start installation with 'serial'
no warning, 'serial' option supported
The documentation needs to be updated, not the serial option.
(In reply to comment #2)
> The documentation needs to be updated, not the serial option.
Is there a replacement for serial? For example, we currently have "console=ttyS0,115200 serial" on command line and serial console works during installation and also after first boot (including grub).
Just remove 'serial' and you should be fine...
(In reply to comment #4)
> Just remove 'serial' and you should be fine...
Without 'serial', serial console doesn't work after reboot:
# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.8.0-0.40.el7.x86_64 root=/dev/mapper/rhel_intel--waimeabay--hedt--01-root ro rd.md=0 rd.dm=0 crashkernel=auto rd.luks=0 rd.lvm.lv=rhel_intel-waimeabay-hedt-01/swap vconsole.keymap=us rd.lvm.lv=rhel_intel-waimeabay-hedt-01/root rhgb quiet
# cat /etc/default/grub
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_CMDLINE_LINUX="rd.md=0 rd.dm=0 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rd.luks=0 rd.lvm.lv=rhel_intel-waimeabay-hedt-01/swap vconsole.keymap=us rd.lvm.lv=rhel_intel-waimeabay-hedt-01/root rhgb quiet"
(In reply to comment #5)
> Without 'serial', serial console doesn't work after reboot
Confirmed in testing here. Should be fixed in this commit:
From the commit message, here's the intended behavior:
* "serial" is deprecated and ignored; try "console=ttyS0" instead.
* If you use "console=XXX" it will be preserved in the installed system.
* If multiple "console=XXX" args are used, the *last* one is preserved.
Verified on anaconda-19.31.50-1, serial option is ignored. "console" is preserved in the installed system.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.