Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Apr 2006 10:59:18 -0700
From:      Darren Pilgrim <darren.pilgrim@bitfreak.org>
To:        Khaled Hussain <khaled@ipbill.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: cloning a FreeBSD HDD
Message-ID:  <4432B3F6.3090504@bitfreak.org>
In-Reply-To: <HCEOIFALKKLBLJPENPNOAENECAAA.khaled@ipbill.com>
References:  <HCEOIFALKKLBLJPENPNOAENECAAA.khaled@ipbill.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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