From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 21:32:11 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA9F1065670 for ; Fri, 29 Aug 2008 21:32:11 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id D9CB98FC1A for ; Fri, 29 Aug 2008 21:32:10 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 29B6C198E4D; Fri, 29 Aug 2008 23:32:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 1D4E4198E4B; Fri, 29 Aug 2008 23:32:10 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 042E5198E4A; Fri, 29 Aug 2008 23:32:10 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008082923320877-18322 ; Fri, 29 Aug 2008 23:32:08 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Fri, 29 Aug 2008 23:32:08 +0200 From: "Alexey Shuvaev" Date: Fri, 29 Aug 2008 23:32:08 +0200 To: "Paul B. Mahol" Message-ID: <20080829213208.GA41069@wep4017.physik.uni-wuerzburg.de> References: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> MIME-Version: 1.0 In-Reply-To: <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/29/2008 11:32:08 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/29/2008 11:32:09 PM, Serialize complete at 08/29/2008 11:32:09 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: Booting from gpt on i386/amd64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2008 21:32:11 -0000 On Fri, Aug 29, 2008 at 11:16:07PM +0200, Paul B. Mahol wrote: > On 8/29/08, Alexey Shuvaev wrote: > > Hello list! > > > > I have tried to install a system with pure gpt partitioning, > > but haven't managed to boot from it. > > > > Is it my local problem? > > What is the correct procedure of preparing gpt-only BIOS-bootable system? > > > > You have all following lines (from gpart manual) in your >> custom << kernel? > > options GEOM_PART_APM > options GEOM_PART_BSD > options GEOM_PART_GPT > options GEOM_PART_MBR > options GEOM_PART_PC98 > options GEOM_PART_VTOC8 > No, I am using GENERIC kernel. Is it neccessary to have *ALL* of them? I mean GENERIC have essential ones: > grep GEOM GENERIC options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization Man page also says: [snip] To add support for the disk partitioning GEOM class, place one or more of the following lines in your kernel configuration file: [snip] I can compile custom kernel with all the above options, but it seems to me that the system freezes before passing execution to loader(8) (and the kernel too). Thanks for the reply, Alexey.