From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 4 17:59:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C03B016A420 for ; Tue, 4 Apr 2006 17:59:23 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79BF843D49 for ; Tue, 4 Apr 2006 17:59:23 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [127.0.0.1] (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id CC36519F2C; Tue, 4 Apr 2006 10:59:21 -0700 (PDT) Message-ID: <4432B3F6.3090504@bitfreak.org> Date: Tue, 04 Apr 2006 10:59:18 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Khaled Hussain References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: cloning a FreeBSD HDD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 17:59:23 -0000 Khaled Hussain wrote: > Thanks for the clarification...at the moment I am trying to set a boot > manager on my disk but am unsure which slice to set as the default boot > selection when using the boot0cfg command. > > boot0cfg -Bv -s? ad2 > > disklabel -r ad0 (on a different bsd system) gives: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 204800 0 4.2BSD 0 0 0 # (Cyl. 0 - 12*) > b: 2104640 204800 swap # (Cyl. 12*- 143*) > c: 117258372 0 unused 0 0 # (Cyl. 0 - > 7298*) > e: 40960 2309440 4.2BSD 0 0 0 # (Cyl. 143*- 146*) > f: 114907972 2350400 4.2BSD 0 0 0 # (Cyl. 146*- > 7298*) > > > Am I correct in assuming that a: is slice 1, b: is slice 2, etc? No. The above is the label inside a single slice. a: is the first partition within that slice. Use fdisk to look at your slices. If you really are getting the above from /dev/ad2 rather than /dev/ad2sN where N is a number from 1 to 4, then it's in dedicated mode and the issue is moot, since there's no slice table.