From owner-freebsd-current@FreeBSD.ORG Sat Aug 30 08:57:53 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 C3EA21065674 for ; Sat, 30 Aug 2008 08:57:53 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 94C658FC0C for ; Sat, 30 Aug 2008 08:57:53 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1596749rvf.43 for ; Sat, 30 Aug 2008 01:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kCD32MixX8WgPfpPjzmeZHG7up95tV9B0Qrb5yg+pcw=; b=ZFf5Reo8iAj90XPUj1R46z2aU+dckJnnzWB7w4dTsI5ioDKiX+xdVIl0HbnZBf4iLY 5tFwBk9P/p4YVekZReEzdAdNd/VHLzAxEemQ/HZAXo8vrULLZwotsooAefJiWjXpV2A0 V1Lzs0qm906gAjV+pwd4Epi/6HRedKvUiGpBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=V4UUsYs6sN9df7LUXQ6ODfnjHaZp4K2UzrIUj7XpMj0ZqC3ozyrksXQ1msVeiTO7dv YwXTXrUY5O1UbGtA8yRdbOyE9x8bD34BcZzPShKvH7TvG5lJTczk/i9VRRJoWCeqoXqj 9YGo+Z7CO12/CLtKXYaujmyT7ylOFO19fNwbk= Received: by 10.141.115.6 with SMTP id s6mr2027771rvm.239.1220086673214; Sat, 30 Aug 2008 01:57:53 -0700 (PDT) Received: by 10.141.86.19 with HTTP; Sat, 30 Aug 2008 01:57:53 -0700 (PDT) Message-ID: <3a142e750808300157ld976e81hd68cdabb0f587bf5@mail.gmail.com> Date: Sat, 30 Aug 2008 10:57:53 +0200 From: "Paul B. Mahol" To: "Alexey Shuvaev" In-Reply-To: <20080829213208.GA41069@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> <20080829213208.GA41069@wep4017.physik.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: Sat, 30 Aug 2008 08:57:53 -0000 On 8/29/08, Alexey Shuvaev wrote: > 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] That is different from "booting from gpt" At least I think that you must have GEOM_PART_MBR to boot from gpt. > > 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) Ask marcel@ for more info. > (and the kernel too). > > Thanks for the reply, > Alexey. >