Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 11:01:29 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        questions@FreeBSD.org
Cc:        Franck Royer <royer.franck@gmail.com>
Subject:   Re: GPT Support on Freebsd
Message-ID:  <200810291101.29795.jhb@FreeBSD.org>
In-Reply-To: <44ljw7eig5.fsf@lowell-desk.lan>
References:  <49059437.4000700@free.fr> <44ljw7eig5.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 October 2008 07:42:18 am Lowell Gilbert wrote:
> Franck Royer <royer.franck@gmail.com> 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 <other params like size if needed> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810291101.29795.jhb>