From owner-freebsd-current@FreeBSD.ORG Mon Jul 20 21:36:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1137106566C for ; Mon, 20 Jul 2009 21:36:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 855E98FC12 for ; Mon, 20 Jul 2009 21:36:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 44BA846B58; Mon, 20 Jul 2009 17:36:00 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 6ACDF8A09C; Mon, 20 Jul 2009 17:35:58 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 20 Jul 2009 10:57:03 -0400 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907201057.03777.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 20 Jul 2009 17:35:58 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=4.2 tests=AWL,BAYES_00, DATE_IN_PAST_06_12,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Edho P Arief Subject: Re: broken pmbr? 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: Mon, 20 Jul 2009 21:36:00 -0000 On Friday 17 July 2009 10:42:07 pm Edho P Arief wrote: > I just managed to, um, break my installation boot using these steps: > > 1. system with at least two disks (say ad0 and ad4) > 2. create gpt partition on ad0 > 3. create at least one freebsd-ufs on ad0 > 4. install freebsd on ad4 using gpt ( http://m8d.de/news/freebsd-on-gpt.php ) > 5. reboot and boot to ad4 > 6. 'Missing boot loader' > > (Rearranging ad0 to adX where X>4 or removing ad0 solves the problem, btw) > > Does pmbr only search first drive with gpt it found? /boot/pmbr only looks on the current disk, yes. You could put the boot partition on ad0 and then put a /boot.config in the UFS partition on ad0 that points to ad4 if you want it to find the boot loader from ad4 instead of ad0. -- John Baldwin