Date: Mon, 14 Jan 2019 15:40:27 -0300 From: Mario Lobo <lobo@bsd.com.br> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Cc: Steven Friedrich <FreeBSD@twc.com> Subject: Re: clearing screen during boot process Message-ID: <CA%2ByoEx-20QDtkg1ZVMUaZ2%2B1fwQmJ0w0JrHyR7XxS4a-LcUKjA@mail.gmail.com> In-Reply-To: <20190114184051.4a58ef9e.freebsd@edvax.de> References: <8763943.RH3biPoPvx@freebsd.friedrich.org> <20190114184051.4a58ef9e.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Em seg, 14 de jan de 2019 =C3=A0s 14:45, Polytropon <freebsd@edvax.de> escr=
eveu:
> On Mon, 14 Jan 2019 12:23:46 -0500, Steven Friedrich wrote:
> > When my system boots, it isues several messages, then clears the screen
> before
> > presenting the beastie menu.
> >
> > How can I prevent the screen clearing?
>
> You probably can't.
>
> The reason is that the initial messages ("pre-kernel") are
> printed during text mode, while the kernel switches to
> graphics mode (vt) soon. This clears the screen content
> and replaces the system's text mode output by a graphical
> output that "mimics" text mode.
>
> However, you could try the following: In /boot/loader.conf,
> set the following:
>
> kern.vty=3D"sc"
>
> Now you can read the initial messages in text mode (!)
> by pressing the Scroll Lock key and using the cursor
> and page keys to move the buffer up to its top where
> you can read the kernel and "pre-kernel" messages.
>
> Keep in mind "startx" (and X in general) won't work with
> sc anymore, it now _requires_ the use of vt!
>
> See "man 4 vt" for details.
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
Here is what I have in /boot/loader.conf:
# This gives me verbose messages when loading kernel
# and modules before beatsie menu load
verbose_loading=3D"YES"
# This will give me even more verbose messages
# that come AFTER beatsie menu, when needed. I leave it commented.
# Those can be checked with dmesg
# boot_verbose=3D"YES"
# This will give me enough time to see the verbose messages
# before the screen is cleared for vt and
autoboot_delay=3D"5"
# This disables the beatsie menu entirely (for day-to-day boots)
beastie_disable=3D"YES"
kern.vty=3Dvt
--=20
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2ByoEx-20QDtkg1ZVMUaZ2%2B1fwQmJ0w0JrHyR7XxS4a-LcUKjA>
