From owner-freebsd-current@FreeBSD.ORG Tue Nov 9 13:45:56 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8DE81065698; Tue, 9 Nov 2010 13:45:56 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C1BC38FC1B; Tue, 9 Nov 2010 13:45:55 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA25243; Tue, 09 Nov 2010 15:45:53 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4CD95090.2010405@freebsd.org> Date: Tue, 09 Nov 2010 15:45:52 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: Lars Engels References: <201011081714.53637.jhb@freebsd.org> <20101109052623.GS56407@e.0x20.net> In-Reply-To: <20101109052623.GS56407@e.0x20.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Only display ACPI bootmenu key if ACPI is present X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 13:45:56 -0000 on 09/11/2010 07:26 Lars Engels said the following: > Maybe we should also import PCBSD's patches to the beastie menu? > In PCBSD's beastie menu you can toggle some settings like "safe mode", > and "ACPI", so the kernel is not loaded as soon as select an option. > > See > http://trac.pcbsd.org/browser/pcbsd/current/system-overlay/boot/beastie.4th Lars, not sure if I got your suggestion correctly, this is what I have in my local tree: diff --git a/sys/boot/i386/loader/loader.rc b/sys/boot/i386/loader/loader.rc index 6443f3f..cb2f723 100644 --- a/sys/boot/i386/loader/loader.rc +++ b/sys/boot/i386/loader/loader.rc @@ -5,7 +5,7 @@ include /boot/loader.4th \ Reads and processes loader.conf variables -start +initialize \ Tests for password -- executes autoboot first if a password was defined check-password With this kernel and modules are _not_ loaded before presenting the menu. -- Andriy Gapon