Article View: muc.lists.freebsd.current
Article #6Re: Questions
From: Stéphane Rochoy
Date: Fri, 09 Oct 2026 06:41
Date: Fri, 09 Oct 2026 06:41
31 lines
4954 bytes
4954 bytes
Ruslan Zalata <rz@fabmicro.ru> writes: > BTW, can we instruct loader on its prompt what config file to use for > this boot ? I'm facing this issue quite often toying with different > kernel modules, sometimes I want to be able to choose what config loader > uses instead of default. There's a bunch of variables that drive what config files are used by the loader itself and later by the kernel (as it populate its environment). See loader_conf_dirs, loader_conf_files, product_vars and local_loader_conf_files in loader.conf(5) in particular. My bet is that you could: - populate /boot/loader.conf.d/foo and /boot/loader.conf.d/bar with various config files - set product_vars="loader_profile" - and set loader_profile="foo" or loader_profile="bar" via the loader's interactive mode to switch between your "profiles" If running an EFI platform, you could even probably leverage efibootmgr(8)'s -e option to have an experience similar to what you get with nextboot(8) IMO. Stéphane -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<874ievml42.fsf@stormshield.eu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<> <a1322bcc32a92fe2750111e6a8cea5d5@fabmicro.ru>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Stéphane Rochoy <stephane.rochoy@stormshield.eu> Newsgroups: muc.lists.freebsd.current Subject: Re: Questions Date: Fri, 9 Oct 2026 08:41:33 +0200 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-current@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <874ievml42.fsf@stormshield.eu> References: <> <a1322bcc32a92fe2750111e6a8cea5d5@fabmicro.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="72530"; mail-complaints-to="news-admin@muc.de" User-Agent: Gnus/5.13 (Gnus v5.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791528128; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=IWL/6u3NSOIkDTIzuL2zWPcYXnMpEjqRZX9Vdu1t5JU=; b=xYnrP63xTxb1x112vHx9VpNuo8Q5IjMP8LnuuNWcRwircR8seFZ4HIGdH+MgjGHhnMfNEu W1hkSRvKnAUNv5DmkvxJXAE39OQyOS8m4sqUkuOpvyTUxbM3ybBC9LR1p7KNnQ+1qZpa0C i2d7ZxcDHsbGE0lKYhfN4WMUwX3n/Skns2dNI+J/E9c7B2VlwmN5z+4BCyr4ur97jxAetC F8/lseYQSavUod2mtCVThsdtzdEqt95BYgLbDeeDHBTq4jN+3lmjWI/3HdAeVqtU3E5PSN twEfG/SjNLpRsJoi2XvSaFtJls7QAM1KkXQFsWBg85lAZDV81K4fH1oCJnqLEg== X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=stormshield.eu header.s=signer4 header.b=IeazGgp2; spf=pass (mx1.freebsd.org: domain of Stephane.ROCHOY@stormshield.eu designates 91.212.116.25 as permitted sender) smtp.mailfrom=Stephane.ROCHOY@stormshield.eu; dmarc=pass (policy=quarantine) header.from=stormshield.eu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormshield.eu; s=signer4; t=1791528094; h=From:Subject:Date:Message-ID:To:Cc :MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To :References; bh=IWL/6u3NSOIkDTIzuL2zWPcYXnMpEjqRZX9Vdu1t5JU=; b=IeazGgp2N II6OEVskI2G6n9yr19ZUvXvQoFKbaC3kDxi8d2pqWVAmpvCCjvd+ZoLcnbf0CYmOnH3e95DfQ SyGxv63KeCQ4sCO+70fmiCnTSfTJBDQD32yZF5u+0hwwdZWKFPCctkScDNGF4LxsJFmj7iNQq QaxQo4J96vav+ED8IMNuF5/HXXbCkzBITFXd5vNo4d9Ia3WeClCuB1NEK/y2xzPMlIJQw/n// tBeMua8zmH5r+TacZWzXbBa2618VpQzjWaZyefHHcdEdqxzaiSQWYyuKZqyWcSLsGI8WX7mBk zC/8stEdFxRgC1GBiEPQ2nUgukblnNrZGi9/Khadg==; In-Reply-To: <a1322bcc32a92fe2750111e6a8cea5d5@fabmicro.ru> Precedence: list X-ClientProxiedBy: ICTDCCEXCH004.one.local (10.180.4.4) To ICTDCCEXCH004.one.local (10.180.4.4) X-DKIM-Signer: DkimX (v3.70.370) X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; R_MIXED_CHARSET(1.00)[subject]; DMARC_POLICY_ALLOW(-0.50)[stormshield.eu,quarantine]; R_DKIM_ALLOW(-0.20)[stormshield.eu:s=signer4]; R_SPF_ALLOW(-0.20)[+a:mail.stormshield.eu]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:49068, ipnet:91.212.116.0/24, country:FR]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[stormshield.eu:+] X-Rspamd-Queue-Id: 4j1HMV0FkSz4CsG X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes