From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 3 20:16:59 2014 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD0344A0 for ; Mon, 3 Mar 2014 20:16:59 +0000 (UTC) Received: from nm1-vm2.access.bullet.mail.bf1.yahoo.com (nm1-vm2.access.bullet.mail.bf1.yahoo.com [216.109.114.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD408B9 for ; Mon, 3 Mar 2014 20:16:59 +0000 (UTC) Received: from [66.196.81.158] by nm1.access.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2014 20:14:38 -0000 Received: from [98.138.104.99] by tm4.access.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2014 20:14:38 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.ne1.yahoo.com with NNFMP; 03 Mar 2014 20:14:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1393877678; bh=VSrTmyELpet5GCAeGLXPHySuFMmIqnsWzqnQSWo2VME=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=3tHroB3DaMhlLsdicomXlz9zxXWByKNerXORPX1GHqeJRJRQRfJDQvt8cjb+vGoOGZMfc9HrHwRn0tyb4oHVbiBbyTQFOtVIpjNeRZijfUjPCJpexWaMuJTgEWzfz7I/Hjxs8B5wxs/7PkRv9AKsg2V4qtFeX0LLu7/HRQUjJa8= X-Yahoo-Newman-Id: 543327.69255.bm@smtp119.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: JSBLOoUVM1mmVVTT8mOeX23z3eAdpO1wxkyexQ6eTr7Y_z7 qzdkwsqxte.GZH6Sqk6HCKP6FGakpdFZpaBibTpPJ.wZcJBuWGeoxdEC9.Tv D9ChrP6LbkTFMKuaWVqmzyG.DxI32X2E7WRlER8P0mNUfne.PwF8paWiJD0X 54AkMOmcJ93qUdmX1JYdjq4tkUhvH0wKx9toMC7Mxvruy3JK3Puq9HK3kpU8 OKbUkw3USFu673XqsKVlZJfZKkNHXJ5uAp1jvGpTvn_J_SVrWd.to4O5xwfC XlM02MfBkdDvvltC_54Mp3V4orqK.vzaa9RqIUy.pIpzwBFtTi1UdsgulCjY e7XvmfRs23nY8fpXFtQk24CCrPE7sRVPhYSBj2ruMZa72Y7f.kUuJFI1DQXE iUf_pLLRnwYnFTvJhayWSE83b33g256U0XKAOdQFp8fH3PFI.WoZfDuYRv4k HLEBTz1uO5rj4eeTb72xZQcZe2NNYameEAvsp75MJoQexu6vwuCCOK1e2NXG tvThYp6QHVYAtrE_7EFvj6DY6t8aP6vOIIQo2B9lr1ZpE2b4QwXuhCUE0Plj SL_gl1A-- X-Yahoo-SMTP: dQDeuIqswBBZlqxPL_idatjeqZFsZlQC4MQ5I3DYpsI- X-Rocket-Received: from [135.207.130.101] (k.oikonomou@135.207.130.101 with plain [98.138.31.74]) by smtp119.sbc.mail.ne1.yahoo.com with SMTP; 03 Mar 2014 20:14:38 +0000 UTC Message-ID: <5314E266.3040403@att.net> Date: Mon, 03 Mar 2014 15:13:26 -0500 From: Kostas Oikonomou User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Subject: grub goes into "rescue mode" after renaming 'default' boot environment Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 20:16:59 -0000 Before upgrading from 9.2 to 10.0, I created a new boot environment named 'pcbsd10.0' with beadm. Then I activated it, and renamed the 'default' environment to 'pcbsd9.2'. As a test of the backup BE, I deactivated 'pcbsd10.0', reactivated 'pcbsd9.2', and re-booted. The machine failed to boot, and grub went into rescue mode: GRUB loading. Welcome to GRUB! error: file 'default' not found. Entering rescue mode... grub rescue> Apparently, it is still trying to find a BE named 'default'. I finally booted up by doing grub rescue> prefix=(hd0,msdos1)/ROOT/pcbsd10.0/@/boot/grub grub rescue> insmod normal grub rescue> normal But this problem recurs every time I reboot, either into pcbsd10.0 or pcbsd9.2. Kostas