Re: broken pmbr?

From: Edho P Arief <edhoprima_at_gmail.com>
Date: Tue, 21 Jul 2009 12:51:08 +0700
On Mon, Jul 20, 2009 at 9:57 PM, John Baldwin<jhb_at_freebsd.org> 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, 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.

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.

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Received on Tue Jul 21 2009 - 03:51:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC