From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 15:52:23 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 9A78B106567A for ; Wed, 29 Oct 2008 15:52:23 +0000 (UTC) (envelope-from royer.franck@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3958FC2A for ; Wed, 29 Oct 2008 15:52:22 +0000 (UTC) (envelope-from royer.franck@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so27523eyi.7 for ; Wed, 29 Oct 2008 08:52:21 -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:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=ISXVSpJguZWKTPBcS74QEXxx1t0g/3eUrjWMtz2mpkA=; b=VsYLPjzTh4etEM16SKOZj5R802If254FXoSM5wFTF4eX91jvt5b9OT3TR+3Phqs7Lz zJA6Inu2wC9U8afd+zL6Ez/hpk8lqRJiPII6pnvEIE/d/RckgMuPJhAwmH6O9cfIBGN+ kcCRM8RlgvERMIJZM9oPaVUBKzdFzfukAVvv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=kqxi6CNPJrlR3lfAdRdFmqnRwPrkmKUdGZ+tiqczGCq1gcbUzJ4Ju3ZZJd8mPogunx xPVmk9Ku6T1td1cdGvWX0apeBHMQFMMBlPByq6xh/rRkoX0ipuC9A2vqbmj4DfSMVuyJ Wm2+bX3QHBlnI/QcGNJRj4p3zzp8iiCWOVqyU= Received: by 10.210.80.17 with SMTP id d17mr10211979ebb.36.1225295541744; Wed, 29 Oct 2008 08:52:21 -0700 (PDT) Received: from ?192.168.1.68? (host217-43-152-224.range217-43.btcentralplus.com [217.43.152.224]) by mx.google.com with ESMTPS id t2sm118493gve.5.2008.10.29.08.52.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Oct 2008 08:52:20 -0700 (PDT) Message-ID: <490886B3.4070204@free.fr> Date: Wed, 29 Oct 2008 15:52:19 +0000 User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: John Baldwin References: <49059437.4000700@free.fr> <44ljw7eig5.fsf@lowell-desk.lan> <200810291101.29795.jhb@FreeBSD.org> In-Reply-To: <200810291101.29795.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: Franck Royer Cc: Franck Royer , questions@FreeBSD.org 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:52:23 -0000 John Baldwin a écrit : > 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. > > Ok thank you. But actually, it's not what I'm looking for. I use freebsd on a macbook. On this macbook, I already have a gpt, refit, mac os x and some linux partitions. The problem is freebsd, which doesn't recognize partitions after the fourth one (but my gentoo linux see them). Then, I suppose freebsd use the mbr partition table (synchronized from the gpt one using refit) to populate the /dev, but partitions after the fourth, which are those I want to use, are only indexed in the gpt. Finally, I want to force freebsd to use the gpt on my hard drive to allow it to see others partitions. I don't want to destroy my actual gpt, maybe one day, but no right now. Tell me if my english is too bad to be understood. I just want to precise that I use pcvbsd 7.0, so the kernel configuration might be different than the freebsd generic one. Thank you for your answers. Franck