This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pypilot boot hang-up
#7
I see a couple of bears on the road you are trying to walk, Sean.

First, the tty1 is a console as defined in /etc/inittab:
tty1::respawn:/sbin/getty -nl /sbin/autologin 38400 tty1

The screen gets clogged by error messages, but to send the messages somewhere alse you'll have to define console=tty3 (for example).
It might be easier to leave tty1 the console and redirect the login to tty2 (with Alt-F2 or Ctrl-Alt-F2). In the inittab this reads like:
tty2::respawn:/sbin/getty -nl /sbin/autologin 38400 tty2
(and just comment out the tty1 line)

Or perhapd this works:
tty2:askfirst::/sbin/getty -nl /sbin/autologin 38400 tty2

I sometimes switch to tty2 or tty3 to work on the text screens the without error messages redirected to the console.

The "console=tty3" hsould be a commandline or boot-config option. Whatever is easier for you, but I think editting /etc/inittab and use tty2 is the easiest solution. Most people won't use a console with tinypilot anyway. Just add some echo commands at the end of startupscript pointing people the Alt-F2. If they attach the monitor later they won't see any message (since all the messages clog the screen), therefore you need not care about that.
Reply


Messages In This Thread
pypilot boot hang-up - by linton - 2021-02-18, 04:05 PM
RE: pypilot boot hang-up - by ironman - 2021-02-18, 11:03 PM
RE: pypilot boot hang-up - by seandepagnier - 2021-02-19, 07:51 PM
RE: pypilot boot hang-up - by linton - 2021-02-20, 12:21 PM
RE: pypilot boot hang-up - by seandepagnier - 2021-02-21, 08:09 PM
RE: pypilot boot hang-up - by linton - 2021-02-22, 02:56 PM
RE: pypilot boot hang-up - by hreuver - 2021-02-22, 10:15 PM
RE: pypilot boot hang-up - by Huevo - 2021-03-30, 08:21 PM
RE: pypilot boot hang-up - by seandepagnier - 2021-03-31, 04:42 AM
RE: pypilot boot hang-up - by ironman - 2021-03-31, 08:28 AM
RE: pypilot boot hang-up - by Huevo - 2021-03-31, 08:12 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)