From owner-freebsd-questions@freebsd.org Mon Jan 14 18:40:30 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56B201483618 for ; Mon, 14 Jan 2019 18:40:30 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45F276FD4E for ; Mon, 14 Jan 2019 18:40:27 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-oi1-x22f.google.com with SMTP id j21so16097oii.8 for ; Mon, 14 Jan 2019 10:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9kkC3cAy4OywCT6FIqnI/HY847tv4hD7H5vsBy4+QNA=; b=JXyIS2G5VyyxCTzerUsU/5TD9lhphgtQrS08IoIMcJ5qCclcDzAOsEstZIhs99NA42 ikszbgvaTU5GUURC8BtIxFqrxls8fxWexkG6cy4vegN23/wmJ9xaz7WVn0TpvM0EfDGU 0ENMWaoTs1aEzf7nzo2EaF/BwHR7G3zTQ4MiY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9kkC3cAy4OywCT6FIqnI/HY847tv4hD7H5vsBy4+QNA=; b=KRFuyvHxI6faYQZs7AHHYMTxfkQbOBcNCJWFhTgF+95NIlIJ24CTP++VXhGD1NvEhP Lwf9j+HoxvxMT1QorwGTqyeeI+uuV4zVKY7NedB2wkr5EAibunbfONObxtyemOgXWHAg 8htdsyPSH4anNbGmc4GrxRX2meAKpfLYNxBqo/sJOxDeb94bhgAVYVmqzASkYMfWQOMs 4j8BFMWZjj8KZktqSOmiKQ7VHMBLOubspExrNxxdzTL2iEB98X9kKxxzJkLiAZ0xq8UE OPd64GOnkOJ9SghaT6O8Zgc2K3nYU76VSSWMZyy50iKI5CA4kVh41G90eU+yAiml4+j4 3Rtw== X-Gm-Message-State: AJcUukfGWDku1l6cbIPybQfe0QLB2TVNUbVB0WwILrxu528BpStrWtJm bVUUb2drVdOcOhCW9Ac90fWqgvt3foGfgNqpK9lBb00eLB0= X-Google-Smtp-Source: ALg8bN4Rj4nmIX+G3m69iKktgWlsBEBNEtMazilhgfx9i8yDxpDVTXzS6Z/8piv9qNKS2xia1j8xqNbB6U5cosILvo4= X-Received: by 2002:aca:c5d2:: with SMTP id v201mr17358036oif.113.1547491226317; Mon, 14 Jan 2019 10:40:26 -0800 (PST) MIME-Version: 1.0 References: <8763943.RH3biPoPvx@freebsd.friedrich.org> <20190114184051.4a58ef9e.freebsd@edvax.de> In-Reply-To: <20190114184051.4a58ef9e.freebsd@edvax.de> From: Mario Lobo Date: Mon, 14 Jan 2019 15:40:27 -0300 Message-ID: Subject: Re: clearing screen during boot process To: "freebsd-questions@freebsd.org" Cc: Steven Friedrich X-Rspamd-Queue-Id: 45F276FD4E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=JXyIS2G5; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::22f as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-6.02 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[ASPMX.L.GOOGLE.COM,ALT2.ASPMX.L.GOOGLE.COM,ASPMX3.GOOGLEMAIL.COM,ALT1.ASPMX.L.GOOGLE.COM,ASPMX2.GOOGLEMAIL.COM,ASPMX5.GOOGLEMAIL.COM,ASPMX4.GOOGLEMAIL.COM]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[f.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.88)[-0.880,0]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.63)[ip: (-8.99), ipnet: 2607:f8b0::/32(-2.31), asn: 15169(-1.77), country: US(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_CC(0.00)[twc.com]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 18:40:30 -0000 Em seg, 14 de jan de 2019 =C3=A0s 14:45, Polytropon 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!!]