Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 21:48:29 +0800
From:      Erich Dollansky <erich@alogt.com>
To:        saeedeh motlagh <saeedeh.motlagh@gmail.com>
Cc:        s m <sam.gh1986@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: how install two freebsd9.2 on one disk?
Message-ID:  <20131117214829.6e5e2002@X220.ovitrap.com>
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
Hi,

On Sun, 17 Nov 2013 16:51:42 +0330
saeedeh motlagh <saeedeh.motlagh@gmail.com> 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.
> 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.
> 
I would suggest to use the installer 'bsdinstall' for this. Use option
'auto' to do a complete installation or the option 'partedit' to do
just the partitioning. It should write also the boot code. Check man
gpart for the name of the boot manager.

Erich


> thanks in advance
> SAM
> 
> 
> On Sun, Nov 17, 2013 at 2:21 PM, Erich Dollansky <erich@alogt.com>
> wrote:
> 
> > Hi,
> >
> > On Sun, 17 Nov 2013 13:51:07 +0330
> > s m <sam.gh1986@gmail.com> wrote:
> >
> > > hello every one
> > >
> > > for some reason, i want to install two freebsd9.2 OS on one SSD.
> > > is it possible?? i have problem in partitioning my disk for two
> > > OS. you know there is just one ada0 which can be partitioned.
> > > if i define more partitions on ada0, can i use some of them for
> > > the first OS and the others for second one? if yes, how can i
> > > manage booting? how and where should i install boot manager in
> > > order to manage them in booting time??
> > >
> > > any comments or hints are appreciated
> >
> > it should be possible. You need two containers for the FreeBSD
> > partitions. To get them, you have to start the installer and add
> > partitions manually. Select your installation disk, i.e. ada0. If
> > it is not empty, delete what is there and add the first container
> > (slice) do it using 50% of the disk. Add then inside this slice
> > (ada0s1) the partitions you want. When you start the second
> > installation, use the remaining space. This will result in a second
> > slice (ada0s2) if I remember right.
> >
> > You will need a boot manager. I did not see the question to use one
> > in the installer recently.
> >
> > Erich
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe@freebsd.org"
> >
> 
> 
> 




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