From nobody Fri Apr 07 10:32:30 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PtF774m0Nz44Slc for ; Fri, 7 Apr 2023 10:32:35 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtF763fX7z3v0G for ; Fri, 7 Apr 2023 10:32:34 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=abc.se header.s=default header.b="dKKM/u8i"; spf=pass (mx1.freebsd.org: domain of andreas.kahari@abc.se designates 158.174.61.227 as permitted sender) smtp.mailfrom=andreas.kahari@abc.se; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=n0Xx/TTxY/ mzoVRGMBiR2IYpZI+hAN4t/grals4ijuc=; h=in-reply-to:references:subject: to:from:date; d=abc.se; b=dKKM/u8iKqn2WqO/BSUFNf1Y9GKe4rKPSKbJqenfmg4A 6YpbPQl2hLwMkJIRw2n3O86TgMa7QVO0YLPN60y0a6lrOVd9GjF6gIi4sONKVDNjbrfBu5 LGio1V/BT6y5xI3lbtmPDiQaAqpsuFT9qO5WlbAxN8H0qyRb5ywxDXXNy4SKLeynmEL8hz T82bMyUjIswAoN0qVZO/PWYTLU0+xWLDsiE/AOlQ0dG3AWTP6R79JkE00SuCm6rrZ41lss U8wcy2p2Exw2nrXchb2ZQsdi5KNkQHhYYY9Rc8nMMTSYUVB+WQiGqaZSq5w0moujSX0pcq HbGW0Lf2D2ziXhxSCg== Received: from harpo.local (83-233-144-251.cust.bredband2.com [83.233.144.251]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id 5ab9b541 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 7 Apr 2023 12:32:31 +0200 (CEST) Date: Fri, 7 Apr 2023 12:32:30 +0200 From: Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= To: questions@freebsd.org Subject: Re: Can not boot without monitor attached Message-ID: Mail-Followup-To: questions@freebsd.org References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spamd-Result: default: False [-2.50 / 15.00]; R_MIXED_CHARSET(1.00)[subject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[abc.se:s=default]; R_SPF_ALLOW(-0.20)[+ip4:158.174.61.227:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8473, ipnet:158.174.0.0/16, country:SE]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[abc.se:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[abc.se]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PtF763fX7z3v0G X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Fri, Apr 07, 2023 at 11:40:47AM +0200, Kusalananda Kähäri wrote: > Hi, > > I'm trying to set up a headless FreeBSD 13.1 system. I've done so > successfully before on this particular machine, but for whatever reason, > after a complete reinstall, it doesn't want to boot without a monitor > attached via HDMI. Since it never shows up on the network I'm assuming > it never even gets past the boot prompt. > > If I plug in a HDMI cable to a monitor before booting, it boots as > expected. Plugging in a monitor after unsuccessfully trying to boot > without a monitor does not work (black display). > > I tried adding -P to /boot.config, but this had no effect. The system > is, apart from that, fairly vanilla. > > The system is a fan-less Chinese(?) "Basoaro" system with an American > Megatrends BIOS, but I can't find anything in the BIOS that seems > relevant, and since it *used* to be possible to boot the system without > an attached monitor, I'm assuming it's not a BIOS-related issue. > > Whatever I did before to get it to boot headless, I've forgotten what it > was and need a reminder and/or pointers from you guys. > I believe my issue might have been solved by simply setting console="efi" ... in /boot/loader.conf This seems to not block the boot process when there's no attached video or serial console. I was initially afraid of setting a value to this setting as I didn't want to get locked out completely with no way of accessing the system, but I don't know whether that's even a possible risk. Thanks for reading, -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden .