Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-21-2020, 04:13 PM   #1
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Booting to ttyS0 in Bullseye/Testing

I'm having trouble getting a truly headless (no graphics card) running AMD64 Testing to boot to serial console.

I think I got the installer to run by adding

console=tty1 console=ttyS0,115200n8

to the installer's boot incantation and successfully installed Bullseye via the serial console. I accepted the default install options.

Upon rebooting, I see the GRUB2 menu. I can edit the grub2 menu item. However, the same ttySO incantation above doesn't work when booting the installed system.

I was hoping to be able to boot the thing into single user mode to fix GRUB, but unable to get that far and most references to booting to serial are many years old.

Old 04-29-2020, 10:41 AM   #2
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... &c ;-)
Posts: 4,393
Blog Entries: 3

Rep: Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436Reputation: 1436
So if it works and boots to graphics mode?

Try; putting an # in front of whatever displays listed in: /etc/X11/default-display-manager

...then reboot.
Old 04-29-2020, 01:23 PM   #3
Registered: Jun 2017
Location: Northwest Russia
Distribution: Slackware 14.2
Posts: 116

Rep: Reputation: 72
I do not have hardware to check, but I used serial port of my VirtualBox and added
to my "linux" section in grub boot menu.
It perfectly works.

Checked on 10 (buster).
Try removing "quiet" from kernel commandline, check output carefully. Do you see output on your serial device?
If no, that even /dev/console is not connected.
Check your "dmesg" to make sure kernel knows about your serial port, make sure speed is also correct.

ttyS0 Zero, not "O".

Also, boot normally and check that serial line works.
$ echo test > /dev/ttyS0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Install The Latest Firefox (Non-ESR) On Debian 10 Buster (Stable) Or Bullseye (Testing) LXer Syndicated Linux News 0 12-10-2019 10:12 PM
LXer: Debian GNU/Linux 11 "Bullseye" Installer Is Now Available for Public Testing LXer Syndicated Linux News 0 12-05-2019 02:50 PM
bullseye djk44883 Debian 2 07-10-2019 08:51 AM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration