From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 15:41:10 2008 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E06681065673 for ; Wed, 29 Oct 2008 15:41:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 85B198FC1C for ; Wed, 29 Oct 2008 15:41:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id m9TFf3Q3036267; Wed, 29 Oct 2008 11:41:04 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: questions@FreeBSD.org Date: Wed, 29 Oct 2008 11:01:29 -0400 User-Agent: KMail/1.9.7 References: <49059437.4000700@free.fr> <44ljw7eig5.fsf@lowell-desk.lan> In-Reply-To: <44ljw7eig5.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810291101.29795.jhb@FreeBSD.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 29 Oct 2008 11:41:04 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8537/Wed Oct 29 09:26:33 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Franck Royer Subject: Re: GPT Support on Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2008 15:41:11 -0000 On Wednesday 29 October 2008 07:42:18 am Lowell Gilbert wrote: > Franck Royer writes: > > > Can I oblige pcbsd to look the gpt table instead of the msdos one ? How > > can I access to my fifth partition ? > > John Baldwin (jhb) has been working on GPT support, but it's still > reported to be a work in progress. It works as far as recognizing > disks over 16TB. It also gets picked up by the geom framework. I'm > not sure about booting, although there are tantalizing hints in the > manual pages. GPT booting works just fine on 6.x and later. Using the gpt(8) utility you basically do: # gpt create foo0 # gpt boot foo0 The second command creates a special boot partition in /dev/foo0p1. You can then add partitions: # gpt add -t ufs foo0 # newfs /dev/foo0p2 gpart(8) in HEAD works similarly. The one thing lacking is that sysinstall/libdisk doesn't handle GPT, so there isn't a nice way to do it during installation. -- John Baldwin