grub2, FreeBSD, GPT

Thomas Mueller mueller6722 at twc.com
Tue May 8 06:52:05 UTC 2018


from Victor Sudakov:

> Have you ever tried to boot FreeBSD from a GPT partition with grub2 (no UEFI)?

> In my test layout, /dev/ada0p1 is the freebsd-boot partition and
> /dev/ada0p2 is the freebsd-ufs partition. However grub2 says "invalid
> signature" about both of them:
        
>  grub> set root=(hd0,gpt1)
>  grub> chainloader +1
>  error: invalid signature
>  grub> set root=(hd0,gpt2)
>  grub> chainloader +1
>  error: invalid signature
>  grub>

I think I tried something like that, but it didn't work.

What works, using the SystemRescue CD written to USB stick, is

(type c to go to command line)

set root=(hd1,gpt11)   (or whatever the actual partition number is)
kfreebsd /boot/loader
boot

Tom



More information about the freebsd-questions mailing list