From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 05:11:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72BDDFED for ; Wed, 21 Nov 2012 05:11:19 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 217A88FC0C for ; Wed, 21 Nov 2012 05:11:18 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAL5BHUf042298; Tue, 20 Nov 2012 22:11:17 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qAL5BGBi042295; Tue, 20 Nov 2012 22:11:17 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 20 Nov 2012 22:11:16 -0700 (MST) From: Warren Block To: freebsd@johnea.net Subject: Re: boot problem after freebsd-update from 9.1-RC2 to 9.1-RC3 In-Reply-To: <50AC3116.6010600@johnea.net> Message-ID: References: <50ABE97B.5030408@johnea.net> <50AC041A.7050607@dreamchaser.org> <50AC3116.6010600@johnea.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 20 Nov 2012 22:11:17 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 05:11:19 -0000 On Tue, 20 Nov 2012, freebsd@johnea.net wrote: > On 2012-11-20 14:28, Gary Aitken wrote: >> On 11/20/12 13:34, freebsd@johnea.net wrote: > >>> freebsd-update upgrade -r 9.1-RC3 > ... >>> "Not UFS" "No ada0" "No boot" > >> >> Seems like it isn't supposed to work for 9.1-RC2 >> > > I previously used binary update to migrate from 9.0 to 9.1, via: > > freebsd-update upgrade -r 9.1-RC1 > freebsd-update install > reboot > freebsd-update install > reboot > > I'm starting to think having the swap partition in gm0s1a and the booting UFS partition in ada0s1b is the problem: > http://forums.freebsd.org/showthread.php?t=31954 > > The "Not UFS" error comes immediately on boot. > > If I boot from rescue media, I can start the gmirror, mount it and chroot into it. > > The whole install seems fine except for the first stage boot loader finding the UFS partition. > > A handy bootloader config trick would be greatly appreciated! boot(8) says The automatic boot will attempt to load /boot/loader from partition `a' of either the floppy or the hard disk. You could try setting the correct device path in /boot/boot.config, but I suspect that won't be read until too late. gptboot looks for the first UFS partition. Maybe /boot/boot can be modified to do that also.