From owner-freebsd-questions@FreeBSD.ORG Sun Jul 28 16:50:29 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 ESMTP id 01EE55B0 for ; Sun, 28 Jul 2013 16:50:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9058221C1 for ; Sun, 28 Jul 2013 16:50:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6SGoOKJ009770; Sun, 28 Jul 2013 10:50:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6SGoNPK009767; Sun, 28 Jul 2013 10:50:23 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 28 Jul 2013 10:50:23 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: FreeBSD slices and the Boot Manager In-Reply-To: <20130728163736.cc3f1720.freebsd@edvax.de> Message-ID: References: <20130728080912.c6ce592a.freebsd@edvax.de> <20130728163736.cc3f1720.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 28 Jul 2013 10:50:24 -0600 (MDT) Cc: freebsd-questions@freebsd.org, Conny Andersson X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 16:50:29 -0000 On Sun, 28 Jul 2013, Polytropon wrote: > On Sun, 28 Jul 2013 08:18:39 -0600 (MDT), Warren Block wrote: >> On Sun, 28 Jul 2013, Polytropon wrote: >>> On Sat, 27 Jul 2013 19:39:30 +0200 (CEST), Conny Andersson wrote: >> >>>> A very important question is if sysinstall's option "Install the FreeBSD >>>> Boot Manager" detects that I have a FreeBSD 8.3 and detect it as slice 2 on >>>> disk 1? >>> >>> I'm not sure I'm following you correctly. The sysinstall program >>> is considered obsolete, the new system installer is bsdinstall. >> >> AFAIK, sysinstall is still used in FreeBSD 8.X, and bsdinstall does not >> have a boot manager option anyway. > > Sometimes I'm confusing them, because I usually don't use the > installer and usually use fdisk (if needed), bsdlabel and > newfs. :-) gpart does a lot more than both fdisk and bsdlabel, and is easier to use. :) >>>> So it becomes a boot option when I am rebooting? (Maybe the slice >>>> may come up as ad6s2, because AHCI in FreeBSD 8.4 isn't enabled at the time >>>> of the install.) >> >> Sorry, I don't understand this at all. AHCI should not be involved with >> identifying slices. > > Maybe the required device driver is not part of the 8.x > GENERIC kernel? So for example a drive could come up either > as /dev/ada0 or as /dev/ad6, depending on how the recognition > order and PATA / SATA thing is handled by the system and > its BIOS. Really, it should always be ada, unless someone has built a custom kernel that intentionally uses the old form. That's usually a mistake. (AHCI is a separate, unrelated thing.) > Labels will work independently from wheather the device will be > recognized as ATA disk (for example /dev/ad6s1a being the root disk) > or SATA disk (where /dev/ada6s1 would be the root disk). Yes. Labels don't care about the hardware connection. So they'll continue to work when you take a drive out of a machine and put it in a USB enclosure, for example.