How to restore FreeBSD boot manager on GPT disk ?

Jack L. xxjack12xx at gmail.com
Tue Nov 8 10:53:46 UTC 2016


gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

On Tue, Nov 8, 2016 at 2:49 AM, Manish Jain <bourne.identity at hotmail.com>
wrote:

>
> Hi,
>
> One thing I have loved about FreeBSD over the years is the superbly
> designed Boot Easy boot manager. If any other OS overwrites the MBR, it
> is straightforward to restore with 'boot0cfg -B /dev/ada0'
>
> That command only works on MBR disks though, as far as I know. Is there
> any equivalent command on a GPT disk ?
>
> Thanks for help
> Manish Jain
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list