From owner-freebsd-current@FreeBSD.ORG Thu Aug 18 18:18:08 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42A2516A441 for ; Thu, 18 Aug 2005 18:18:08 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal4.es.net (postal4.es.net [198.124.252.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFA643D48 for ; Thu, 18 Aug 2005 18:18:07 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id IBA74465; Thu, 18 Aug 2005 11:18:04 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id ABE775D07; Thu, 18 Aug 2005 11:18:03 -0700 (PDT) To: Rudy Rucker In-reply-to: Your message of "Thu, 18 Aug 2005 11:02:07 PDT." <4304CD1F.8020907@monkeybrains.net> Date: Thu, 18 Aug 2005 11:18:03 -0700 From: "Kevin Oberman" Message-Id: <20050818181803.ABE775D07@ptavv.es.net> Cc: freebsd-current@freebsd.org Subject: Re: Boot loader messed up - How do I fix? 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: Thu, 18 Aug 2005 18:18:08 -0000 > Date: Thu, 18 Aug 2005 11:02:07 -0700 > From: Rudy Rucker > Sender: owner-freebsd-current@freebsd.org > > > I did a cvsup & made a new kernel & world on August 9th but now I can't > boot. > > This was on my second drive. When I boot, I get this menu: > > F1: ?? > F2: FreeBSD (old, May 31st FreeBSD 6.0 CURRENT) > F5: Drive 2 (newer, Aug 9th FreeBSD - CURRENT) > > F2 works fine. F5 _used_ to go to my other drive and boot FreeBSD just > fine. I have updated along the CURRENT branch many times, so I sort of > know what I am doing ;) > > If I edit the fstab file on Drive 1 to mount only points on Drive 2, the > boot loader will load the kernel from the first drive, but then > everything else works fine on Drive 2. > > Here are my questions: > Why is the boot code on Drive 1 unable to load the kernel on Drive 2? > How do I fix my computer to boot the kernel on Disk 2? > > (Would changing my supfile to grab RELENG_6 resolve this problem? > I am trying that right now...) OK. I am guessing that the system beeps or does nothing when you hit F5. Is that correct? If so you need to sue boot0cfg to write a new boot to Drive 2. If I understand all of this, pressing F5 causes the boot block on the other drive to be run and, if there is no valid boot block, nothing interesting happens. So to make this work, you need a valid boot on both disks. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634