Changes
→Setting from initrd
To durable logging boot process before root filesystem mounting network device driver and netconsole module must be loaded from initd.
echo 'MODULES+="<network-driver-module> netconsole "' > /etc/sysconfig/mkinitrd/netconsole
chmod +x /etc/sysconfig/mkinitrd/netconsole
echo 'options netconsole netconsole=<sport>@<saddr>/<dev>,<dport>@<daddr>/<dmac>' >> /etc/modprobe.conf
RedHat 6/CentOS 6
echo 'add_drivers+="<network-driver-module> netconsole "' > /etc/dracut.conf.d/netconsole.conf
echo 'options netconsole netconsole=<sport>@<saddr>/<dev>,<dport>@<daddr>/<dmac>' > /etc/modprobe.d/netconsole.conf
Debian/Ubuntu:
echo '<network-driver-module>' >> /etc/initramfs-tools/modules