From owner-freebsd-current@FreeBSD.ORG Tue Jul 21 05:51:09 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 9E958106564A for ; Tue, 21 Jul 2009 05:51:09 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6C07A8FC1E for ; Tue, 21 Jul 2009 05:51:09 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so809154wfg.7 for ; Mon, 20 Jul 2009 22:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ccUuSNg/cVvo6gtixHQg86buV13+GtB0odEMqFx/ajw=; b=FtoJT9RNcTScPGMv7BUCyvaAFkyza4WnlQab//tTqaZEd717vz/Xgrydkly9B5m5et miDpNyqccNPWZ7FIPmkdFXQovviBnupBsNDoMqp25ayTxkmrC/drcD2kEwpdRofLWMCf D0u6iQnNaq4n00Ir0cSXyJP0YF6JlDC08xnec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mPqNAw/m9G5q8yltXegbNyPz/1LwLIFnuJYJ28gTyq0+VHxTYxr1MCVfZq5BXyN+QE AMrswXwxHiWuSdibWhYgPVmE9JUwh40Kbzlm1Dt0IOKlZmvMvlEfk4ac4XGkIQcHbd9b dpCQSr6ghE+BKlJq/3ciCvlxsI2gtC//EOFmg= MIME-Version: 1.0 Received: by 10.142.166.2 with SMTP id o2mr1139404wfe.282.1248155468581; Mon, 20 Jul 2009 22:51:08 -0700 (PDT) In-Reply-To: <200907201057.03777.jhb@freebsd.org> References: <200907201057.03777.jhb@freebsd.org> Date: Tue, 21 Jul 2009 12:51:08 +0700 Message-ID: From: Edho P Arief To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org 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: Tue, 21 Jul 2009 05:51:09 -0000 On Mon, Jul 20, 2009 at 9:57 PM, John Baldwin wrote: > 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, bt= w) >> >> Does pmbr only search first drive with gpt it found? > > /boot/pmbr only looks on the current disk, yes. =C2=A0You could put the b= oot > 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. I looked to me pmbr only find *first* disk-containing-gpt, not the disk where it's booted from. Which means I'll be in trouble if I added a gpt-partitioned-disk positioned before system disk. --=20 O< ascii ribbon campaign - stop html mail - www.asciiribbon.org