From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 4 14:50:13 2010 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 972CA1065694 for ; Mon, 4 Jan 2010 14:50:13 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id DB40E8FC19 for ; Mon, 4 Jan 2010 14:50:12 +0000 (UTC) Received: (qmail 81694 invoked from network); 4 Jan 2010 14:50:11 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (cryx) by mail.h3q.com with AES256-SHA encrypted SMTP; 4 Jan 2010 14:50:11 -0000 Message-ID: <4B420023.3020602@h3q.com> Date: Mon, 04 Jan 2010 15:50:11 +0100 From: Philipp Wuensche User-Agent: Postbox 1.1.0 (Macintosh/20091201) MIME-Version: 1.0 To: krad References: <4B40BB5E.9080600@h3q.com> <4B41F366.4060509@h3q.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Overwrite ZFS zpool bootfs property during boot 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: Mon, 04 Jan 2010 14:50:13 -0000 krad wrote: > > > 2010/1/4 Philipp Wuensche > > > krad wrote: > > > > You can reset vfs.root.mountfrom from the loader prompt. However that > > wont help if the fs it totally hosed. The only way i know if to > boot in > > on another live os and reset the propery > > It also will not help if the zpool.cache or kernel is hosed. :-/ > > My idea would be a menu in the loader where you could select a > zfs-dataset from which to boot. > > greetings, > philipp > > > > much like opensolaris and the boot enviroments. Its dead easy to flip > flop between os installations with grub Exactly, thats why I wrote manageBE http://anonsvn.h3q.com/projects/freebsd-patches/wiki/manageBE which is the userland program for managing multiple boot-environments in FreeBSD. But without selecting the boot-environment at the loader its only half the fun! :-) greetings, philipp