Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2018 16:34:27 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: grub2, FreeBSD, GPT
Message-ID:  <20180508093427.GA21489@admin.sibptus.transneft.ru>
In-Reply-To: <auto-000040007407@relay2.tomsk.ru>
References:  <20180508055027.GA8745@admin.sibptus.transneft.ru> <auto-000040007407@relay2.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Mueller wrote:
> 
> > 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

Thank you, this worked for me.

However, FreeBSD's own grub2 (from ports) seems buggy. I've just
submitted a bug report:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228062

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180508093427.GA21489>