From owner-freebsd-hackers@FreeBSD.ORG Sat May 14 15:43:23 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34578106564A for ; Sat, 14 May 2011 15:43:23 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id DA7B88FC19 for ; Sat, 14 May 2011 15:43:22 +0000 (UTC) Received: by qwc9 with SMTP id 9so2238201qwc.13 for ; Sat, 14 May 2011 08:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=zp6rMYF19dXmTTPEa2UaXPalrNZ2b/vR3Zs7ttcG6Qg=; b=eRCHw812fMJPk8eOVgYf5lmybbETrm/Apuh7vUzjLZ9M9aewBx6DbzI4nWJljGKtkr jfljULfiVbPs5lP6vdnY5Y7n1OGj5pFBpQ67mA4GbzCkFgkPWAkfExV6nNfm0MEckwNk sa00XCY3vVbgZC6VuodvaN3bBKE5+njmk9O4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uoslpGOKo4tQ1bdrL5h5UHx5TSJB5R9MRmd8U+C9ylubPBz1h/VGZXl/AsU6mY0gQU X5XHktLnaQXf+db5bZZgmjJyuW5L+hF9CiYpYPWxevLlFe8vSElTkBBvsc4sW++LimNl v5wsmAhaXNBvIIG2JxCFD1Al8KKNdQyBUOibU= MIME-Version: 1.0 Received: by 10.224.189.78 with SMTP id dd14mr2101244qab.136.1305386064862; Sat, 14 May 2011 08:14:24 -0700 (PDT) Received: by 10.224.20.3 with HTTP; Sat, 14 May 2011 08:14:24 -0700 (PDT) In-Reply-To: References: <00b601cc11d5$5c83f5c0$158be140$@vicor.com> Date: Sat, 14 May 2011 11:14:24 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Michael Reifenberger Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, Devin Teske Subject: Re: [RELEASE] New Boot-Loader Menu -- version 1.5 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2011 15:43:23 -0000 On Sat, May 14, 2011 at 3:15 AM, Michael Reifenberger wrote: > Hi, > this looks very promising! > > While you are working on the loader front currently, > would it be possible to implement a "Boot kernel.old" > menue item that unloads all current loaded modules and re-loads > everithing from /boot/kernel.old? > > Its difficult to handle manually in the loader (esp. handling the > zpool.cache file ) and I got bitten by this issue recently in a ZFS only > environment. > > Thanks in advance! > > Bye/2 > --- > Michael Reifenberger > Michael@Reifenberger.com > http://www.Reifenberger.com > > Many of the Unix/Linux operating systems are utilizing a Kernel Selection ( let's call it Selection instead of Loader ) menu , such as GRUB or LILO , or , in FreeBSD , when Kernel Selection menu is selected instead of booting directly from boot sector . Actually , a Kernel Selection menu in front of the Boot Loader menu is a more flexible method : First select kernel , then select its booting structure with the above described Boot Loader menu . My opinion is that , they should NOT be COMBINED into one single menu , because , in the same system , even there may be other kernels to be booted . Some operating systems , such as OpenSolaris and Mandriva Linux , after updating the kernel , they are keeping previous kernel in the Kernel Selection menu , under the new kernel name item . Such a system may be employed for the FreeBSD : If a kernel.old is generated , it may be inserted into Kernel Selection menu automatically . If , at present , there is no kernel selection menu but boot sector is used directly , kernel build system may modify that structure also to utilize a Kernel Selection menu . Thank you very much . Mehmet Erol Sanliturk