Com Port Login.

Asked by David George

I am using Dell R7525 with Ubuntu 18.04.5 LTS. I want o use Com Port for login i can see all the boot message in COM Port upto booting but not able to see the login promt may i know what setting need to change make com port as boot promt.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
David George
Solved:
Last query:
Last reply:
Revision history for this message
David George (davidgeo) said :
#1

KEY MAPPING FOR CONSOLE REDIRECTION:

Use the <ESC><1> key sequence for <F1>
Use the <ESC><2> key sequence for <F2>
Use the <ESC><3> key sequence for <F3>
Use the <ESC><0> key sequence for <F10>
Use the <ESC><!> key sequence for <F11>
Use the <ESC><@> key sequence for <F12>

Use the <ESC><Ctrl><M> key sequence for <Ctrl><M>
Use the <ESC><Ctrl><H> key sequence for <Ctrl><H>
Use the <ESC><Ctrl><I> key sequence for <Ctrl><I>
Use the <ESC><Ctrl><J> key sequence for <Ctrl><J>

Use the <ESC><X><X> key sequence for <Alt><x>, where x is any letter
key, and X is the upper case of that key

Use the <ESC><R><ESC><r><ESC><R> key sequence for <Ctrl><Alt><Del>

Press the spacebar to pause...
Initializing PCIe, USB, and Video... Done

        Press the spacebar to pause...

        KEY MAPPING FOR CONSOLE REDIRECTION:

        Use the <ESC><1> key sequence for <F1>
        Use the <ESC><2> key sequence for <F2>
        Use the <ESC><3> key sequence for <F3>
        Use the <ESC><0> key sequence for <F10>
        Use the <ESC><!> key sequence for <F11>
        Use the <ESC><@> key sequence for <F12>

        Use the <ESC><Ctrl><M> key sequence for <Ctrl><M>
        Use the <ESC><Ctrl><H> key sequence for <Ctrl><H>
        Use the <ESC><Ctrl><I> key sequence for <Ctrl><I>
        Use the <ESC><Ctrl><J> key sequence for <Ctrl><J>

        Use the <ESC><X><X> key sequence for <Alt><x>, where x is any letter
        key, and X is the upper case of that key

        Use the <ESC><R><ESC><r><ESC><R> key sequence for <Ctrl><Alt><Del>

F2 = System Setup
F10 = Lifecycle Controller
F11 = Boot Manager
F12 = PXE Boot
IPMI: Boot to

DELL EMC PERC S150 Controller BIOS (Version: 6.0.3-0005)
Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. Dell,
EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other
 trademarks may be trademarks of their respective owners.
Copyright(c) 2002-2011,Dot Hill Systems Corp.

Press <CTRL-R> to Configure. \

  No Virtual Disks Found

Broadcom NetXtreme (NXE) Ethernet Boot Agent
BroadcomtNetXtreme-EthernetaBoot Agented
Copyrights(C)v2000-2020dBroadcomhCorporation.
AllirightsDreserved.andlednbyhBIOS.ttadapter
Press-Ctrl-Sito(enternConfigurationsMenu

PowerEdge R7525
BIOS Version: 2.0.3

F2 = System Setup
F10 = Lifecycle Controller (Config
           iDRAC, Update FW, Install OS)
F11 = Boot Manager
F12 = PXE Boot
iDRAC IPV4: XX.XX.X.XXX [Dedicated]

Initializing Firmware Interfaces...

Enumerating Boot options...
Enumerating Boot options... Done
Loading Lifecycle Controller Drivers...
Loading Lifecycle Controller Drivers...Done
Lifecycle Controller: Collecting System Inventory...

iDRAC IPV4: XX.XX.X.XXX [Dedicated]

Lifecycle Controller: Done
Booting...

PXE-M0F: Exiting Broadcom PXE ROM.

Booting from BRCM MBA Slot E101 v21.6.0

Broadcom UNDI PXE-2.1 v21.6.0
Copyright (C) 2000-2020 Broadcom Corporation
Copyright (C) 1997-2000 Intel Corporation
All rights reserved.

PXELINUX 4.05 0x5bd8f633 Copyright (C) 1994-2011 H. Peter Anvin et al
!PXE entry point found (we hope) at 97A1:00D6 via plan A
UNDI code segment at 97A1 len 6B70
UNDI data segment at 93EA len 3B70
Getting cached packet 01 02 03
0
BOOTIF=01-70-b5-e8-f0-09-81

TFTP prefix:
Trying to load: pxelinux.cfg/01-70-b5-e8-f0-09-81 ok

          lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
          x Booting local disk (ESC to stop) x
          tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
          x Default local boot x
          x Default local boot from primary hard drive x
          x Boot from the next BIOS device x
          x Chainload the first hard drive (hd0) x
          x Chainload the second hard drive (hd1) x
          x x
          x x
          x x
          x x
          x x
          x x
          x x
          mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

                          Press [Tab] to edit options

                         Automatic boot in 1 second...

Booting...

Revision history for this message
David George (davidgeo) said :
#2

BIOS Setting :

Serial Communication
Auto
Serial Port Address
Serial Device1=COM2,Serial Device2=COM1
External Serial Connector
Serial Device 1
Failsafe Baud Rate
115200
Remote Terminal Type
VT100/VT220
Redirection After Boot
Enabled

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Ubuntu 14.04 is end of life and no longer supported in any way. I suggest you wipe the install off and do a clean install of Focal (Ubuntu 20.04). This is LTS and supported until April 2025. You can also upgrade directly to 22.04 in April this year.

Revision history for this message
David George (davidgeo) said :
#4

Sorry for wong info its : Description: Ubuntu 18.04.5 LTS.

root@xsjbrddev6:~# lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

is that possible to open the again

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Only you yourself can open/close your own question. I just marked it as answered. This is different to "solved"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Are you trying to connect from the Ubuntu system to a different device or are you using the com port access the Ubuntu OS?

Revision history for this message
David George (davidgeo) said :
#7

Here is the connection.

Dell R7525 COM Port --------> USB to UART Cable ------> Lab machine (COM10) Teraterm.

Revision history for this message
David George (davidgeo) said :
#8

after editing grub file i able login using serial port .
1
/etc/default/grub
Change /etc/default/grub as below.

Change GRUB terminal to console and ttyS0. This will provide one GRUB to a monitor display and serial console.
Change linux kernel console to tty1 and ttyS0. This setting will be taken over to userland, and there will be two login prompt for tty1 and ttyS0.
$ cat <<EOF | sudo tee /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=\`lsb_release -i -s 2> /dev/null || echo Debian\`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS1,115200"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
EOF

2
grub-mkconfig
Update /boot/grub/grub.cfg with grub-mkconfig.

$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Reboot system.

$ sudo reboot