From owner-freebsd-questions@FreeBSD.ORG Sun Nov 17 13:48:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 352C0FDD for ; Sun, 17 Nov 2013 13:48:39 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 13FC62EDD for ; Sun, 17 Nov 2013 13:48:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=P548fpjZGDPSHjb6EazeWj8npJCp0ZOiVZ9AEETBST4=; b=Pmxh6sH5niqAKLe14pVUrRyDL6XDaWF4+B5vKR05PVd7yWW1JdAG+tY9KIRUn9o6RYZVC9cRC8OvPMJlqco+lcoKTJ7j4C9xJvPyKf+0f3tVQDnoER1LWmmV8sLe5eeGgVQlg+QBeV8dYdhWW6tI3yG1EFgOxSXjHP2cLVOfOKs=; Received: from [182.11.74.231] (port=38887 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1Vi2iL-0040lt-8l; Sun, 17 Nov 2013 06:48:38 -0700 Date: Sun, 17 Nov 2013 21:48:29 +0800 From: Erich Dollansky To: saeedeh motlagh Subject: Re: how install two freebsd9.2 on one disk? Message-ID: <20131117214829.6e5e2002@X220.ovitrap.com> In-Reply-To: References: <20131117185150.3207ab60@X220.ovitrap.com> Organization: ALO Green Technologies X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 13:48:39 -0000 Hi, 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. > 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 > wrote: > > > Hi, > > > > On Sun, 17 Nov 2013 13:51:07 +0330 > > s m 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" > > > > >