From owner-freebsd-questions@freebsd.org Tue May 8 06:52:05 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE5BAFA919A for ; Tue, 8 May 2018 06:52:05 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BB977B6DD for ; Tue, 8 May 2018 06:52:04 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([74.134.208.22]) by cmsmtp with ESMTP id FwR3fPq2MDatMFwR5fDNJn; Tue, 08 May 2018 06:49:21 +0000 Date: Tue, 08 May 2018 06:49:08 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: grub2, FreeBSD, GPT References: <20180508055027.GA8745@admin.sibptus.transneft.ru> X-CMAE-Envelope: MS4wfGfEH6iccS09170JudaJaSABTBVRehZrfUIeFP1PaaDHYQ96b1K9ojCUsicbKW80qEj/cJkhTl6fg5RJ89T3QopNywPM5n6JNvCQkokbys/l0bnOW9Vw 4/zCTO6BPood8Gig/xAVKjHC+j4atD9OM+oePFlmenCpOwOypnUBnOX2gCW7GeAhYG2UKS/7eh1SLA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2018 06:52:05 -0000 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