https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&user=Ddouthitt&feedformat=atomAlpine Linux - User contributions [en]2024-03-29T05:06:57ZUser contributionsMediaWiki 1.40.0https://wiki.alpinelinux.org/w/index.php?title=Enable_Serial_Console_on_Boot&diff=4526Enable Serial Console on Boot2010-10-20T15:49:27Z<p>Ddouthitt: /* How to Enable the Serial Console on Boot (1.10.x) */ added note for extlinux.cfg; copyediting</p>
<hr />
<div>== How to Enable the Serial Console on Boot (1.10.x)==<br />
<br />
When using syslinux to boot, you'll need to modify the syslinux.cfg file in the root directory of the boot device. If using a disk-based Alpine, modify the /boot/extlinux.cfg file.<br />
<br />
Add the following:<br />
* <tt>serial 0 9600</tt><br />
* add <tt>console=ttyS0,9600</tt> to the <tt>append</tt> parameter<br />
* optionally, remove <tt>quiet</tt> from the <tt>append </tt> parameter<br />
<br />
=== Example syslinux.cfg ===<br />
<br />
<pre><br />
serial 0 9600<br />
timeout 20<br />
prompt 1<br />
default grsec<br />
label grsec<br />
kernel /boot/grsec<br />
append initrd=/boot/grsec.gz alpine_dev=sda1:vfat modules=sd-mod,usb-storage console=ttyS0,9600<br />
</pre></div>Ddouthitt