Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 13:32:39 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Franck Royer <royer.franck@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: GPT Support on Freebsd
Message-ID:  <200810291332.40102.jhb@freebsd.org>
In-Reply-To: <490886B3.4070204@free.fr>
References:  <49059437.4000700@free.fr> <200810291101.29795.jhb@FreeBSD.org> <490886B3.4070204@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 October 2008 11:52:19 am Franck Royer wrote:
> John Baldwin a =E9crit :
> > On Wednesday 29 October 2008 07:42:18 am Lowell Gilbert wrote:
> >  =20
> >> Franck Royer <royer.franck@gmail.com> writes:
> >>
> >>    =20
> >>> Can I oblige pcbsd to look the gpt table instead of the msdos one ? H=
ow
> >>> can I access to my fifth partition ?
> >>>      =20
> >> 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.
> >>    =20
> >
> > GPT booting works just fine on 6.x and later.  Using the gpt(8) utility=
=20
you=20
> > basically do:
> >
> > # gpt create foo0
> > # gpt boot foo0
> >
> > The second command creates a special boot partition in /dev/foo0p1.  Yo=
u=20
can=20
> > 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=20
> > sysinstall/libdisk doesn't handle GPT, so there isn't a nice way to do =
it=20
> > during installation.
> >
> >  =20
> Ok thank you. But actually, it's not what I'm looking for.
>=20
> 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).
>=20
> 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.
>=20
> Finally, I want to force freebsd to use the gpt on my hard drive to
> allow it to see others partitions.
>=20
> I don't want to destroy my actual gpt, maybe one day, but no right now.
>=20
> Tell me if my english is too bad to be understood.
>=20
> I just want to precise that I use pcvbsd 7.0, so the kernel
> configuration might be different than the freebsd generic one.

What device entries do you see in /dev?

=2D-=20
John Baldwin



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