LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-21-2020, 04:13 PM   #1
mpapet
Member
 
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.

Thoughts?
 
Old 04-29-2020, 10:41 AM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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
IlyaK
Member
 
Registered: Jun 2017
Location: The Netherlands
Distribution: Debian
Posts: 118

Rep: Reputation: 72
I do not have hardware to check, but I used serial port of my VirtualBox and added
Code:
console=ttyS0
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.

>ttySO
ttyS0 Zero, not "O".

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:11 AM.

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