Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2008 10:57:53 +0200
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Booting from gpt on i386/amd64?
Message-ID:  <3a142e750808300157ld976e81hd68cdabb0f587bf5@mail.gmail.com>
In-Reply-To: <20080829213208.GA41069@wep4017.physik.uni-wuerzburg.de>
References:  <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> <20080829213208.GA41069@wep4017.physik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/29/08, Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> wrote:
> On Fri, Aug 29, 2008 at 11:16:07PM +0200, Paul B. Mahol wrote:
>> On 8/29/08, Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> 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.
>



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