how install two freebsd9.2 on one disk?

Warren Block wblock at
Sun Nov 17 16:09:31 UTC 2013

On Sun, 17 Nov 2013, Polytropon wrote:

> On Sun, 17 Nov 2013 16:51:42 +0330, saeedeh motlagh wrote:
>> should i copy pmbr and gptboot by "gpart bootcode" command on ada0?

Yes, that is required to boot a GPT disk on a BIOS system.

>> (although i do it and nothing change) if not, where is boot manager and how
>> should i use it? i think something should be done about boot partition
>> (ada0p1), don't it? please help me to boot my 2 OS correctly.

This is a good question.  As far as I know, boot0 will only work on real 
MBR disks, and does not understand GPT partitions.  Any time I've needed 
to multiboot, the other operating system can't handle GPT anyway, so MBR 
is required.

So using MBR/bsdlabel partitioning and boot0 is one option.  grub or 
grub2 or whatever they call it now is supposed to be able to handle GPT 
partitions.  I have not tried that.

Another option for GPT is to use the bootme and bootonce flags.  See 

More information about the freebsd-questions mailing list