On Thu, Jun 08, 2006 at 08:31:59PM +0000, Didier Wiroth wrote:
> Hello,
> My ntfs amd comaq diag. partition is not in the disklabel.
> Unfortunately I don't know how to add correctly in the disklabel.
> I've read the faq 14.16.1 but it only shows a modification.
>
> Here is my fdisk output, which shows id 0 the ntfs partition:
>
> Disk: wd0 geometry: 12921/240/63 [195365520 Sectors]
> Offset: 0 Signature: 0xAA55
> Starting Ending LBA Info:
> #: id C H S - C H S [ start: size ]
> ------------------------------------------------------------------------
> *0: 07 0 1 1 - 6800 239 63 [ 63: 102831057 ] HPFS/QNX/AUX
> 1: 12 12270 0 1 - 12920 239 63 [ 185522400: 9843120 ] Compaq Diag.
> 2: A6 6801 0 1 - 12269 239 63 [ 102831120: 82691280 ] OpenBSD
> 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
>
> Here is current my disklabel:
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 2097648 102831120 4.2BSD 2048 16384 328 # Cyl 102015
> -104095
> b: 1024128 104928768 swap # Cyl 104096
> -105111
> c: 195371568 0 unused 0 0 # Cyl 0 -193820
> d: 4194288 105952896 4.2BSD 2048 16384 328 # Cyl 105112
> -109272
> e: 1024128 110147184 4.2BSD 2048 16384 328 # Cyl 109273
> -110288
> f: 4194288 111171312 4.2BSD 2048 16384 328 # Cyl 110289
> -114449
> g: 10486224 115365600 4.2BSD 2048 16384 328 # Cyl 114450
> -124852
> h: 4194288 125851824 4.2BSD 2048 16384 328 # Cyl 124853
> -129013
> i: 2097648 130046112 4.2BSD 2048 16384 328 # Cyl 129014
> -131094
> j: 3072384 132143760 4.2BSD 2048 16384 328 # Cyl 131095
> -134142
> k: 50306256 135216144 4.2BSD 2048 16384 328 # Cyl 134143
> -184049
>
>
> What do I have to add to disklabel to be able to access the ntfs and the
> compaq diag partition?
>
> For ntfs something like:
> l: 102831057 63 unknown # Cyl ???????????
>
> I would really appreciate some help.
>
> Thank you very much !
Some noteworthy points:
1. Looks like you ran out of space in the disklabel (or in the
device namespace, or whatever): don't define this many disklabel slices
if you want to see the other partitions (which are typically numbered
from i). [I'm not 100% sure I'm correct here; please flame me, with the
correct answer if possible, if this is not the case.]
2. NTFS is not supported in GENERIC. This usually means the
implementation isn't really ready for prime time yet; you could build a
custom kernel, if you know what you are doing and have read most, if not
all, of FAQ 5.*.
3. I don't know what you want to do with the Compaq diag
partition, but it might not be too useful.
Joachim