[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:general_admin:serial_console [2013/01/07 02:36 (UTC)] – Added file names to file flags mfillpothowtos:general_admin:serial_console [2014/11/14 09:18 (UTC)] (current) – add GRUB2 section fdonkers
Line 68: Line 68:
 </file> </file>
  
-===== Setup GRUB boot loader =====+===== Setup GRUB-legacy boot loader =====
 Edit ''/boot/grub/menu.lst'' and change it as follows: Edit ''/boot/grub/menu.lst'' and change it as follows:
  
Line 100: Line 100:
 will be chosen as the console. The normal bootloader timeout will start will be chosen as the console. The normal bootloader timeout will start
 when the terminal timeout ends. when the terminal timeout ends.
 +
 +===== Setup GRUB2 boot loader =====
 +Edit file ''/etc/default/grub'' and change the following line to define the console:
 +<file . grub>
 +GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,38400n8"
 +</file>
 +
 +Add the following lines to define the console settings:
 +<file . grub>
 +GRUB_TERMINAL=serial
 +GRUB_SERIAL_COMMAND="serial --speed=38400 --unit=0 --word=8 --parity=no --stop=1"
 +</file>
 +
 +Now rebuild the GRUB2 configuration: 
 +<code>
 +# grub-mkconfig -o /boot/grub/grub.cfg
 +</code>
  
 ====== Connect from a remote computer ====== ====== Connect from a remote computer ======
 howtos:general_admin:serial_console ()