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 revision Previous revision
howtos:general_admin:serial_console [2013/11/14 15:36 (UTC)]
fdonkers [Setup GRUB boot loader] rename to grub-legacy
howtos:general_admin:serial_console [2014/11/14 09:18 (UTC)]
fdonkers add GRUB2 section
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 ======

In Other Languages
QR Code
QR Code howtos:general_admin:serial_console (generated for current page)