Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 01:46:28 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: GPT boot from 2nd. disk fails
Message-ID:  <CAGH67wRf9gpJen%2BVC6OzePLDwWE3dC_T9Ve6DPKs=12N6VuMMA@mail.gmail.com>
In-Reply-To: <E1T1YwR-000Gfo-O4@kabab.cs.huji.ac.il>
References:  <E1T1YwR-000Gfo-O4@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 15, 2012 at 1:27 AM, Daniel Braniss <danny@cs.huji.ac.il> wrote:
> hi,
> this host has to disks:
> sa0> gpart show
> =>       34  976773101  ada0  GPT  (465G)
>          34        128     1  freebsd-boot  (64k)
>         162    4194304     2  freebsd-ufs  (2.0G)
>     4194466   33554432     3  freebsd-swap  (16G)
>    37748898  939024237     4  freebsd-zfs  (447G)
>
> =>       34  976773101  ada1  GPT  (465G)
>          34        128     1  freebsd-boot  (64k)
>         162    4194304     2  freebsd-ufs  [bootme]  (2.0G)
>     4194466    8388608     3  freebsd-swap  (4.0G)
>    12583074  964190061     4  freebsd-zfs  (459G)
>
> but no amount of magic will cause boot from the second disk, it will always
> boot from the first disk.
>
> any insights?

    Use boot0cfg -s 5 (untested with GPT disks)?
HTH,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRf9gpJen%2BVC6OzePLDwWE3dC_T9Ve6DPKs=12N6VuMMA>