Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 16:36:20 +0100
From:      Polytropon <freebsd@edvax.de>
To:        saeedeh motlagh <saeedeh.motlagh@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: how install two freebsd9.2 on one disk?
Message-ID:  <20131117163620.b5e6df59.freebsd@edvax.de>
In-Reply-To: <CAN%2BS=WCpT36KpsNh7Yb-of9XNNZQTFq_esKxpq8z1g5TfXbMvQ@mail.gmail.com>
References:  <CAA_1SgF0qwgSLu3J4E3PtuCsvqMMJJDoUb24v2FXhapKgv7k0A@mail.gmail.com> <20131117185150.3207ab60@X220.ovitrap.com> <CAN%2BS=WCpT36KpsNh7Yb-of9XNNZQTFq_esKxpq8z1g5TfXbMvQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Nov 2013 16:51:42 +0330, saeedeh motlagh wrote:
> thanks guys for your useful reply.
> 
>  thanks Polytropon for your complete answer. it helps me a lot. just i
> don't know how use boot manager yet. i create gpt partitions and install 2
> freebsd 9.2 on them (ada0p2 is / for the first OS and ada0p6 is / for the
> second one) but after restart, none of them boot.

You have been missing the boot blocks. :-)



> should i copy pmbr and gptboot by "gpart bootcode" command on ada0?
> (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.

With the "old" method, it's a simple call of fdisk and boot0cfg.
With the "new" method, you need to have a boot partition, for
example ada0p1, which is set active and contains the boot code,
in your case, the boot manager.

Have a look at Warren Block's installation guide and adjust the
bootcode command for the boot manager. See the "EXAMPLES" section
in the "man gpart" manpage.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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