Changes

Jump to: navigation, search

Remote console setup

629 bytes added, 13:45, 27 February 2010
setup netconsole from initrd
Netconsole documentation is available from <tt>Documentation/networking/netconsole.txt</tt> file under your kernel source directory.
 
=== Setting from initrd ===
 
To durable logging boot process before root filesystem mounting network device driver and netconsole module must be loaded from initd.
 
Redhat/CentOS:
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
Debian/Ubuntu:
echo '<network-driver-module>' >> /etc/initramfs-tools/modules
echo 'netconsole netconsole=<sport>@<saddr>/<dev>,<dport>@<daddr>/<dmac>' >> /etc/initramfs-tools/modules
 
and rebuild initrd
=== Setting up remote side ===
Anonymous user

Navigation menu