Date: Sun, 17 Nov 2013 09:09:23 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Polytropon <freebsd@edvax.de> Cc: saeedeh motlagh <saeedeh.motlagh@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: how install two freebsd9.2 on one disk? Message-ID: <alpine.BSF.2.00.1311170903010.50907@wonkity.com> In-Reply-To: <20131117163620.b5e6df59.freebsd@edvax.de> References: <CAA_1SgF0qwgSLu3J4E3PtuCsvqMMJJDoUb24v2FXhapKgv7k0A@mail.gmail.com> <20131117185150.3207ab60@X220.ovitrap.com> <CAN%2BS=WCpT36KpsNh7Yb-of9XNNZQTFq_esKxpq8z1g5TfXbMvQ@mail.gmail.com> <20131117163620.b5e6df59.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 gptboot(8).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1311170903010.50907>